-
Get the deploy URL from Forge (or other PaaS)
-
Create a dotfile in the root of your project, like
.forge, and place the URL in that file -
Add the file from step 2 to your
.gitignore -
Add the following to your
.zshrcor.bashrc, etc.function deploy() { xargs curl -I < .forge & }
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="u-debug-size"> | |
| <div id="u-debug-size__inner"></div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/jakubroztocil/httpie | |
| export FIRE='Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI' | |
| http -v PUT :8000/profile "$FIRE" email=bob@aol.com avatar=http://google.com age=33 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Intervention\Image\Filters\FilterInterface; | |
| /** | |
| * A simple filter to get the predominant color from an image using the | |
| * Intervention library (http://image.intervention.io). | |
| * | |
| * Usage with no options: | |
| * $image = Image::make($file); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copy a line | |
| yy | |
| # Delete a line | |
| dd | |
| # Past line AFTER | |
| p | |
| # Past line BEFORE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Find and delete all files old than 3 days | |
| `find . -name "*.sql.gz" -mtime +3 -delete` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export PS1="\w 🎺 : " |
NewerOlder