Skip to content

Instantly share code, notes, and snippets.

Andy Tudhope andytudhope

Block or report user

Report or block andytudhope

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Onename verification
Verifying I am +cryptowanderer on my passcard.
andytudhope /
Last active Sep 8, 2015
Keybase verification

Keybase proof

I hereby claim:

  • I am andytudhope on github.
  • I am cryptowanderer ( on keybase.
  • I have a public key whose fingerprint is F480 1A66 081D C0C9 F32F 2A0E 9CF9 CCD2 EDDA 6A97

To claim this, I am signing this object:

andytudhope / factorialize.js
Created Nov 16, 2015
Free Code Camp Bonfire
View factorialize.js
function factorialize(num) {
if (num === 0 || num === 1) {
return 1;
return num * factorialize(num-1);
View basic-demo
import React from 'react';
import {Bond} from 'oo7';
import {Rspan} from 'oo7-react';
import {InputBond, HashBond, BButton, TransactionProgressLabel, TransactButton} from 'parity-reactive-ui';
import {bonds, formatBlockNumber, formatBalance, isNullData} from 'oo7-parity';
export class App extends React.Component {
constructor() {
super(); = new Bond();
View voting-demo
import React from 'react';
import {Bond} from 'oo7';
import {bonds} from 'oo7-parity';
import {Rspan, Rimg, ReactiveComponent} from 'oo7-react';
import {InputBond, HashBond, BButton, TransactionProgressLabel} from 'parity-reactive-ui';
const CounterABI = [{"constant":false,"inputs":[{"name":"_option","type":"uint256"}],"name":"vote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hasVoted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"votes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"who","type":"address"},{"indexed":true,"name":"option","type":"uint256"}],"name":"Voted","type":"event"}];
const Options = ['Red', 'Green', 'Blue'];
View deployer
module.exports = function(deployer) {
.then(() => {
return MiniMeTokenFactory.deployed()
.then(f => {
.then(t => {
token = t
console.log('SCT:', token.address)
View Bot.js
name: "greet",
title: "Greeter",
description: "Helps you choose greetings",
color: "#0000ff",
params: [{
name: "greet",
type: status.types.TEXT,
suggestions: helloSuggestions
View gretzke
var price = 50000000000000000;
name: 'hours',
description: 'How many hours do you want to book the ...?',
color: '#CCCCCC',
sequentialParams: true,
params: [{
name: 'hours',
type: status.types.NUMBER,
View i18n.cljs
(ns status-im.i18n
[cljs.spec.alpha :as spec]
[status-im.react-native.js-dependencies :as rn-dependencies]
[ :as af]
[ :as ar]
[status-im.translations.bel :as be]
[status-im.translations.cs :as cs]
[status-im.translations.da :as da]
[ :as de]
View app.js
"use strict";
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
! function e(t, n, r) {
function i(a, u) {
if (!n[a]) {
if (!t[a]) {
You can’t perform that action at this time.