Skip to content

Instantly share code, notes, and snippets.

View kennbrodhagen's full-sized avatar

Kenn Brodhagen kennbrodhagen

View GitHub Profile
@kennbrodhagen
kennbrodhagen / config.fish
Created January 14, 2013 20:53
My config.fish with a peepcode-inspired prompt
set PATH ~/bin ~/.rvm/bin $PATH
set -U fish_color_user magenta
set -U fish_color_host yellow
set -U fish_color_git_clean green
set -U fish_color_git_dirty red
set -U fish_color_git_ahead red
set -U fish_color_git_staged yellow
@kennbrodhagen
kennbrodhagen / launch.rb
Created January 27, 2013 22:55
calabash-cucumber launch.rb that will not restart the iOS Simulator for each scenario but still restart the app itself each time.
########################################
# #
# Important Note #
# #
# When running calabash-ios tests at #
# www.lesspainful.com #
# this file will be overwritten by #
# a file which automates #
# app launch on devices. #
# #
@kennbrodhagen
kennbrodhagen / .vimrc
Last active December 19, 2015 05:09
.vimrc
" Disable vi-compatibility
set nocompatible
" Set bash shell to avoid fish-related problems
set shell=bash
"===============================================================================
" NeoBundle
"===============================================================================
@kennbrodhagen
kennbrodhagen / vim-setup.sh
Last active December 19, 2015 08:49
Script for setting up my custom vim.
#!/bin/bash
# Install the silver searcher (ag) for super-fast searching capability
brew install --overwrite the_silver_searcher
# Install pythong because on one of my systems the vim install got all bent
# out of shape and picked the wrong python (python already exists, so overwrite it)
brew install --overwrite python
# Install the latest vim so YouCompleteMe will work
@kennbrodhagen
kennbrodhagen / curl-test.sh
Last active November 27, 2015 03:12
test-http-request-lambda
curl -H "Authorization: Basic 1234" \
-H "X-Custom-Header: test-value" \
"https://8nimdxyyo1.execute-api.us-east-1.amazonaws.com/stage/example/ABCD?sort=ascending"