Skip to content

Instantly share code, notes, and snippets.

@keremtiryaki
keremtiryaki / howTo.md
Last active March 30, 2016 15:21
how to create a self signed certificate and upload to AWS
@keremtiryaki
keremtiryaki / install_jenkins_plugin.sh
Created November 18, 2015 00:29 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@keremtiryaki
keremtiryaki / fix-homebrew-npm.md
Created October 8, 2015 15:44 — 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

If you just want to fix the issue quickly, scroll down to the "solution" section below.

Explanation of the issue

If you're a Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you may see an error like this:

$ npm update npm -g