What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-27 22:10:02
wp .htaccess example
# BEGIN WordPress RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END Word... Add solution -
PHP 2022-03-27 21:05:06
laravel schedule run
// Settng Cron in AWS // type command "crontab -e" and paste the below formatted line * * * * * /pathToYourPhp /pathToArtisan/artisan schedule:run >> /dev/null 2>&1 // for example * * * * * /usr/bin/php7.4 /var/www/html/testproject/... Add solution -
PHP 2022-03-27 15:55:01
bindparam php
<?php /* Exécution d'une requête préparée en liant des variables PHP */ $calories = 150; $couleur = 'rouge'; $sth = $dbh->prepare('SELECT nom, couleur, calories FROM fruit WHERE calories < ? AND couleur = ?'); $... Add solution -
Shell/Bash 2022-03-27 09:20:25
laravel create migration
php artisan make:migration create_users_table Add solution -
Javascript 2022-03-27 07:35:02
compress string javascript
function en(c){var x='charCodeAt',b,e={},f=c.split(""),d=[],a=f[0],g=256;for(b=1;b<f.length;b++)c=f[b],null!=e[a+c]?a+=c:(d.push(1<a.length?e[a]:a[x](0)),e[a+c]=g,g++,a=c);d.push(1<a.length?e[a]:a[x](0));for(b=0;b<d.length;b++)d[b]=S... Add solution
Best helpers
Derek Kaplan
+5
Sqlsourcerer
+5
Ken N.
+5
Rene Duchamp
+5
Susette87
+5
Tanveer Ali
+5
Andrew Besag
+5
Bridget W.
+5
Haidy Kassem
+5
Jwp36
+5