Skip to content

Instantly share code, notes, and snippets.

View olmesm's full-sized avatar
🐛
just don't write bugs

Oliver Merrick Smit olmesm

🐛
just don't write bugs
View GitHub Profile

Keybase proof

I hereby claim:

  • I am olmesm on github.
  • I am olmesm (https://keybase.io/olmesm) on keybase.
  • I have a public key ASABNQita_jeCUR3DCQ2KW5-rkpXpBT3kbJx2Sm6yb7oOAo

To claim this, I am signing this object:

@olmesm
olmesm / qemu_osx_rpi_raspbian_jessie.sh
Created June 18, 2017 11:07 — forked from hfreire/qemu_osx_rpi_raspbian_jessie.sh
How to emulate a Raspberry Pi (Raspbian Jessie) on Mac OSX (El Capitan)
# Install QEMU OSX port with ARM support
sudo port install qemu +target_arm
export QEMU=$(which qemu-system-arm)
# Dowload kernel and export location
curl -OL \
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie
# Download filesystem and export location
@olmesm
olmesm / fix-homebrew-npm.md
Created August 22, 2016 13:48 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

@olmesm
olmesm / gist:07d5443d15e6a6176d4b96861882240c
Created August 17, 2016 09:01 — forked from juev/gist:3124344
Clean Install – Mountain Lion OS X 10.8 DP3 Update 4