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
# Act like GNU screen | |
unbind C-b | |
set -g prefix C-a | |
bind-key C-a last-window | |
setw -g aggressive-resize on | |
# Reload tmux conf | |
bind-key r source-file ~/.tmux.conf | |
# Look good |
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
#!/bin/sh | |
for i in $(ls -1 $1) | |
do | |
thumb=$(echo $i | sed 's/\./_t./') | |
convert $i -resize 120000@ $thumb | |
done |
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
" .vimrc | |
" James's vim configuration file. | |
" This configuration makes James happy to program. | |
let mapleader=" " | |
set autoindent | |
set backspace=indent,start | |
set nocompatible | |
set expandtab |
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
function quickPlot(varargin) | |
% Quickly plot point clouds of data. | |
% This works for up to 5 datasets of | |
% 1D or 2D or 3D data, regardless of the | |
% row-order or column-order format. | |
% | |
% Also works with 2D or 3D matrices. | |
% | |
% How to use this function: | |
% --> Give it data. That's pretty much it. |
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 ruby | |
def a(m );print (m); end; | |
require 'zlib' ;eval(%w(c ='#'; s=32. | |
chr;f="\n"; j=4;i= [25, 20,14,8,3,3,j,j,5 | |
,5,6];a (s*3 0+c*4+ s*11+c*4+f);p=-1 | |
;[28 ,38, 50 ,62 ,72].each{|n|a(s *i[ | |
p+=1 ]+c *n +f) ;}; w=['c 1bxji 7',' 9ixq z9b' | |
,'7k 1eptf', '76 zemy2' ,'qoi m0x'] .map {|g| g.to_ i(36) | |
.to_ s(2) };[2,3 ]. eac h{|h |w[h ]='0 '+w[ h]};w[ 4]=('0 |
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
And that judge wasn't gonna look at the twenty-seven eight-by-ten color glossy pictures with the circles and arrows and a paragraph on the back of each one, explainin' what each one was to be used as evidence against us. And we was fined fifty dollars and had to pick up the garbage in the snow, but that's not what I came to tell you about. | |
All your base are belong to us. | |
Support your local medievalist. | |
The three kinds of people: Those who can count and those who can't. | |
Must be user error. | |
Close Cover Before Striking | |
The light at the end of the tunnel is usually a train. | |
42 | |
First pants THEN your shoes. | |
BSA HandBook, 2nd Ed,: "Scouts as a rule do not go into the big woods." |