Skip to content

Instantly share code, notes, and snippets.

View drobati's full-sized avatar
💻
coding

Derek Robati drobati

💻
coding
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@drobati
drobati / .vimrc
Created August 2, 2012 20:52
Current Windows dot vimrc.
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
call pathogen#infect()
syntax on
filetype plugin indent on
set guioptions-=T
@drobati
drobati / hack.sh
Created July 23, 2012 05:54 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@drobati
drobati / errors.log
Created July 12, 2012 13:32
Subway Node.js errors when deploying to Nodejitsu.
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy your application.
error:
error: NPM Install failed
error: NPM failed to install dependencies
error:
error: This type of error is usually a user error.
error: Error output from Haibu:
(defvar shell-name-history nil)
(defun launch-django-shells (name)
"Launch shell and server processes for a Django project."
(interactive (list (read-from-minibuffer "Project Name: " (car shell-name-history) nil nil 'shell-name-history)))
(shell (concat "*django-" name "-shell*"))
(shell (concat "*django-" name "-server*")))
@drobati
drobati / solarized.el
Created April 1, 2011 15:25
Put this in your customize.el. A Solarized implementation. (Still a WIP)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "#002b36" :foreground "#657b83" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 140 :width normal :foundry "apple" :family "Anonymous_Pro"))))
'(comint-highlight-input ((t (:foreground "#2aa198"))))
'(comint-highlight-prompt ((((min-colors 88) (background dark)) (:foreground "#268bd2"))))
'(cursor ((t (:background "#FFFFAA" :foreground "#222222"))))
'(custom-button ((((type x w32 ns) (class color)) (:background "#073642" :foreground "#93a1a1" :box (:line-width 2 :color "#073642" :style released-button)))))
@drobati
drobati / action.org
Created October 21, 2010 16:39
Capture template and bindings

Work

School

Bills

@drobati
drobati / custom-set-faces.el
Created September 18, 2010 05:39
Custom-set-faces gives you my emacs faces.
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "#111111" :foreground "White" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight light :height 105 :width normal :foundry "apple" :family "Anonymous"))))
'(erc-action-face ((t (:foreground "#ff9999" :weight bold))))
'(erc-default-face ((t (:weight light :family "Anonymous"))))
'(erc-error-face ((t (:foreground "#eeee99"))))
'(erc-header-line ((t (:background "#FF0000" :foreground "#000000"))))