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
| javascript:(function(){ | |
| if(typeof turntablr !== 'undefined'){alert('already turntablin')} | |
| else{ | |
| turntablr = true; | |
| $($($('.roomView > div > a')[2]).data('events').click).each(function(k,h){ | |
| a = h.handler.toString().match(/[a-zA-z]+\.callback\(.upvote.\)/)[0] | |
| }); | |
| setInterval(function(){eval(a)},10000); | |
| tt = $('<div style=\'display:none;color:red;position:fixed;left:10px;top:10px;padding:10px;border:1px solid red;background:#ddd;-moz-border-radius:10px;-webkit-border-radius:10px\'>turntablin</div>'); | |
| $('body').append(tt); |
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
| javascript:( | |
| function() { | |
| var o = Ext.util.Observable.prototype; | |
| o.fireEvent = o.fireEvent.createInterceptor(function(evt) { | |
| var a = arguments; | |
| console.log(this, ' fired event ', evt, ' with args ', Array.prototype.slice.call(a,1,a.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
| class CleverSolver | |
| require 'rest-client' | |
| require 'json' | |
| def initialize | |
| @root = "https://DEMO_KEY:@api.getclever.com" | |
| @next_url = "/v1.1/students" | |
| @vcount = 0 | |
| end |
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/ruby | |
| require 'rest-client' | |
| counter = 0 | |
| can_has_phone = false | |
| while !can_has_phone | |
| puts "checking... (#{counter})" | |
| src = RestClient.get("https://play.google.com/store/devices/details?id=nexus_4_16gb") |
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
| gem "resque", :require => 'resque/server' | |
| gem 'resque-history' |
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
| // http://localhost:26843/client_is_running.js | |
| function client_is_running() { return 1; } |
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 'optparse' | |
| require 'uri' | |
| options = { | |
| db: 0, | |
| varname: "REDIS_URL", | |
| host: "proxy1.openredis.com" | |
| } |
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 python | |
| # encoding: utf-8 | |
| import sys | |
| import os | |
| import requests | |
| import re | |
| # log in on the browser and supply the full cookie sent to HipChat as well as the company domain. | |
| COOKIE = '' |
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 | |
| say "dogebomb" | |
| for i in $(seq 10) | |
| do | |
| curl -sL 'http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=doge' | grep -o 'http[^"]*gif' | head -n 1 | sed 's/\\//g' | xargs open | |
| 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
| #!/bin/bash | |
| say "drake bomb" | |
| for i in $(seq 10) | |
| do | |
| curl -sL 'http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=drake' | grep -o 'http[^"]*gif' | head -n 1 | sed 's/\\//g' | xargs open | |
| done |
OlderNewer