- sudo gem install exifr
- sudo env ARCHFLAGS="-arch x86_64" gem install curb
- http://stackoverflow.com/questions/2856305/why-is-curl-in-ruby-slower-than-command-line-curl
- File.utime(0, 0, "testfile") from - change modified time, i.e. updated time
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> | |
| <html lang="en"> | |
| <body> | |
| <ol> | |
| <div class="d1"></div> | |
| <div class="d2"></div> | |
| <div class="d3"></div> | |
| <div class="d4"></div> | |
| <div class="d5"></div> | |
| </ol> |
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> | |
| <html lang="en"> | |
| <body> | |
| <ol> | |
| <div class="container"> | |
| <div class="stuff"></div> | |
| </div> | |
| </ol> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" ></script> | |
| <script> |
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> | |
| <html lang="en"> | |
| <body> | |
| <ol> | |
| <div class="d1"></div> | |
| <div class="d2"></div> | |
| <div class="d3"></div> | |
| <div class="d4"></div> | |
| <div class="d5"></div> | |
| </ol> |
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> | |
| <html lang="en"> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
| <script type="application/javascript;version=1.8"> | |
| // The following code is by protz based on original :-) non working code by Roland Tanglao | |
| if (typeof console === 'undefined' || !console.log) { | |
| var console = { log: function () {}}; | |
| }; |
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
| gmx | |
| gmail | |
| googlemail | |
| yahoo | |
| comcast | |
| road runner | |
| roadrunner | |
| msn | |
| hotmail |
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
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'net/http' | |
| require 'pp' | |
| require 'Time' | |
| require 'uri' | |
| require 'parseconfig' | |
| flickr_config = ParseConfig.new('flickr.conf').params | |
| api_key = flickr_config['api_key'] |
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
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'net/http' | |
| require 'pp' | |
| require 'Time' | |
| require 'uri' | |
| require 'parseconfig' | |
| flickr_data=[] | |
| i = 0 | |
| ARGF.each_line do |line| |
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
| GCCFLAGS=-g -Os -Wall -mmcu=atmega168 | |
| LINKFLAGS=-Wl,-u,vfprintf -lprintf_flt -Wl,-u,vfscanf -lscanf_flt -lm | |
| AVRDUDEFLAGS=-c avr109 -p m168 -b 115200 -P /dev/cu.PL2303-00001004 | |
| LINKOBJECTS=../libnerdkits/delay.o ../libnerdkits/lcd.o ../libnerdkits/uart.o | |
| all: led_blink-upload | |
| led_blink.hex: led_blink.c | |
| make -C ../libnerdkits | |
| avr-gcc ${GCCFLAGS} ${LINKFLAGS} -o led_blink.o led_blink.c ${LINKOBJECTS} |
- http://www.datadrivenconsulting.com/2010/06/dashboards-without-bi-tool/
- protovis http://vis.stanford.edu/protovis/
- protovis tutorial: http://eagereyes.org/tutorials/protovis-primer-part-1
- twitter sparkline generator: http://www.datadrivenconsulting.com/2010/06/twitter-sparkline-generator/
- sparkline from chart.apis.google.com: http://chart.apis.google.com/chart?chxt=r,x,y&chd=t:41.5,34.3,63.4,45.0,50.5,35.7,40.6,54.9,62.0,60.6,53.2,44.9,62.4,61.8,53.5,58.5,60.4,64.6,64.5,49.8,49.3,61.4,46.4,50.8,36.1,46.5,52.8,39.7,44.4,42.3,57.6,45.6,34.1,49.0,64.1,61.4,59.9,34.0,43.9,44.8,40.4,34.0,60.3,36.8,56.1,63.1,52.7,39.6,51.9,39.0&chxs=0,990000,11,0,_|1,990000,1,0,_|2,990000,1,0,_&chm=o,990000,0,50,5&cht=lc&chxl=0:|0.17|1:||2:||&chco=336699&chxp=0,38.9904542844803&chls=1,1,0&chs=500x100
- sparline.rb gist using chart.apis.google.com api: