Skip to content

Instantly share code, notes, and snippets.

View ice09's full-sized avatar

Alexander C. ice09

View GitHub Profile
@ice09
ice09 / addr.eth
Last active October 6, 2017 12:14
0xDbdCDb5972E88E5273E46290C0D6bb3a96c23628
@ice09
ice09 / token.sol
Created September 14, 2017 10:18
just the standard token contract
pragma solidity ^0.4.13;
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); }
contract MyToken {
/* Public variables of the token */
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;

Keybase proof

I hereby claim:

  • I am ice09 on github.
  • I am ice09 (https://keybase.io/ice09) on keybase.
  • I have a public key whose fingerprint is 0A36 A906 2F16 5F34 4B61 3D96 95E0 239D 9AD5 3D71

To claim this, I am signing this object:

// Ripple account to watch for payment
var acct = 'rDPe2PCQtxngg5euANuGiL9o9XEsNfim2g'
// API key for Mailgun
var api_key = 'key-';
// Subdomain for Mailgun
var domain = 'domain.mailgun.org';
// create Mailgun
var Mailgun = require('mailgun-js');
var mailgun = new Mailgun({apiKey: api_key, domain: domain});
// create Ribble lib
#
# Write a Fibonacci program...
#
Proto := Object clone
# ...recursive version
Proto fib := method(n, if (n<=2, return 1, return (fib(n-2)+fib(n-1))))
# ...iterative version
@ice09
ice09 / gist:5477959
Created April 28, 2013 18:48
7l7w ruby day3
# Modify the CSV application to support an each method to return a CsvRow object.
# Use method_missing on that CsvRow to return the value for the column of each heading.
#
# Kontonummer, Name
# 12144445678, ice09
class CsvRow
attr_accessor :values, :keys
def initialize( keys, values )