Skip to content

Instantly share code, notes, and snippets.

View bullshit's full-sized avatar
👨‍🔬
Solutionst

Oskar bullshit

👨‍🔬
Solutionst
View GitHub Profile
@bullshit
bullshit / add_mamp_php_to_path.sh
Created April 6, 2014 16:55
Add selected MAMP PHP to PATH
if [ `uname` = "Darwin" ]; then
PHPVER=$(/usr/libexec/PlistBuddy -c "print phpVersion" ~/Library/Preferences/de.appsolute.mamppro.plist)
#echo "Version: $PHPVER"
export PATH=/Applications/MAMP/bin/php/php${PHPVER}/bin:$PATH
fi
var app = require(process.cwd() + '/app');
var winston = require('winston');
var _ = require('lodash');
// Set up logger
var customColors = {
trace: 'white',
debug: 'green',
info: 'green',
warn: 'yellow',
@bullshit
bullshit / openhab.sh
Last active August 29, 2015 13:57 — forked from daangemist/openhab.sh
#! /bin/sh
### BEGIN INIT INFO
# Provides: openhab
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: OpenHAB Daemon
### END INIT INFO

Created 2013-12-10

Install logitechmediaserver server on cubieboard 2

Howto install the logitech media server formerly known as squeezebox server on Cubieboard 2 (arm linux) via cubian.

@bullshit
bullshit / .gitignore
Last active August 19, 2022 21:27 — forked from RainerBlessing/README
Export Mac OS X keychain to CSV
keychain.csv
keychain.txt