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
GS.cMenu = Em.Object.create | |
searchTerm : "" | |
menu: null | |
restaurantLocation: null | |
cart: Ember.A([]) | |
addToCart: (orderItem,control) -> | |
newOrderItem = {orderItem: orderItem, id: guidGenerator()} | |
newA = @cart | |
newA.pushObject newOrderItem | |
@set 'GS.cMenu.cart',newA |
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
GS.cartItem = Em.Object.extend | |
id: null | |
orderItem: null | |
Note: null |
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
// copy this file into a directory as index.js | |
// from that directory run the following: | |
// npm install q | |
// npm install eth-lightwallet | |
// npm install ethereumjs-util | |
// npm install web3 | |
// | |
// node index.js | |
var Q = require('q'); //I'm doing promises old school |
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
pragma solidity ^0.4.8; | |
/** | |
* @title ERC20Basic | |
* @dev Simpler version of ERC20 interface | |
* @dev see https://github.com/ethereum/EIPs/issues/20 | |
*/ | |
contract ERC20Basic { | |
uint public totalSupply; |
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
pragma solidity ^0.4.8; | |
//© copyright 2017 - Catallax Bank and Rivvir Consulting | |
// Developed by Austin Fatheree | |
// http://catallax.info @hypercatallax | |
// All rights reserved. | |
contract NameService { | |
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
pragma solidity ^0.4.15; | |
contract Dan { | |
address public owner; | |
uint256 public donated; | |
string public phone; | |
string public my_address; | |
string public my_name; |
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
pragma solidity ^0.4.15; | |
/* | |
******** Read this first: ********* | |
Welcome to Dan's contract. | |
Metamask is required to interact with the production instance of this contract | |
if you would like to donate. MetaMask can be installed for Chrome or Firefox at | |
https://metamask.io/ |
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
76043872 |