Skip to content

Instantly share code, notes, and snippets.

Avatar

Brandon Nozaki Miller RIAEvangelist

View GitHub Profile
View gist:24a055fdb927eb63769509832ad0a5fc
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
Gioyik / nodejs.sh
Last active March 22, 2022 03:27
Script to cross compile NodeJS for ARMv7
View nodejs.sh
#!/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++"