Skip to content

Instantly share code, notes, and snippets.

// define version
pragma solidity ^0.4.2;
// defines the "owned" contract
contract owned {
// defines the "variable" as an "address" and makes it public *** Need more info on public vs non public
address public owner;
// defines the owner of the contract as the sender *** The original sender? Any sender? It's not obvious here but I think I know the answer.
#Something
@zach-is-my-name
zach-is-my-name / ExpressDrills2.js
Created December 14, 2016 20:34
ExpressDrills2.js
'use strict';
// Request and response object drills
// ==================================
const express = require('express');
const app = express();
// your code here.
app.get('/:adjective1/:adjective2/:adjective3/:verb/:name/:noun/:place/:adverb', function(req,res) {
@zach-is-my-name
zach-is-my-name / ExpressDrills1.js
Last active December 14, 2016 20:35
MadLibs.js
'use strict';
// Request and response object drills
// ==================================
const express = require('express');
const app = express();
// your code here.
app.get('/:adjective1/:adjective2/:adjective3/:verb/:name/:noun/:place/:adverb', function(req,res) {