Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@corelon
corelon / localized_ruby.rb
Created November 26, 2012 16:12 — forked from alexmreis/localized_ruby.rb
Let's not localize programming languages. Please >_<
# Let's not localize programming languages. Please >_<
#
# Feel free to fork and expand and/or add more languages as an example
# to why this would be horrible.
# Ruby in English
if user.is_alive?
# send spam mail
@corelon
corelon / monokai.sh
Created November 14, 2012 15:27 — forked from AndrewKvalheim/monokai.sh
Monokai color scheme for mintty
#!/bin/bash
# Applies the Monokai color scheme to the current terminal session.
declare -A map0
map0=( [foreground ]='#F8F8F2' [background ]='#272822'
[cursor ]='#F8F8F0' [selection ]='#49483E'
[pink ]='#F92672' [green ]='#A6E22E'
[yellow ]='#E6DB74' [blue ]='#66D9EF'
[purple ]='#AE81FF' [orange ]='#FD971F'
[gray ]='#75715E' )
@corelon
corelon / README.md
Created November 14, 2012 15:22 — forked from pasela/README.md
mintty: A soft pastel color theme(xoria256) for mintty

A soft pastel color theme for mintty

This is ported version of color theme xoria256.

screenshot

Settings

Merge mintty-color-xoria256-rc into your .minttyrc

;;; multi-select.el --- Provides multiple noncontiguous selections.
;; This file is NOT part of Emacs.
;; Copyright (C) 2005, Steve Yegge <steve.yegge at gmail dot com>
;; Parts Copyright (C) Lawrence Mitchell <[email protected]>
;; Filename: multi-select.el
;; Version: 0.9 (pending XEmacs support for version 1.0)
;; Author: Steve Yegge <stevey at gmail dot com>
;; Created: April 10th 2005
@corelon
corelon / gist:2238156
Created March 29, 2012 14:51
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after