I hereby claim:
- I am thiagozs on github.
- I am thiagozs (https://keybase.io/thiagozs) on keybase.
- I have a public key whose fingerprint is 0D53 73B0 DC7B F005 145B 6F36 C16F 5FEB 7D28 A042
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
cutycapt --url=$1 --out=$2 --min-height=1680 --min-width=1050 --js-can-open-windows=on --print-backgrounds=on --delay=2000 --user-agent="Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0" |
rename 's/OLD/NEW/' FILES | |
rename 's/picture/image/' picture*.jpg |
/** | |
* FileController | |
* | |
* @description :: Server-side logic for managing files | |
* @help :: See http://links.sailsjs.org/docs/controllers | |
*/ | |
var async = require('async'); | |
module.exports = { |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: fakes3 | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh | |
source ~/.profile | |
nvm ls-remote | |
nvm install 0.11.14 | |
nvm alias default 0.11.14 |
#!/bin/bash | |
HOUR=3600 | |
REDISCLI=/home/zilli/redis/redis-cli | |
HOST=10.0.0.125 | |
$REDISCLI -h $HOST KEYS "$1" | | |
while read LINE; | |
do | |
echo "SET EXPIRE $LINE"; |
var S = require('string'); | |
var moment = require('moment'); | |
var util = require('util'); | |
var im = require('node-imagemagick'); | |
var _ = require("underscore"); | |
var sizes = [{ | |
width: 200, | |
name: '-small' | |
}, { |
var moment = require('moment'); | |
//esta semana | |
var week = moment().week(); | |
var startweek = moment().startOf('week').format("YYYY-MM-DD"); | |
var endweek = moment().endOf('week').format("YYYY-MM-DD"); | |
//semana passada | |
var week = moment().subtract(1, 'weeks').week(); | |
var laststartweek = moment().subtract(1, 'weeks').startOf('week').format("YYYY-MM-DD"); |
#!/bin/bash | |
nm-tool | grep DNS |