Skip to content

Instantly share code, notes, and snippets.

View monokrome's full-sized avatar
😻
meow

Bailey Stoner monokrome

😻
meow
View GitHub Profile
@monokrome
monokrome / .Xdefaults
Created June 23, 2012 22:23
Mimicing iTerm2's pastel color scheme in RXVT/RXVT-Unicode
rxvt.background: #000000
rxvt.foreground: #D3D2D3
rxvt.color0: #000000
rxvt.color1: #FF7768
rxvt.color2: #ABFA68
rxvt.color3: #FFFD88
rxvt.color4: #98D0FE
rxvt.color5: #FF85FD
rxvt.color6: #CACBFE
rxvt.color7: #EFEFEF
@monokrome
monokrome / .screenrc
Created June 23, 2012 22:19
A good .screenrc file, thanks to @kroogs
# Get rid of the startup message
startup_message off
# Stop flashing when I get an alert
vbell off
# Automatically detach if a disconnect occurs
autodetach on
# Think of it as xterm and give me scrolling
@monokrome
monokrome / .xbindkeysrc
Created June 23, 2012 22:12
My configuration for xbindkeys
# Toggle between play/pause
"nyxmms2 toggle"
m:0x0 + c:172
XF86AudioPlay
# Increase volume
"amixer set Master playback 3+"
m:0x0 + c:123
XF86AudioRaiseVolume
@monokrome
monokrome / .bash_profile
Created June 23, 2012 22:10
My.bash_profile for Arch Linux
#!/bin/bash
source /etc/bash_completion.d/git
# Any directories that should additionally be treated as prefixes.
additional_prefixes=(
"/usr/local"
"${HOME}"
)
@monokrome
monokrome / .xinitrc
Created June 23, 2012 08:43
My .xinitrc process for running window managers through SLiM.
#!/bin/bash
# An additional script that will execute for wm-specific configuration
wm_init_script = "${HOME}/.config/${1}/init.sh"
# Execute the window manager and save it's pid for later
exec $1 &
wm_pid = $!
# A bit of a time gap for the window manager to get started.
@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/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
#
attr = 0
something = (x) ->
attr = x
something 40
console.dir attr
# Output: 40
@olivoil
olivoil / vim.rb
Created February 18, 2012 06:16 — forked from uasi/vim.rb
Vim formula for Homebrew
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d'
version '7.3.294'
def features; %w(tiny small normal big huge) end
@monokrome
monokrome / PS1.sh
Created December 31, 2011 01:50
My PS1
# Thanks to @kroogs for the idea of making the text red on errors :D
# This is a global reference to be used in order to know the last return
# code from within functions.
last_response_code=$?
# Formats the provided text into something a bit more striking.
error_text () { echo "\033[31m${@}\033[0m"; }
# Generates our PS1 when passed the last program's response code, and
@bdrewery
bdrewery / gist:1400847
Created November 28, 2011 15:49
EFNet ssl servers
:servers_ssl
efnet.xs4all.nl
irc.choopa.ca:9999
irc.choopa.net:9999
irc.eversible.com:9999
irc.paraphysics.net
irc.servercentral.net:9999
irc.shoutcast.com:8000
irc.umich.edu:9999
irc.underworld.no