D3 Website
API / Docs
Wiki
d3 Based Libraries -
D3 Website
API / Docs
Wiki
d3 Based Libraries -
//lsauer.com , lo sauer 2013 | |
//JavaScript List of selected MIME types | |
//A comprehensive MIME List is available here: https://gist.github.com/lsauer/2838503 | |
var mimeTypes = | |
{ | |
'a' : 'application/octet-stream', | |
'ai' : 'application/postscript', | |
'aif' : 'audio/x-aiff', | |
'aifc' : 'audio/x-aiff', | |
'aiff' : 'audio/x-aiff', |
source :rubygems | |
gem "puma" | |
gem "sinatra" |
// Photoshop Script to Create iPhone Icons from iTunesArtwork | |
// | |
// WARNING!!! In the rare case that there are name collisions, this script will | |
// overwrite (delete perminently) files in the same folder in which the selected | |
// iTunesArtwork file is located. Therefore, to be safe, before running the | |
// script, it's best to make sure the selected iTuensArtwork file is the only | |
// file in its containing folder. | |
// | |
// Copyright (c) 2010 Matt Di Pasquale | |
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com |
Copyright the authors of Honcho and/or Ben Lopatin | |
Licensed for reuse, modification, and distribution under the terms of the MIT license |
http://guides.rubyonrails.org/migrations.html
# Adapted from a C# example here: | |
# http://stackoverflow.com/questions/43224/how-do-i-calculate-a-trendline-for-a-graph | |
# And thanks to John Esser for helping figure out how to | |
# calculate the targets to stabilize a negative slope! | |
class LinearRegression | |
attr_accessor :slope, :intercept | |
# Pass in an array of values to get the regression on |
<?php | |
// SETUP: | |
// 1. Customize all the settings (stripe api key, email settings, email text) | |
// 2. Put this code somewhere where it's accessible by a URL on your server. | |
// 3. Add the URL of that location to the settings at https://manage.stripe.com/#account/webhooks | |
// 4. Have fun! | |
// set your secret key: remember to change this to your live secret key in production | |
// see your keys here https://manage.stripe.com/account |