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
| grep -o "devstreaming.*HD.mov" wwdc_source | sed 's/-HD.mov/.pdf/' > wwdc_PDF_urls && for URL in `cat wwdc_PDF_urls`; do curl -OL $URL; done |
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
| <h3>Why Database Technology Matters</h3> | |
| <p>Sometimes I get so down in the weeds of database technology, I forget why I think databases are so fascinating to me, why I found them so important to begin with. ACID. Latency, bandwidth, durability, performance, scalability, bits and bytes. Virtual this, cloud that. Blah blah blah. Who the fuck cares?</p> | |
| <p>I care.</p> | |
| <p>Dear lord I care. I care so much it hurts.</p> | |
| <p>"A database is an organized collection of data, today typically in digital form." -Wikipedia</p> |
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
| { | |
| "interface": ":4984", | |
| "adminInterface": ":4985", | |
| "log": ["HTTP+", "CRUD+", "Auth+", "Changes+", "Access", "Attach"], | |
| "databases": { | |
| "myapp": { | |
| "server": "http://localhost:8091", | |
| "sync": `function(doc) {channel(doc.channels);}` | |
| }, | |
| "grocerydemo": { |
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
| // TLDR: Oi, Barnes. We'll miss ya. Here's a grimy RNG in your honor. | |
| // node oi.js or paste the below into your favorite browser's JS console. | |
| // DEFCON CHALLENGE: Break this! | |
| function millis() { return Date.now(); } | |
| function flip_coin() { n=0; then = millis()+1; while(millis()<=then) { n=!n; } return n; } | |
| function get_fair_bit() { while(1) { a=flip_coin(); if(a!=flip_coin()) { return(a); } } } | |
| function get_random_byte(){ n=0; bits=8; while(bits--){ n<<=1; n|=get_fair_bit(); } return n; } | |
| report_console = function() { while(1) { console.log(get_random_byte()); }} |
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
| #!/bin/bash | |
| ########## | |
| # README # | |
| ########## | |
| # Make sure you've got the CLI tool `jq` installed | |
| # ↳ http://stedolan.github.io/jq/ | |
| # (if you've got homebrew on your Mac just do → `brew install jq`) |
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
| for i in $(ls) ; do ; cd $i ; git init && git add . && git commit -a -m "Initial commit" && git branch myFork && git checkout myFork ; .. ; done ; |
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
| Wed Dec 15 22:43:51 2010 +0000 | |
| Mon Dec 13 16:26:14 2010 +0000 | |
| Sun Dec 12 18:38:02 2010 +0000 | |
| Sun Dec 12 18:20:36 2010 +0000 | |
| Wed Dec 8 23:23:48 2010 +0000 | |
| Mon Dec 6 15:59:28 2010 +0000 | |
| Sun Dec 5 09:29:30 2010 +0000 | |
| Sat Nov 27 23:12:41 2010 +0000 | |
| Thu Nov 25 20:41:57 2010 +0000 | |
| Thu Nov 25 16:40:25 2010 +0000 |
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
| for i in `curl https://developer.apple.com/videos/wwdc/2014/ | grep -o 'ht.*pdf'`; do; curl -O $i; done |
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
| for i in `curl https://developer.apple.com/videos/wwdc/2014/ | grep -oE 'ht.*?_hd.*?mov' | sed 's;_hd;_sd;'`; do; curl -O $i; done |
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
| for i in `curl https://developer.apple.com/videos/wwdc/2014/ | grep -oE 'ht.*?_hd.*?mov'`; do; curl -O $i; done |