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
public class Bootstrap | |
{ | |
public IDisposable Initialise() | |
{ | |
var jitc = new NitroGcCompiler(Options.AggresiveGc); | |
var runtime = new ServerRuntime(jitc, Gc.VaryByLoad | Gc.NoTrace); | |
// Configure Runtime & JitC | |
return new Disposable(() => | |
{ | |
runtime.Dispose(); |
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
# Credit http://stackoverflow.com/a/2514279 && https://gist.github.com/jasonrudolph/1810768 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci\t%cr\t%an" $branch | head -n 1` \\t$branch; done | sort -r | |
# See https://www.kernel.org/pub/software/scm/git/docs/git-show.html for other data |
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
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 5) then: | |
// isIE === undefined | |
// If you're in IE (>=5) then you can determine which version: | |
// isIE === 7; // IE7 | |
// Thus, to detect IE: | |
// if (isIE) {} | |
// And to detect the version: | |
// isIE === 6 // IE6 | |
// isIE > 7 // IE8, IE9, IE10 ... |
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
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler({"http": "http://127.0.0.1:3128"})) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read()) |
NewerOlder