Skip to content

Instantly share code, notes, and snippets.

View drobati's full-sized avatar
💻
coding

Derek Robati drobati

💻
coding
View GitHub Profile
body {
background-color: #205081;
}
table, form, input, td, th, p, textarea, select {
font-family: Arial, sans-serif;
font-size: 12px;
}
h1, h2, h3, h4, h5, h6 {
" -----
" VIMRC
" -----
set nocompatible
" Setup Vundle
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" -----
" VIMRC
" -----
scriptencoding utf-8
" Setup Vundle
call plug#begin('~/.vim/plugged')
" Manage Plugins
Plug 'gmarik/Vundle.vim'
@drobati
drobati / action.org
Created October 21, 2010 16:39
Capture template and bindings

Work

School

Bills

@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)))))
(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 / 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:
@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 / .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

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: