What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 23:15:02
javascript regex french phone number
function regexPhoneNumber(str) { const regexPhoneNumber = /^((\+)33|0)[1-9](\d{2}){4}$/; if (str.match(regexPhoneNumber)) { return true; } else { return false; } } let phoneNumber = "+33777777777"; console.log(regexPhoneNumber(phone... Add solution -
PHP 2022-03-27 23:10:46
php header 500
header("HTTP/1.0 500 Internal Server Error"); Add solution -
Shell/Bash 2022-03-27 23:10:09
apache2 mod_jk proxy to tomcat connector
# Add this inside your Apache2 virtualhost # Proxy to Tomcat via AJP Connector <IfModule mod_jk.c> JkMount /* ajp13_worker JkMount / ajp13_worker </IfModule> # Change / to /appname/* to proxy to specified app under tomcat Add solution -
-
PHP 2022-03-27 23: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
Best helpers
Ranking is empty