git update-index --assume-unchanged -- <file>
git update-index --no-assume-unchanged <file>
/*jshint node: true, strict: true*/ | |
'use strict'; | |
var crypto = require('crypto'); | |
module.exports = { | |
algo :'bf-ecb', | |
encoding :'utf8', | |
input_encoding: 'base64', | |
hashIt: function ( pass, salt ) { |
#!/bin/bash | |
PATH=/usr/local/git/bin:$PATH | |
export PATH | |
source /usr/local/git/contrib/completion/git-prompt.sh | |
MAGENTA="\[\033[0;35m\]" | |
PURPLE="\[\033[1;35m\]" | |
YELLOW="\[\033[1;33m\]" |
#!/bin/bash | |
# By John Mark Perocho | |
# PixelTracer 2015 | |
# This is a script use to backup wordpress app in webfaction | |
# Usage: backup [FOLDER LOCATION] -optional [NAME OF TAR FILE] | |
path=${1%%+(/)} | |
tarname=$2 | |
pathname=$(echo $1 | sed -r 's/[\.\/]//g') | |
tarit () { |
# Besure to comment auth=true In /etc/mongod.conf. | |
# Start the mongod or mongos instance without the authorization | |
$ sudo service mongod start | |
# Start mongo | |
$ mongo | |
# Inside mongo run the following | |
# Create admin user |
$ npm install -g node-gyp | |
$ npm update |
location / { | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarder-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_set_header X-NginX-Proxy true; | |
proxy_pass http://127.0.0.1:3000; | |
proxy_redirect off; | |
} |
0x37696e2679D67d0A3c7709a49483FC2FBcd7efF2 |