This is Gabriel Cardona's AVA Labs-centric development environment setup. Use at your own risk. Your mileage may vary.
iTerm2 is a replacement for Terminal
This is Gabriel Cardona's AVA Labs-centric development environment setup. Use at your own risk. Your mileage may vary.
iTerm2 is a replacement for Terminal
| func RegisterCallbacks() { | |
| js.Global().Set("reward", js.FuncOf(reward)) | |
| js.Global().Set("buyCommodity", js.FuncOf(buyCommodity)) | |
| js.Global().Set("networth", js.FuncOf(networth)) | |
| js.Global().Set("changeUser", js.FuncOf(changeUser)) | |
| js.Global().Set("sendSliderValToWasm", js.FuncOf(sendSliderValToWasm)) | |
| } | |
| var ( | |
| merchant string |
May 15th is bringing a network upgrade (also known as a hard fork) to the $BCH network. Along w/ a 32 MB block size we're reactivating a bunch of OP codes. Thanks to the advice of @MADinMelbourne I decided to see exactly what each new OP code was bringing to the table.
Below I list each new OP code w/ a quick description and then demonstrate how it works by showing a small validation script and then what the stack would look like after.
Please let me know if you spot errors. Thanks!
| { | |
| "keys": ["tab"], | |
| "command": "expand_abbreviation_by_tab", | |
| // put comma-separated syntax selectors for which | |
| // you want to expandEmmet abbreviations into "operand" key | |
| // instead of SCOPE_SELECTOR. | |
| // Examples: source.js, text.html - source | |
| "context": [ | |
| { |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Chat</title> | |
| <link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'> | |
| <link href="style.css" rel="stylesheet" type="text/css"> | |
| <script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.19/tmi.js"></script> <!--For developement--> | |
| <!--<script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.19/tmi.min.js"></script>--> <!--For "production"--> | |
| </head> |
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |