As configured in my dotfiles.
start new:
tmux
start new with session name:
/**********************************************/ | |
/* | |
/* IR_Black Skin by Ben Truyman - 2011 | |
/* | |
/* Based on Todd Werth's IR_Black: | |
/* http://blog.toddwerth.com/entries/2 | |
/* | |
/* Inspired by Darcy Clarke's blog post: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* |
As configured in my dotfiles.
start new:
tmux
start new with session name:
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
#!/bin/bash | |
# Get the absolute path of the folder where this script exists. | |
curr_dir=`pwd` | |
dir=`dirname $0` | |
FILE_PATH=`cd $dir;pwd` | |
# Install node | |
apt-get install python-software-properties curl -y | |
add-apt-repository ppa:chris-lea/node.js-devel |
#!/usr/bin/env bash | |
# script: watch | |
# author: Mike Smullin <mike@smullindesign.com> | |
# license: GPLv3 | |
# description: | |
# watches the given path for changes | |
# and executes a given command when changes occur | |
# usage: | |
# watch <path> <cmd...> | |
# |
module Jekyll | |
class GooglePlusEmbedTag < Liquid::Tag | |
@post = nil | |
@height = '' | |
@width = '' | |
def initialize(tag_name, markup, tokens) | |
if markup =~ /(https:\/\/plus.google.com\/\d+\/posts\/\w+)/i | |
@url = $1 |
#!/bin/sh | |
let sleepTime="15*60"; | |
while [ 1 ] | |
do | |
if [ $(( $RANDOM % 2)) == 0 ] | |
then | |
echo "switching to NTWRK1"; | |
networksetup -setairportnetwork en1 {NTWRK_NAME} {NTWRK_PSWD} | |
else |
-- phpMyAdmin SQL Dump | |
-- version 3.5.2.2 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: 127.0.0.1 | |
-- Generation Time: Apr 08, 2013 at 02:48 PM | |
-- Server version: 5.5.27 | |
-- PHP Version: 5.4.7 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |