See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| # open terminal | |
| cmd - return : open -n -a "Terminal" | |
| # open chrome | |
| cmd + shift - return : open -n -a "Google Chrome" | |
| # moves focus between windows in the current focused display | |
| alt - h : yabai -m window --focus west | |
| alt - j : yabai -m window --focus south | |
| alt - k : yabai -m window --focus north |
See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| <?php | |
| /** | |
| * Catch php output buffering data over jQuery AJAX | |
| * | |
| * @author: Sohel Rana (me.sohelrana@gmail.com) | |
| * @author url: https://blog.sohelrana.me | |
| * @link: https://blog.sohelrana.me/catch-php-output-buffering-data-jquery-ajax/ | |
| * @licence MIT | |
| */ |
| /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 | |
| /sbin/mkswap /var/swap.1 | |
| /sbin/swapon /var/swap.1 |
| git rm -r --cached one-of-the-directories | |
| git commit -m "Remove duplicated directory" | |
| git push origin master |
A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe.
chmod +x then drag and drop the file on the Terminal. You should have something like chmod +x reset_mamp4.sh. Press Enter to run it.reset_mamp4.sh) then pressing Enter.Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
7x x top-1m.csv.zip