I hereby claim:
- I am srw on github.
- I am sebastianwain (https://keybase.io/sebastianwain) on keybase.
- I have a public key whose fingerprint is 2870 27E1 5714 8514 5460 4F5E 0362 8A8A A6DB BE42
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| public class roulette { | |
| public static void main(String [] args) { | |
| int n=4; | |
| double [] weight = new double [n]; | |
| weight[0]=0.4; | |
| weight[1]=0.3; | |
| weight[2]=1.2; | |
| weight[3]=0.1; | |
| double max_weight=1.2; | |
| int [] counter = new int[n]; |
| # blog post: http://blog.slashpoundbang.com/post/3385815540/how-to-generate-an-opml-file-with-ruby | |
| require 'open-uri' | |
| require 'builder' | |
| require 'truffle-hog' | |
| require 'nokogiri' | |
| # CHANGE ME | |
| urls = %w(http://example.com/ http://example.org/) |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| # Done under Visual Studio 2010 using the excelent Python Tools for Visual Studio | |
| # http://pytools.codeplex.com/ | |
| # | |
| # Article on ideas vs execution at: http://blog.databigbang.com/ideas-and-execution-magic-chart/ | |
| import urllib2 | |
| import json |