As configured in my dotfiles.
start new:
tmux
start new with session name:
| $array = "folder1", "folder2" | |
| cd c:\experiments | |
| Foreach ($element in $array) {echo "Processing $element"; ` | |
| $p = $(Start-Process java -ArgumentList "-jar script.jar $element" -RedirectStandardOutput $element\out.log -RedirectStandardError $element\err.log -PassThru);` | |
| if ( ! $p.WaitForExit(1800000) ) | |
| { echo "$element did not exit after 30min"; $p.kill() } | |
| } |
| #!/usr/bin/env python | |
| """ | |
| Parse a HAR (HTTP Archive) and return URLs which resulted in a given HTTP response code | |
| HAR Spec: http://groups.google.com/group/http-archive-specification/web/har-1-2-spec | |
| Copyleft 2010 Ian Gallagher <[email protected]> | |
| Example usage: ./har_response_urls.py foo.har 404 | |
| """ | |
| import json |
| (* | |
| * Finder Open Atom Here - v1.0 - 6/12/2014 | |
| * http://shauvik.com/ | |
| * | |
| * Copyright (c) 2014 Shauvik Roy Choudhary | |
| * Dual licensed under the MIT and GPL licenses. | |
| * Based on Open iTerm Here script by Ben Alman | |
| *) | |
| tell application "Finder" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| When big files resulted in a 503 error, by pass caching in varnish | |
| Use: https://github.com/dreamhost/varnish-vcl-collection/ |
| diff --git a/src/java/edu/berkeley/wtchoi/instrument/DexProcessor/printingVisitor/ApplicationPrintingVisitor.java b/src/java/edu/berkeley/wtchoi/instrument/DexProcessor/printingVisitor/ApplicationPrintingVisitor.java | |
| index 37e98f4..2351b30 100644 | |
| --- a/src/java/edu/berkeley/wtchoi/instrument/DexProcessor/printingVisitor/ApplicationPrintingVisitor.java | |
| +++ b/src/java/edu/berkeley/wtchoi/instrument/DexProcessor/printingVisitor/ApplicationPrintingVisitor.java | |
| @@ -67,12 +67,12 @@ | |
| } | |
| public ApplicationPrintingVisitor(ApplicationVisitor av, Writer w){ | |
| - super(av); | |
| + super(4, av); |
| rm -rf /home/m3user/Desktop/dyno-droid-fse13/apps/*; | |
| rm -rf /home/m3user/Desktop/dyno-droid-fse13/workingDir/*; | |
| rm -rf ~/.android/avd/*; | |
| rm -rf ~/.android/modem-nv-ram*; | |
| python /home/m3user/Desktop/dyno-droid-fse13/shutdown_emu.py |
#Things to try
Emulator Acceleration Guide: http://developer.android.com/tools/devices/emulator.html#acceleration