Skip to content

Instantly share code, notes, and snippets.

View rluba's full-sized avatar

Raphael Luba rluba

View GitHub Profile
#!/bin/sh
# On macOS, anything you download via the web gets flagged as quarantined, which causes error dialogs when executing programs or loading libraries from quarantined directories.
# This script removes the quarantine flag from the whole compiler directory and its contents.
SCRIPT_DIR=`cd "$(dirname "$0")" >/dev/null 2>&1 && pwd`
echo "De-quarantining $SCRIPT_DIR"
xattr -dr com.apple.quarantine "$SCRIPT_DIR"
@rluba
rluba / package.json
Last active August 29, 2015 14:16
NPM: Git vs non-git dependencies
{
"name": "npmgit",
"version": "0.1.0",
"description": "Show that git dependencies are reinstalled on every `npm install.",
"dependencies": {
"bunyan": "^1.3.4",
"restify": "git+ssh://git@github.com:mcavage/node-restify.git#3.0.0"
}
}