Impulse Solutions | Code Snippets

All Snippets

PHP Find Indian Pincode From String BASH Installing Directus Via NPM PHP Get Round Off Amount PHP Get amount in words PHP Pincode to Pincode Distance PHP Round amount to 2 decimal place PHP Convert Date To Format PHP Random String MYSQL Find Duplicate Record From MYSQL Database PHP Number To Alphabet PHP Generate String PHP MYSQL Date To Date Format PHP Time Elapsed String PHP Get Day Name PHP Find Value In Array PHP Date Difference PHP Is Boolean BASH Change Folder Permission In CentOS BASH Allow Remote MYSQL PHP Generate Height PHP Generate Weight PHP Adult Age Date HTML Maintenance Mode

View Code Snippet [BASH]

Allow Remote MYSQL

                                // Example of whitelisting IP from the command line
csf -a 10.10.23.124 "mysql remote connection"


//Temp allow IP for 24h
csf -ta 86400 10.10.23.124 "mysql remote connection"