This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery TextChange Plugin | |
* http://www.zurb.com/playground/jquery-text-change-custom-event | |
* | |
* Copyright 2010, ZURB | |
* Released under the MIT License | |
*/ | |
(function ($) { | |
$.event.special.textchange = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef hub | |
# Zsh will source this file when attempting to autoload the "_hub" function, | |
# typically on the first attempt to complete the hub command. We define two new | |
# setup helper routines (one for the zsh-distributed version, one for the | |
# git-distributed, bash-based version). Then we redefine the "_hub" function to | |
# call "_git" after some other interception. | |
# | |
# This is pretty fragile, if you think about it. Any number of implementation | |
# changes in the "_git" scripts could cause problems down the road. It would be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* See LICENSE file for copyright and license details. */ | |
/* appearance */ | |
static const char font[] = "-*-*-medium-*-*-*-10-*-*-*-*-*-*-*"; | |
static const char normbgcolor[] = "#333333"; | |
static const char normfgcolor[] = "#cccccc"; | |
static const char selbgcolor[] = "#000000"; | |
static const char selfgcolor[] = "#cccccc"; | |
static const char before[] = "<"; | |
static const char after[] = ">"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
(c) 2009 by Leon Winter | |
(c) 2009-2012 by Hannes Schueller | |
(c) 2009-2010 by Matto Fransen | |
(c) 2010-2011 by Hans-Peter Deifel | |
(c) 2010-2011 by Thomas Adam | |
(c) 2011 by Albert Kim | |
(c) 2013 Daniel Carl | |
see LICENSE file | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# original: http://pastebin.com/2PMfGJBM | |
declare -i f=75 s=13 r=2000 t=0 c=1 n=0 l=0 | |
declare -ir w=$(tput cols) h=$(tput lines) | |
declare -i x=$((w/2)) y=$((h/2)) | |
declare -ar v=( [00]="\x83" [01]="\x8f" [03]="\x93" | |
[10]="\x9b" [11]="\x81" [12]="\x93" | |
[21]="\x97" [22]="\x83" [23]="\x9b" | |
[30]="\x97" [32]="\x8f" [33]="\x81" ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# keep bspwm monitors synced | |
ctrl + alt + Tab | |
bspc monitor -f DVI-I-0 ; bspc desktop -f next ; bspc monitor -f VGA-0 ; bspc desktop -f next | |
ctrl + alt + shift + Tab | |
bspc monitor -f DVI-I-0 ; bspc desktop -f prev; bspc monitor -f VGA-0 ; bspc desktop -f prev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Home</title> | |
<style> | |
body { | |
font-family: arial, sans-serif; | |
font-size: 13px; | |
background: black; | |
color: gray; | |
overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example inittab entry (/etc/inittab) | |
# this will create a daemonized process which init will watch and respawn as needed | |
1001::respawn:/usr/bin/perl /usr/local/bin/kill-large-processes.pl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit; | |
echo "d10:magnet-uri${#1}:${1}e" > "meta-${BASH_REMATCH[1]}.torrent" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
## Monit control file | |
############################################################################### | |
## | |
## Comments begin with a '#' and extend through the end of the line. Keywords | |
## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'. | |
## | |
## Below you will find examples of some frequently used statements. For | |
## information about the control file and a complete list of statements and | |
## options, please have a look in the Monit manual. |
OlderNewer