Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
| SHOW FULL COLUMNS FROM `table_name` |
| ALTER TABLE `table_name` CHANGE `column_to_alter` `column_to_alter` INT( 11 ) COMMENT 'your_comment_here' |
| //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']), |
Getting started:
Related tutorials:
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
composer create-project --prefer-dist laravel/laravel [app_name] "5.2.*"
| # 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 |
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> |
| for file in "."/* | |
| do | |
| curl -X POST https://content.dropboxapi.com/2/files/upload --header "Authorization: Bearer <token>" \ | |
| --header "Dropbox-API-Arg: {\"path\": \"/folder1/folder2/${file:2}\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" \ | |
| --header "Content-Type: application/octet-stream" \ | |
| --data-binary @${file:2} | |
| done |