I hereby claim:
- I am viktorsteinwand on github.
- I am viktorsteinwand (https://keybase.io/viktorsteinwand) on keybase.
- I have a public key whose fingerprint is 8828 2E62 2617 18E1 06E1 ADF2 B0B7 0375 02D9 FB63
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| web_service='nginx' | |
| config_file="/usr/local/etc/le-renew-webroot.ini" | |
| le_path='/opt/letsencrypt' | |
| exp_limit=30; | |
| if [ ! -f $config_file ]; then | |
| echo "[ERROR] config file does not exist: $config_file" |
| docker-machine-nfs default --shared-folder=/Users --shared-folder=/private/var/folders |
| # Install gnu-sed via brew | |
| brew install gnu-sed | |
| # using it | |
| gsed | |
| Please note: if installing with option "--default-names" it will replaces the default OS X sed command in the shell |
| iconv -f WINDOWS-1252 -t UTF-8 filename.txt |
| docker-machine create --driver virtualbox --virtualbox-disk-size "50000" -virtualbox-memory "4096" --virtualbox-cpu-count "4" default |
| # This shell script can be used for easier accessing the composer/composer docker image (https://hub.docker.com/r/composer/composer/) | |
| Create new composer file | |
| ```sh | |
| sudo vim /usr/local/bin/composer | |
| ``` | |
| The contents of the file will look like this: | |
| ```sh |
| If you have a tag named 'v1.0.1' then you need just do following: | |
| git tag -d v1.0.1 | |
| git push origin :refs/tags/v1.0.1 |
On the mac, edit /etc/exports and add a line like so:
"/Users/<username>/develop/" -network 10.211.55.0 -mask 255.255.255.0 -mapall=<username>
The network and mask parameters indicate what hosts we'll share with; in my case, this network is used by the parallels shared network adapter; yours may differ.
You may need to reload nfsd:
sudo nfsd update
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh