Skip to content

Instantly share code, notes, and snippets.

@sspencer
sspencer / keep_current_file_open.sh
Created February 9, 2012 23:08 — forked from wearhere/keep_current_file_open.sh
Keep your current source file open in Xcode after a run completes (a.k.a don't die in main.m)
#! /bin/sh
# On alternate invocations, this script
# saves the path of the source file currently open in Xcode
# and restores the file at that path in Xcode.
#
# By setting Xcode (in Behaviors) to run this script when "Run Starts"
# and when "Run Completes", you can prevent it from switching to main.m
# when a run finishes.
# See http://stackoverflow.com/questions/7682277/xcode-4-2-jumps-to-main-m-every-time-after-stopping-simulator
require.extensions[".json"] = function (module, filename) {
module.exports = JSON.parse(require("fs").readFileSync(filename, "utf8"))
}
I'm Lloyd Hilaiel from BrowserPlus. `[show the yahoo cow, moo]`
This screencast explores the question, *how do we make uploading from the Browser, better?* `[textual question
showing on screen]`
What does better mean?
* Better means *easier* for the user to select the content they wish to upload `[easier floats in lower left
portion of screen]`
* Better also means the selected content should transfer *faster*. `[faster floats in lower