Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
#!/bin/bash | |
#On RaspberryPi run | |
#wget http://goo.gl/QaXLfr -O btsync-install | |
#sudo chmod +x btsync-install | |
#sudo btsync-install | |
cd /home/bananapi | |
mkdir BTSync | |
chown bananapi:bananapi BTSync |
Gandi.net ssl certificate working with haproxy | |
In one file concatenate the certifcate with the private key (domain.pem in the example) | |
In other file just the intermediate ceritificate (gandi.ca.pem in the example) then in your haproxy.cfg | |
bind *:443 ssl crt /home/.ssh/domain.pem ca-file /home/.ssh/gandi.ca.pem | |
frontend https-in | |
bind *:443 ssl crt /home/.ssh/domain.pem ca-file /home/.ssh/gandi.ca.pem | |
timeout client 1h |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |