Install Golang 1.9:
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.9.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile
If already installed old golang with apt-get:
| rofi.kb-row-up: Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab | |
| rofi.kb-row-down: Down,Control+j | |
| rofi.kb-accept-entry: Control+m,Return,KP_Enter | |
| rofi.terminal: mate-terminal | |
| rofi.kb-remove-to-eol: Control+Shift+e | |
| rofi.kb-mode-next: Shift+Right,Control+Tab,Control+l | |
| rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab,Control+h | |
| rofi.kb-remove-char-back: BackSpace |
| #!/bin/bash | |
| # This uses gpg to encrypt every file in a directory as separate | |
| # encrypted files | |
| # Usage | |
| # ./encrypt-all.sh ./dir-of-files-to-encrypt "PASSPHRASE" | |
| FILES="$1" | |
| PASSPHRASE="$2" |
| wget https://storage.googleapis.com/golang/go1.10.1.linux-armv6l.tar.gz | |
| sudo tar -C /usr/local -xvf go1.10.1.linux-armv6l.tar.gz | |
| cat >> ~/.bashrc << 'EOF' | |
| export GOPATH=$HOME/go | |
| export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin | |
| EOF | |
| source ~/.bashrc |
| WEBVTT | |
| 00:00:00.500 --> 00:00:02.000 | |
| The Web is always changing | |
| 00:00:02.500 --> 00:00:04.300 | |
| and the way we access it is changing |
| # <type>(<scope>): (If applied, this commit will) <subject> | |
| # feat(login): add password enforcement rules | |
| # |<---- Try To Limit Each Line to a Maximum Of 100 Characters ---->| | |
| # <body> | |
| # |<---- Try To Limit Each Line to a Maximum Of 100 Characters ---->| | |
| # <footer> |
Install Golang 1.9:
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.9.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile
If already installed old golang with apt-get:
| /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app="http://www.google.de" |
| Follow the WORKAROUND: | |
| 1. Add a comand to /etc/rc.local, add the following line above "exit 0": | |
| setpci -s 00:1c.2 0x50.B=0x41 | |
| 2. Add the same comand to /etc/apm/resume.d/21aspm (which does not exist yet): | |
| setpci -s 00:1c.2 0x50.B=0x41 | |
| 3. Add the following to /etc/modprobe.d/sdhci.conf: | |
| options sdhci debug_quirks2=4 | |
| 4. Re-generate initrd: | |
| sudo update-initramfs -u -k all | |
| 5. Reboot or reload sdhci module: |
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.
| " Strip the newline from the end of a string | |
| function! Chomp(str) | |
| return substitute(a:str, '\n$', '', '') | |
| endfunction | |
| " Find a file and pass it to cmd | |
| function! DmenuOpen(cmd) | |
| let fname = Chomp(system("git ls-files | rofi -dmenu -i -l 20 -p " . a:cmd)) | |
| if empty(fname) | |
| return |