Skip to content

Instantly share code, notes, and snippets.

View krmcbride's full-sized avatar

Kevin McBride krmcbride

View GitHub Profile

Keybase proof

I hereby claim:

  • I am krmcbride on github.
  • I am krmcbride (https://keybase.io/krmcbride) on keybase.
  • I have a public key ASCuOiI56j-y9Fb9L-5hP7exbyuemc5DQmSEOjSnFnzHmwo

To claim this, I am signing this object:

@krmcbride
krmcbride / README.md
Created March 13, 2017 18:23 — forked from ralphschindler/README.md
Docker (For Mac) De-facto Host Address Alias (10.254.254.254) - "The 10254 Trick".

Docker (Mac) De-facto Standard Host Address Alias

This launchd script will ensure that your Docker environment on your Mac will have 10.254.254.254 as an alias on your loopback device (127.0.0.1). The command being run is ifconfig lo0 alias 10.254.254.254

Installation

Copy/Paste the following in terminal with sudo (must be root as the target directory is owned by root)...

sudo curl -o /Library/LaunchDaemons/com.ralphschindler.docker_10254_alias.plist https://gist.githubusercontent.com/ralphschindler/535dc5916ccbd06f53c1b0ee5a868c93/raw/com.ralphschindler.docker_10254_alias.plist
@krmcbride
krmcbride / custom.theme.bash
Created October 6, 2015 16:55
A custom bash-it theme based on the emperor theme that includes docker information
#!/usr/bin/env bash
SCM_THEME_PROMPT_DIRTY=" ${red}✗"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
SCM_THEME_PROMPT_PREFIX=" |"
SCM_THEME_PROMPT_SUFFIX="${green}|"
GIT_THEME_PROMPT_DIRTY=" ${red}✗"
GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓"
GIT_THEME_PROMPT_PREFIX=" ${green}|"
GIT_THEME_PROMPT_SUFFIX="${green}|"
Archimonde Archimonde
Kil'jaeden Kil'jaeden
PitLord Mannoroth
Ner'zhul Ner'zhul
DarkTitan Male Sargeras
Dreadlord Balnazzar
PitLord Magtheridon
Varimathras Mal'Ganis
Dreadlord Tichondrius
Varimathras Varimathras
Aegwynn
Aerie Peak
Agamaggan
Aggramar
Akama
Alexstrasza
Alleria
Altar of Storms
Alterac Mountains
Aman'Thul
@krmcbride
krmcbride / rabbitmq-server
Created December 5, 2012 21:55
RabbitMQ 3.0 Server init.d script
#!/bin/sh
#
# rabbitmq-server RabbitMQ broker
#
# chkconfig: - 80 05
# description: Enable AMQP service provided by RabbitMQ
#
### BEGIN INIT INFO
# Provides: rabbitmq-server