You can post a json file with curl like so:
curl -X POST -H "Content-Type: application/json" -d @FILENAME DESTINATION
so for example:
| nginx/ | |
| !nginx/.gitkeep | |
| !nginx/logs/.gitkeep | |
| src/ | |
| tmp/ |
| #!/bin/bash | |
| # Usage | |
| # First create an encrypted password to be used as connection pass | |
| # and pass as a parameter with the script. To create use: slappasswd | |
| # Clean packages | |
| sudo yum clean all | |
| # Install openldap as service manager | |
| sudo yum -y install openldap-servers openldap-clients |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
(A Russian translation of this article can be found here, contributed by Timur Demin.)
| # You will need latest NVIDIA drivers installed. At the time of writing, version is 331.20. | |
| # On ubuntu 13.10, it looks like this: | |
| sudo add-apt-repository ppa:xorg-edgers/ppa | |
| sudo apt-get update | |
| sudo apt-get install nvidia-331 | |
| # Now we need to install bumblebee: | |
| sudo add-apt-repository ppa:bumblebee/stable | |
| sudo apt-get install bumblebee bumblebee-nvidia bbswitch-dkms |
| server { | |
| # Listen on port 81 | |
| listen 81; | |
| # Server name being used (exact name, wildcards or regular expression) | |
| # server_name phpmyadmin.my; | |
| root /usr/share/phpmyadmin; |
| # Path to your oh-my-zsh configuration. | |
| ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="custom" | |
| # Example aliases |
| #!/bin/bash | |
| usage() | |
| { | |
| cat << EOF | |
| usage: $0 options | |
| This script set ownership for all table, sequence and views for a given database | |
| Credit: Based on http://stackoverflow.com/a/2686185/305019 by Alex Soto |
Phabricator style for stylish (applicable to stylebot and others if you remove the moz declarations) to make it more space efficient.
See https://userstyles.org/styles/112977/wikimedia-phabricator-condensed