Skip to content

Instantly share code, notes, and snippets.

Avatar

Brandon Nozaki Miller RIAEvangelist

View GitHub Profile
@RIAEvangelist
RIAEvangelist / nodejs.sh
Last active Sep 11, 2015 — forked from Gioyik/nodejs.sh
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++"
View dominos-sample-request.json
{
"Address": {
"Street": "2764 SOMETHNING DRIVE",
"City": "CARLSBAD",
"Region": "CA",
"PostalCode": "92009",
"Type": "House"
},
"Coupons": [
{
View dominos-models.cs
// YOU BETTER THANK ME I JUST SAVED YOU A LOT OF TIME THIS TOOK HOURS
public class Address
{
[JsonProperty("Street")]
public string Street = "";
[JsonProperty("City")]
public string City = "";
[JsonProperty("Region")]
public string Region = "";
You can’t perform that action at this time.