- Get The Unarchiver (compression utility) here: https://theunarchiver.com/
- Opens iTunes for Mac and download the app from the app store
- Open Finder and navigate to Music/iTunes/iTunes Media/Mobile Applications
- Select the application you downloaded, and drag it into The Unarchiver to extract it
- Navigate into the extracted directory, then into Payload, and you should see an app
- Right-click the app and select "Show Package Contents"
- Find the file "Info.plist", right-click it and select "Quick Look"
- Look through the file for CFBundleURLSchemes (it'll be indented)
- Right below that should be , with each URL scheme inside a tag.
Update the rope lengths using update(leftLength, rightLength).
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
# Limits concurrency to @limit requests at any given time. | |
# | |
# Every time limiter.run() is called, concurrent load is incremented by one and | |
# the function you pass into it is called with a single argument of the 'done' | |
# function. When your work is complete, call the 'done' function and the | |
# concurrent load will be decremented by one. | |
# | |
# Usage: | |
# | |
# ConcurrencyLimiter = require('limiter') |
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
#!/usr/bin/env ruby | |
require 'mechanize' | |
require 'yaml' | |
unless ARGV[0] =~ /^http/ && ARGV[1] =~ /(now|[\d\/]+)/ | |
puts "Usage: scraper.rb [streeteasy search URL] [date(s)]" | |
puts " streeteasy search url: just perform a search on streeteasy.com" | |
puts " and grab the URL from the location bar" | |
puts "" |
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
var util = require('util'); | |
var Stream = require('stream'); | |
function CachedStream() { | |
this.buffers = []; | |
this.readable = true; | |
this.writable = true; | |
} | |
CachedStream.prototype.write = function(buffer) { |
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
Stream = require 'stream' | |
class CachedStream extends Stream | |
constructor: -> | |
@buffers = [] | |
readable: true | |
writable: true | |
write: (buffer) -> |
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
Set up a new task on startup by following this article: | |
http://www.techrepublic.com/blog/window-on-windows/make-vista-launch-uac-restricted-programs-at-startup-with-task-scheduler/616 | |
For the command, use: | |
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=127.0.0.1 connectport=3000 connectaddress=10.0.2.2 |
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
global.config = require('./lib/config').load("config/app.json"); | |
var cluster = require('cluster'); | |
var fs = require('fs'); | |
var app = require('./app'); | |
// Logging | |
var log = require('./lib/winston'); | |
global.log = log; | |
// Write out pidfile |