Skip to content

Instantly share code, notes, and snippets.

View RIAEvangelist's full-sized avatar

Brandon Nozaki Miller RIAEvangelist

View GitHub Profile
var pizzaApi = require('dominos');
var util = require('util');
// ID 10532, represents a Dominos store in the Kitchener/Waterloo area.
// You have to find the store ID close to you.
var myStore = new pizzaApi.Store(
ID: 10532,
Gioyik /
Last active August 15, 2023 07:59
Script to cross compile NodeJS for ARMv7
#!/bin/sh -e
#Define our target device
export TARGET_ARCH="-march=armv7-a"
export TARGET_TUNE="-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb"
#Define the cross compilators on your system
export AR="arm-linux-gnueabi-ar"
export CC="arm-linux-gnueabi-gcc"
export CXX="arm-linux-gnueabi-g++"