View gist:24a055fdb927eb63769509832ad0a5fc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | |
} | |
); |
View nodejs.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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++" |