Skip to content

Instantly share code, notes, and snippets.

collimarco / clt.js
Last active Aug 29, 2015
V8 Javascript that demonstrates the Central Limit Theorem
View clt.js
// A large number to be used as infinite
var inf = 10000;
// The number of segments in which a continuous random variable is divided
// to get an aproximation in the discrete
var nSegments = 10;
// U ~ Uniform(0, 1)
function u() {
return Math.random();
collimarco / Mobile Res Generator
Last active Mar 9, 2016
Mobile Res Generator
View Mobile Res Generator
These shell scripts automatically generate PNG icons and splash screens (launch images) at different sizes and resolutions given a default icon and splash screen in Inkscape SVG format.
Make sure that you have Inkscape installed. Running the following command you should see the path to the executable:
> which inkscape
You can specify the input icon and splash screen (and some other options) in the configuration at the top of each shell script.
You can’t perform that action at this time.