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
| license: mit |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am aedoran on github. | |
| * I am aedoran (https://keybase.io/aedoran) on keybase. | |
| * I have a public key ASCNC-fqE_wfM4-PTA9dKiqYpeqnd_x2EzSJpO1SDKu3wgo | |
| To claim this, I am signing this object: |
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
| Month | obama impeach | trump impeach | |
|---|---|---|---|
| 2008-10 | 14 | 14 | |
| 2008-11 | 82 | 0 | |
| 2008-12 | 21 | 0 | |
| 2009-01 | 21 | 0 | |
| 2009-02 | 21 | 0 | |
| 2009-03 | 31 | 0 | |
| 2009-04 | 13 | 0 | |
| 2009-05 | 25 | 0 | |
| 2009-06 | 13 | 0 |
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
| idt=$(grep IDT $1) | |
| msg=$(cat $1) | |
| if [ -z "$idt" ]; then | |
| echo "not for idonethis" | |
| else | |
| idone "$msg" | |
| fi |
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <body> | |
| <style> | |
| path { | |
| stroke-width:1px; | |
| fill:red; | |
| stroke:red; | |
| } |
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
| <!DOCTYPE html> | |
| <head> | |
| <style> | |
| @font-face { | |
| font-family: 'xkcd'; | |
| src: url('http://dl.dropbox.com/u/12305244/Humor-Sans.ttf'); | |
| } | |
| body { | |
| font-size: 14px; |
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <body> | |
| <script src="http://d3js.org/d3.v2.min.js?2.9.7"></script> | |
| <script> | |
| var width = 960, | |
| height = 500; | |
| var nodes = d3.range(200).map(function() { return {radius: Math.random() * 12 + 4}; }), |
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
| var Browser = require("zombie"), | |
| program = require("commander"); | |
| program | |
| .version('0.0.1') | |
| .option('-l, --location <string>', 'location:port') | |
| .option('-u, --username <string>', 'username') | |
| .option('-p, --password <string>', 'password') | |
| .option('-c, --concurrencies <integer>', 'number of browsers you want') |
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
| var scores = [0,2,3,2,24,24,2,2]; | |
| //get the mean | |
| var avg = 0; | |
| scores.forEach(function(a) { | |
| avg+= a; | |
| }); | |
| avg = avg / scores.length; |
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
| var data = [2,3,4,5,3,2,3,4,5,6,9,9,100,-100]; | |
| var avg = 0; | |
| data.forEach(function(a) { | |
| avg+= a; | |
| }); | |
| avg = avg / data.length; | |
| console.log("avg",avg); |
NewerOlder