links for old versions of Docker for Mac
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
| #!/bin/bash | |
| # source: https://gist.github.com/francoisromain/58cabf43c2977e48ef0804848dee46c3 | |
| # and another script to delete the directories created by this script | |
| # project-delete.sh: https://gist.github.com/francoisromain/e28069c18ebe8f3244f8e4bf2af6b2cb | |
| # Call this file with `bash ./project-create.sh project-name` | |
| # - project-name is mandatory | |
| # This will creates 4 directories and a git `post-receive` hook. |
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
| function fadeOut(el){ | |
| el.style.opacity = 1; | |
| (function fade() { | |
| if ((el.style.opacity -= .1) < 0) { | |
| el.style.display = "none"; | |
| } else { | |
| requestAnimationFrame(fade); | |
| } | |
| })(); |
| #!/usr/bin/env zsh | |
| sudo rm -f /usr/bin/node | |
| sudo rm -f /usr/bin/npm | |
| sudo ln -s $(which node) /usr/bin/ | |
| sudo ln -s $(which npm) /usr/bin/ |
| # Redis Cheatsheet | |
| # All the commands you need to know | |
| redis-server /path/redis.conf # start redis with the related configuration file | |
| redis-cli # opens a redis prompt | |
| # Strings. |
Reference(s):
http://www.sourcegear.com/diffmerge/downloads.php - get the installer version, NOT the dmg version
Lsyncd is a tool used to keep a source directory in sync with other local or remote directories. It is a solution suited keeping directories in sync by batch processing changes over to the synced directories.
So the generic use case is to keep a source directory in sync with one or more local and remote directories.
| <figure id="bridgeContainer"> | |
| <canvas id="bridge" width="750" height="465"></canvas> | |
| <figcaption>Downtown Calgary in 2013 and 1943; mouse down or touch on photo to reveal</figcaption> | |
| </figure> |
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.
| # ban & send a notification on slack | |
| action_with_slack_notification = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] | |
| slack[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s", sendername="%(sendername)s"] | |
| # Choose default action. To change, just override value of 'action' with the | |
| # interpolation to the chosen action shortcut (e.g. action_mw, action_mwl, etc) in jail.local | |
| # globally (section [DEFAULT]) or per specific section | |
| action = %(action_with_slack_notification)s |