This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
- Hulu / HuluPlus
- CBS
- ABC
- MTV
- theWB
- CW TV
- Crackle
- NBC
// ==UserScript== | |
// @name Google SSL + Related Search Links | |
// @namespace http://torstenbecker.eu/ | |
// @match https://encrypted.google.com/* | |
// @author Torsten Becker, Erik Vergobbi Vold | |
// @description Adds the missing links to Google Images, etc. when using Google SSL Search. | |
// ==/UserScript== | |
// Based on http://stackoverflow.com/questions/2246901/ | |
// include-jquery-inside-greasemonkey-script-under-google-chrome |
/** | |
* Module dependencies. | |
*/ | |
var inspect = require('sys').inspect; | |
console.inspect = function(obj, depth){ | |
if (!obj) return; |
#!/usr/bin/env sh | |
version() { | |
ruby <<"EOS" | |
doc = File.read './package.json' | |
regex = /("version"\s*:\s*")([^"]+)(")/ | |
cur = regex.match(doc) | |
if ENV['CMD'] == 'major' then | |
nxt = (cur[2].to_i + 1).to_s + ".0.0" | |
elsif ENV['CMD'] == 'minor' then |
apt-get install xvfb | |
apt-get install firefox |
#!/bin/sh | |
BRANCH_NAME=$(git symbolic-ref -q HEAD) | |
BRANCH_NAME=${BRANCH_NAME##refs/heads/} | |
BRANCH_NAME=${BRANCH_NAME:-HEAD} | |
REPO_NAME=`git config --get-regexp remote\..+\.url | perl -p -e 's/^remote\.\w+\.url\s+git\@github.com:(.+).git/\$1/'` | |
echo "Pulling $BRANCH_NAME into master of $REPO_NAME" | |
read -p "Issue #: " GITHUB_ISSUE |
This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
First, please read On Maintaining a Native Node Module
Problem: There is no standard way to build + distribute prebuilt binaries for node modules with native addons (e.g. C++ bindings).
There's a thing called NODE_MODULE_VERSION
which is used to know if a native module was compiled for the correct version + flavor of node. If you are trying to load something compiled for e.g. iojs
from February 2015 into node
from March 2014 you will get an error something like Error: Module version mismatch. Expected 11, got 42.
when you try and run your program. node
uses numbers from 10 going up, and iojs
uses numbers from 40 going up. The NODE_MODULE_VERSION
gets bumped usually when V8 is upgraded, but sometimes for other reasons. It also gets even more complicated when you start talking about runtimes like Electron or Node-Webkit, but I won't get into that here. To my knowledge there is n