This file contains 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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(#000, 13.5%)", | |
"@gray-dark": "lighten(#000, 20%)", | |
"@gray": "lighten(#000, 33.5%)", | |
"@gray-light": "lighten(#000, 46.7%)", | |
"@gray-lighter": "lighten(#000, 93.5%)", | |
"@brand-primary": "#8dabc5", | |
"@brand-success": "#74a89d", |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am planbnet on github. | |
* I am planb (https://keybase.io/planb) on keybase. | |
* I have a public key whose fingerprint is 101D 7B60 7CAB EDA5 58A6 6710 BAA9 5D2B 9415 1999 | |
To claim this, I am signing this object: |
This file contains 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
scriptencoding utf-8 | |
set encoding=utf-8 | |
set nocompatible | |
""""""""""""""" SETUP VUNDLER """"""""""""""""""""""" | |
if (filereadable($HOME."/.vim/bundle/vundle/autoload/vundle.vim")) | |
"(only if it's correctly installed) | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
:silent! call vundle#rc() |
This file contains 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
#!/usr/bin/env bash | |
dir=$(dirname $0) | |
gconfdir=/apps/gnome-terminal/profiles | |
echo # This makes the prompts easier to follow (as do other random echos below) | |
######################## | |
### Select a profile ### | |
######################## |
This file contains 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
INSTALL_DIR="/home/maicki" | |
FFMPEG_DIR="$INSTALL_DIR/ffmpeg" | |
PROPERTIE_FILE="$INSTALL_DIR/test.properties" | |
MEDIA="Movies:/home/maicki/Movies" | |
AIR_VIDEO_LINK="http://inmethod.com/air-video/download/linux/alpha4/AirVideoServerLinux.jar" | |
mkdir $INSTALL_DIR | |
cd $INSTALL_DIR |
This file contains 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
export IPHONELIBS=/opt/iphone | |
export COMP_VERSION=4.0.1 | |
export SDK_VERSION=3.0 | |
export DEVROOT=/Developer/Platforms/iPhoneOS.platform/Developer | |
export SDKROOT=${DEVROOT}/SDKs/iPhoneOS${SDK_VERSION}.sdk | |
export BIN=${DEV}/usr/bin | |
export PATH=${BIN}:${PATH} |
This file contains 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
#!/usr/bin/ruby | |
# | |
# This script installs to /usr/local only. To install elsewhere you can just | |
# untar http://github.com/mxcl/homebrew/tarball/master anywhere you like. | |
# | |
# | |
# 30th March 2010: | |
# Added a check to make sure user is in the staff group. This was a problem | |
# for me, and I think it was due to me migrating my account over several | |
# versions of OS X. I cannot verify that for sure, and it was tested on |
This file contains 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
// Bookmarklet to calculate the most generic xpath for the current selection | |
// (helper utility for scraping websites) | |
function selectionxpath() { | |
function calculateShortestXpathOfElement( sel ) { | |
var node = sel; | |
var nextId = null; | |
var stop = null; | |
var xpath = ""; |
This file contains 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
#!/usr/bin/perl | |
#generates a bookmarklet from a javascript file | |
#and outputs a html page to drag the link to the bookmark bar | |
#based on john grubers bookmarklet script: | |
#http://daringfireball.net/2007/03/javascript_bookmarklet_builder | |
use strict; | |
use warnings; | |
use URI::Escape qw(uri_escape_utf8); |
This file contains 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
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
require 'rss/maker' | |
require 'syndication/atom' | |
require 'syndication/rss' | |
require 'syndication/content' |
NewerOlder