mckern@flexo ~ $ cat ~/.vimrc
set number " show line numbers
set cursorline " highlight current line
set lazyredraw
set incsearch " search as characters are entered
set hlsearch " highlight matches
filetype indent on " load filetype-specific indent files
mckern@flexo ~ $
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# RVM /RBEnv minutia # |
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 bash | |
# Set up handy aliases, simple environment tweaks, and other pleasantries. | |
# While shooting yourself in the foot is always a possibility, you may as well | |
# do it in comfort and occasionally style. | |
# Owner: Ryan McKern | |
# Start counting how long it takes to source this profile | |
__begin="$(date +"%s")" |
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
[user] | |
name = Ryan McKern | |
email = ryan.mckern@puppetlabs.com | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
ui = auto |
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 python | |
"""A simple ini config parser, which parses data passed across STDIN | |
and echos the values of an ini file to the local environment | |
as KEY=VALUE pairs based on the section of the ini file that they're in. | |
For example, the key "name" in section "config" would look like this: | |
\t[config] | |
\tname=value | |
This would be echoed back as: |
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/bash | |
function test_socket { | |
if [[ ${SSH_AUTH_SOCK+_} && -S ${SSH_AUTH_SOCK} ]]; then | |
: "Socket found" | |
return 0 | |
fi | |
: "No socket found" | |
return 1 | |
} |
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 | |
# | |
# Installation script that bypasses normal installation procedures and instead | |
# delivers the payload (the plugin) directly to the user directory | |
# | |
# Blue Jeans Network, 2012 - Luke Ma | |
# =========================================================================== | |
# Remove old plugin | |
rm -rf ~/Library/Internet\ Plug-Ins/rbjnplugin* |
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 python | |
''' | |
upload.py, a basic CGI scipt to enable uploading a file | |
onto a web server without direct SSH or filesystem access. | |
Insecure by design, and in no way intended for public usage. | |
Integrate it with your favorite internal chat robot, drop | |
it into a continuous integration pipeline, or just use the | |
best-of-1994 form interface directly! |
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/bash | |
whitespace() { | |
local character="${1}" | |
local quantity="${2:-$LINES}" | |
for line in $(seq 1 ${quantity}); do | |
printf "%s\n" "${character}" | |
done | |
return $? |
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
" Vim color file | |
" Converted from Textmate theme Slush & Poppies using Coloration v0.2.5 (http://github.com/sickill/coloration) | |
set background=dark | |
highlight clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let g:colors_name = "Slush & Poppies 256" | |
hi Cursor guifg=NONE guibg=#000000 ctermbg=0 gui=NONE | |
hi Visual guifg=NONE guibg=#b0b0ff ctermbg=147 gui=NONE |
OlderNewer