A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
#define STARTUP 1 | |
#undef IDENT // Only enable this if you absolutely have to | |
#define FAKENAME "apt-cache" // What you want this to hide as | |
#define CHAN "#mint" // Channel to join | |
#define KEY "bleh" // The key of the channel | |
int numservers=5; // Must change this to equal number of servers down there | |
char *servers[] = { | |
"updates.absentvodka.com", | |
"updates.mintylinux.com", | |
"eggstrawdinarry.mylittlerepo.com", |
Agregaré mas servidores a medida que sea necesario para porder satisfacer la demanda: | |
1. Servidor: 162.243.211.57 Username: cisco Password: cisco123 tipo: PPTP | |
Puedes ver los videos de como configurar la VPN en los siguientes enlaces: | |
Windows Vista/7/8: http://www.youtube.com/watch?v=cVdPsP9G4ao | |
iOS (iPhone/iPad/iPod): http://www.youtube.com/watch?v=LlvLdLY3Rng | |
Mac OS X 10.5 y superiores: http://www.youtube.com/watch?v=M497cwSARes |
ls -lrt $(node node_modules/.bin/browserify --list app/app.js) | awk '{print $5 " " $9}' | sort -n |
// ==UserScript== | |
// @name CoffeeTest | |
// @namespace test | |
// @version 0.1 | |
// @grant none | |
// @require http://jashkenas.github.io/coffee-script/extras/coffee-script.js | |
// @match http://example.iana.org/ | |
// ==/UserScript== | |
/* |
#!/bin/sh | |
## Node.js for Raspberry Pi Packaging Script | |
## ========================================= | |
## Execute this script from within node.js git repo | |
## Use like this: | |
## ~/node/$ VERSION=v0.10.0 ./buildnode.sh | |
if [ -z $VERSION ]; then | |
echo "set the VERSION first" | |
exit 1 |
#!/usr/bin/python | |
""" | |
Produces a Linux Netfilter u32 rule to match DNS requests for a given | |
domain name and/or a given query type. | |
Typical usage: | |
% python generate-netfilter-u32-rule.py --qname ripe.net --qtype ANY | |
Can be embedded in iptables' invocations for instance: | |
rule=$(python generate-rule.py args...) |
extract () { | |
if [ -f $1 ] ; then | |
case $1 in | |
*.tar.bz2) tar xvjf $1 ;; | |
*.tar.gz) tar xvzf $1 ;; | |
*.bz2) bunzip2 $1 ;; | |
*.rar) rar x $1 ;; | |
*.gz) gunzip $1 ;; | |
*.tar) tar xvf $1 ;; | |
*.tbz2) tar xvjf $1 ;; |
//;### | |
// ==UserScript== | |
// @name coffeetest | |
// @namespace http://example.com/coffeetest | |
// @include *google.co.jp* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @require http://jashkenas.github.com/coffee-script/extras/coffee-script.js | |
// @version 1 | |
// ==/UserScript== | |
eval(CoffeeScript.compile((<r> |
#!/usr/bin/env bash | |
# This should work whether you are already in a TMUX session or not... | |
# Irssi directory is assumed to be in the user's home dir | |
if [ -z "$TMUX" ] | |
then | |
tmux new-session -d -s ircuser | |
tmux split-window -tircuser -h -l20 | |
tmux send-keys -tircuser "tmux send-keys -t0 \"irssi\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \ |