The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
#!/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 |
# 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/) |
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]; |
I hereby claim:
To claim this, I am signing this object: