Skip to content

Instantly share code, notes, and snippets.

View antonlindstrom's full-sized avatar
👓

Anton Lindström antonlindstrom

👓
View GitHub Profile
" Anton Lindstrom's .vimrc
" https://gist.github.com/99008
" Getting rid of vi bugs and turns syntax highlighting on
set nocompatible
syntax on
" History
set history=1000
@jtimberman
jtimberman / macbook.md
Created November 12, 2010 14:48
How I set up my workstation

My current workstation toolchain environment was set up with the following, roughly in order.

  1. Latest Xcode from Apple to get development tools.

  2. Homebrew.

  3. A few nice things with Homebrew:

    brew install git ack wget tmux sloccount ec2-ami-tools ec2-api-tools rds-command-line-tools

@antonlindstrom
antonlindstrom / tmux.conf
Created July 29, 2011 05:09
tmux config
set -g default-terminal "screen-256color"
set -g history-limit 2000
# Keys
bind-key a last-window
bind-key @ confirm-before kill-window
bind-key r source-file ~/.tmux.conf # reload
bind-key v split-window -h
bind-key ^V split-window -h
@jedi4ever
jedi4ever / logger0.pp
Created January 16, 2012 08:40
rabbitmq - plugins - puppet - provider
rabbitmq_plugin { $rabbitmq_plugin_list:
ensure => present,
require => Class['rabbitmq::server'],
provider => 'rabbitmq_plugins',
state => enabled
}
@myobie
myobie / mountain-lion-brew-setup.markdown
Created February 18, 2012 20:14
Get Mountain Lion and Homebrew to Be Happy

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from the App Store.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.

@aussielunix
aussielunix / .gitignore
Last active April 12, 2018 17:37
jenkins configs to github
*
!/.gitignore
!/*.xml
!/nextBuildNumber
!/jobs
!/jobs/*
!/jobs/*/*.xml
/jobs/*/disk-usage.xml
/jobs/*/builds

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@jordansissel
jordansissel / Procfile
Created April 5, 2012 19:29
Jenkins on Heroku
# Only listen on http; disable ajp and https
web: java -jar jenkins.war --httpPort=$PORT --ajp13Port=-1 --httpsPort=-1
#!/bin/bash
#
# This is the script responsible for updating our Puppet master data,
# which includes modules, manifests, hiera data, etc. All of this data is
# managed in a git repository and upon "deploy" it is synced into the Puppet
# master.
#
# This script mirrors the remote git repository, looking for branches that
# match "env-*" (such as "env-production" or "env-test"). Each of these branches
# is setup as an environment into the Puppet master's data files. The
@dcarley
dcarley / Gemfile
Created September 27, 2012 10:26
Smoke testing Puppet nodes
source :rubygems
gem 'puppet', '~> 2.6.0'
gem 'facter'
gem 'randexp'