- balanced_controller.rb
- _bank_account_form.html.haml
- _credit_card_form.html.haml
- bank_account_submission.js
- credit_card_submission.js
This file contains 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
require 'open-uri' | |
require 'zlib' | |
require 'yajl' | |
gz = open('http://data.githubarchive.org/2012-03-11-12.json.gz') | |
js = Zlib::GzipReader.new(gz).read | |
events = [] # list of each event for the specified date based on predefined event types | |
Yajl::Parser.parse(js) do |event| | |
# puts event <-- not particularly useful in demoing how to actually see the data |
This file contains 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
Cleaning up children | |
Killing child's pgid: 53317 | |
Traceback (most recent call last): | |
File "test/harness", line 113, in <module> | |
main() | |
File "test/harness", line 110, in main | |
bin/start-servers: killing child 53319 | |
harness.run() | |
File "/Users/hsiehb/Projects/Personal/stripe-ctf/stripe-ctf3/level3/test/lib/test_framework.py", line 106, in run | |
bin/start-servers: killing child 53320 |
- 0:05 - 0:18 - apocalypse wasteland
- 0:18 - 0:19 - new Professor X
- 0:19 - 0:20 - old Professor X
- 0:21 - 0:22 - old Magneto
- 0:22 - 0:24 - new Magneto
- 0:25 - 0:26 - Storm gets attacked
- 0:31 - 0:33 - apocalypse again
- 0:33 - 0:35 - old Professor X
- 0:35 - 0:36 - Wolverine
- 0:36 - 0:38 - Mystique
- 0:08 - 0:10 - some jail scene
- 0:13 - 0:16 - RoboCop
- 0:16 - 0:18 - Black Widow talking to the Captain
- 0:18 - 0:19 - RoboCop half-naked
- 0:20 - 0:22 - Winter Soldier walking
- 0:24 - 0:26 - Captain America
- 0:29 - 0:31 - airplane
- 0:32 - 0:36 - Captain America
- 0:37 - 0:38 - SHIELD HQ
- 0:38 - 0:40 - Captain America
This file contains 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
require 'net/http' | |
require 'json' | |
FOLLOW_REQUEST = "https://api.twitch.tv/kraken/users/#{ARGV[0]}/follows/channels?limit=100" | |
STREAM_REQUEST = "https://api.twitch.tv/kraken/streams/" | |
followed_channels = JSON.parse(Net::HTTP.get_response(URI.parse(FOLLOW_REQUEST)).body)['follows'].collect { |chan| chan['channel']['name'] } | |
followed_live_channels = followed_channels.keep_if { |chan| JSON.parse(Net::HTTP.get_response(URI.parse("#{STREAM_REQUEST}#{chan}")).body)['stream'] } |
This file contains 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/zsh | |
# SCRIPT_TO_LOAD: https://gist.github.com/tanookiben/ebcc94db19ca8efe1504 | |
# PATH_TO_SCRIPT: local path to SCRIPT_TO_LOAD | |
# YOUR_TWITCH_LOGIN: your twitch login | |
ruby PATH_TO_SCRIPT YOUR_TWITCH_LOGIN |
I hereby claim:
- I am tanookiben on github.
- I am tanookiben (https://keybase.io/tanookiben) on keybase.
- I have a public key ASAdknry5qYuHvCNy6hGWTprTA3iLUxon_jAQnI5YQ4vuwo
To claim this, I am signing this object:
This file contains 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
hello world |
OlderNewer