I hereby claim:
- I am nickbclifford on github.
- I am nickbclifford (https://keybase.io/nickbclifford) on keybase.
- I have a public key ASBnl0waVQaJcxp-OpoEv9IJfpRSqoTBtqVnBNxmip8Tzwo
To claim this, I am signing this object:
| (* | |
| exp ::= | |
| id | | |
| (exp) | -- ambiguity | |
| exp exp | -- application | |
| \id -> exp | -- abstraction | |
| let id = exp in exp -- binding | |
| *) | |
| type id = string |
| #include <stdio.h> | |
| int* get_ptr() { | |
| int x = 7; | |
| return &x; | |
| } | |
| int main(void) { | |
| int* my_ptr = get_ptr(); | |
| printf("%d\n", *my_ptr); |
| { | |
| "extends": "@mymicds", | |
| "parserOptions": { | |
| "project": "./tsconfig.json" | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
| require "big" | |
| require "http/client" | |
| require "json" | |
| def send_contract_call(to address, data) | |
| JSON.parse(HTTP::Client.post("localhost:8545", body: { | |
| "jsonrpc" => "2.0", | |
| "method" => "eth_call", | |
| "params" => [{ | |
| "to" => address, |
Because Travis CI can automatically execute scripts after successfully (or unsuccessfully!) executing tests, it is an obvious choice for a deployment tool. In order to deploy to a Git repository on a remote server, the process generally is as follows:
| function say(firstStr) { | |
| // gotta love currying! | |
| return function(secondStr) { | |
| function hyphenSeparate(str) { | |
| return str.replace(/[.,'"?!]/g, '') // remove punctuation | |
| .split('') // split into array of chars | |
| .reduce((a, v) => a + '-' + v); // concatenate with hyphens in between | |
| } | |
| return hyphenSeparate(firstStr) + ' ' + hyphenSeparate(secondStr); | |
| } |