This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scrape transaction information from ING's website | |
* | |
* Because sometimes exported documents don't lend themselves to being | |
* imported in personal finance software, and HBCI connections sometimes | |
* don't work ( -_- ), this is a guide and collection of scripts that can | |
* be executed in a browser to scrape transactions from ING's website. | |
* | |
* The scripts are very fragile and will stop working if ING re-designs | |
* their site, so please consider this more a guide than anything else. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------------- | |
// Allows tracking of usage (for optimization purposes) | |
CmdUtils.trackEvent = function(argobj) { | |
var command,action,goalid | |
this.command = argobj.command | |
this.action = argobj.action | |
this.goalid = action == 'execute' ? 1 : action == 'preview' ? 2 : '' | |
that = this | |
this.submit = function() { | |
var img = new Image, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------------------- | |
// Sort dropdowns | |
CmdUtils.CreateCommand({ | |
names: ["sort"], | |
arguments: [{role:"object", label:"input",nountype: noun_arb_text}], | |
icon: "http://cdn1.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/16/sort-ascend.png", | |
homepage: null, | |
author: {name:"Armando Gutierrez"}, | |
description: "Sorts something. Accepts following parameters: <em>'dropdowns'</em>", | |
preview: function(pblock, input) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d3.behavior.drag = function() { | |
var x = 0, | |
y = 0, | |
listeners = [], | |
dragit | |
function drag() { | |
var container = this | |
.on("mousedown", mousedown) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// data.js | |
// As of 31.12.2009 | |
// http://statistik-nord.de/daten/bevoelkerung-und-gebiet/familienstand-ehe-einbuergerungen/dokumentenansicht/38/produkte-2/ | |
// years: 2001-2009 | |
var ageofmomsums = [ | |
//2001: [3971,6959,13655,23788,31591,3811,47499,47601,51724,54192,52975,59841,62383,62649,68443,69877,70606,7079,68128,62035,54636,46368,37636,28736,21324,15948,9099,5369,3576,1731], | |
{x:2002, y:[43,67,108,197,323,330,399,465,474,546,575,607,571,685,626,710,720,652,657,634,587,495,405,302,224,157,118,63,52,22]}, | |
{x:2003, y:[3,47,102,199,322,366,377,418,487,551,578,569,577,656,703,704,736,754,663,668,596,511,433,297,248,178,108,56,38,11]}, | |
{x:2004, y:[18,61,97,213,272,309,415,417,463,499,503,583,628,647,698,719,707,750,776,675,608,526,452,341,281,184,126,88,39,16]}, | |
{x:2005, y:[27,57,82,194,285,320,356,399,448,481,537,599,603,626,692,726,788,766,791,699,668,540,450,366,267,195,135,84,53,14]}, |