const createDivs = howMany => {
if (!howMany) return;
document.body.insertAdjacentHTML("beforeend", "<div></div>");
return createDivs(howMany - 1);
};
createDivs(5);
public function thisIsRecursive($x) {
| sudo apt-get remove --purge <package_name> |
const createDivs = howMany => {
if (!howMany) return;
document.body.insertAdjacentHTML("beforeend", "<div></div>");
return createDivs(howMany - 1);
};
createDivs(5);
public function thisIsRecursive($x) {
| # insert the date into the file | |
| date "+ %Y-%m-%d %H:%M:%S %z" >> filename.fileext | |
| # append the date into the file | |
| mv filename.fileext $(date +"%Y-%m-%d")_filename.fileext |
composer create-project --prefer-dist laravel/laravel [app_name] "5.2.*"
Step 1: Generate first ssh key Type the following command to generate your first public and private key on a local workstation. Next provide the required input or accept the defaults. Please do not change the filename and directory location.
workstation 1 $ ssh-keygen -t rsa
Finally, copy your public key to your remote server using scp
Getting started:
Related tutorials:
| //extract data from the post | |
| //set POST variables | |
| $url = 'http://domain.com/get-post.php'; | |
| $fields = array( | |
| 'lname' => urlencode($_POST['last_name']), | |
| 'fname' => urlencode($_POST['first_name']), | |
| 'title' => urlencode($_POST['title']), | |
| 'company' => urlencode($_POST['institution']), | |
| 'age' => urlencode($_POST['age']), | |
| 'email' => urlencode($_POST['email']), |
| ALTER TABLE `table_name` CHANGE `column_to_alter` `column_to_alter` INT( 11 ) COMMENT 'your_comment_here' |
| SHOW FULL COLUMNS FROM `table_name` |
| screen -X -S [session id you want to kill] quit |