Skip to content

Instantly share code, notes, and snippets.

View timothyylim's full-sized avatar
🇳🇴
Loading...

Timothy Lim timothyylim

🇳🇴
Loading...
View GitHub Profile

Tech used:

  • Bootstrap (still capable of writing CSS)
  • Node, browserify

Context:

  • What is BitGo and what problem does it solve in the cryptocurrency space?
  • Why is this tool necessary?
  • Self-taught and understood a niche system
@timothyylim
timothyylim / web3-solc-contract-compile-deploy.js
Created February 24, 2018 08:55 — forked from tomconte/web3-solc-contract-compile-deploy.js
Compiling and deploying an Ethereum Smart Contract, using solc and web3.
const fs = require('fs');
const solc = require('solc');
const Web3 = require('web3');
// Connect to local Ethereum node
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
// Compile the source code
const input = fs.readFileSync('Token.sol');
const output = solc.compile(input.toString(), 1);
<h3 style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-family: 'Open Sans', arial, sans-serif;">Table of Contents&nbsp;</h3>
<ul style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-size: 16px; font-family: 'Open Sans', arial, sans-serif;">
<li><a href="#heading1">Heading1</a></li>
<li style="font-family: 'Open Sans', arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal;"><a href="#heading2">Heading2</a></li>
<li style="font-family: 'Open Sans', arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal;"><a href="#heading3">Heading3</a></li>
<li style="font-family: 'Open Sans', arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal;"><a href="#BugFix">Bug Fixes<
H5P = H5P || {};
// TODO: auto generate ID's
H5P.BranchingScenario = function (params, contentId, contentData) {
// this.EventDispatcher = new H5P.EventDispatcher();
var $ = H5P.jQuery;
var self = this;
H5P.EventDispatcher.call(self);
git pull
git merge origin/l10n_master --squash
git checkout --theirs .
git add .
git commit -m "Update language files"

Content Type Plan

Stage 1: Implement design

Sub tasks:

  • Load jquery into a html page
  • Load the library into a blank HTML page and create a basic gallery
  • Add lightbox option
  • Adjust the options to fit the design (postponed)