Skip to content

Instantly share code, notes, and snippets.

View lirbank's full-sized avatar
🚴‍♂️
Riding me' bike

Mikael Lirbank lirbank

🚴‍♂️
Riding me' bike
View GitHub Profile
@lirbank
lirbank / config.json
Created March 10, 2015 01:40
Iron master config
{
"packages": {
"add": [
"browser-policy",
"audit-argument-checks",
"force-ssl",
"fortawesome:fontawesome",
"fastclick"
],
"remove": [
@lirbank
lirbank / meteor_start.sh
Last active February 21, 2018 13:26
Run Meteor locally with a real hostname instead of localhost
#!/bin/sh
DOMAIN=airlab.io
PORT=3000
# Find configured IPv4 addresses, skip localhost
IP=`ifconfig |grep -oE "(inet )([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)"|awk '{print $2}' | grep -v "127.0.0.1"`
echo "Your IP: $IP"
# Replace periods with hyphens
HOSTNAME=`echo $IP | tr '.' '-'`