git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| """ | |
| TCP proxy which limits which commands may be forwarded to a MongoDB server | |
| Use to enforce read/write/insert-only restrictions | |
| Based on protocol docs from the MongoDB wiki: | |
| http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol | |
| """ | |
| import struct |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: BitCoinMining | |
| # Required-Start: $local_fs $network | |
| # Required-Stop: $local_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # X-Interactive: false | |
| # Short-Description: Start/stop BitCoing Mining poclbm-mod | |
| ### END INIT INFO |
| git archive --format zip --output /full/path/to/zipfile.zip master |
| function debugAccess(obj, prop, debugGet){ | |
| var origValue = obj[prop]; | |
| Object.defineProperty(obj, prop, { | |
| get: function () { | |
| if ( debugGet ) | |
| debugger; | |
| return origValue; | |
| }, |
| curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
| server { | |
| listen 80; | |
| server_name www.yourdomain.com; | |
| return 301 $scheme://yourdomain.com$request_uri; | |
| } | |
| server { | |
| listen 80; | |
| root /var/www/yourdomain.com; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |