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 java.lang.management.ManagementFactory | |
| displayThreadDumpAlso = false | |
| topJavaThreads = "top -b -n 1 -H | grep java" | |
| jstack = "jstack" | |
| maxThreads = 5 | |
| pid = myPid() | |
| def dump = threadDump(pid) | |
| def currentCpu = myCpuUsage(pid) |
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
| // | |
| // KIFUITestActor+Helper.h | |
| // | |
| // Created by Max Chuquimia on 10/04/2014. | |
| // | |
| // | |
| #import "KIFUITestActor.h" | |
| @interface KIFUITestActor (Helper) |
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/sh | |
| find $1 -type f -print0 | xargs -0 stat -f'%z' | awk '{b+=$1} END {print b}' | awk '{ sum=$1 ; hum[1024**3]="Gb";hum[1024**2]="Mb";hum[1024]="Kb"; for (x=1024**3; x>=1024; x/=1024){ if (sum>=x) { printf "%.2f %s\n",sum/x,hum[x];break } }}' |
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
| var debugEnabled = false | |
| var infoEnabled = true | |
| var traceEnabled = false | |
| //Maximum number of live paths to determine when a leak object is found | |
| var maxPathsToFound = 1 | |
| //No of object instances after which a progress message | |
| //is logged |
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
| pdp-mbp: ~ $ cat hostlist.txt | |
| sfo-crawl-4 | |
| sfo-crawl-5 | |
| sfo-crawl-6 | |
| sfo-crawl-7 | |
| sfo-crawl-8 | |
| sfo-crawl-9 | |
| sfo-crawl-11 | |
| sfo-crawl-14 | |
| pdp-mbp: ~ $ csshX --host hostlist.txt |
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 | |
| # https://gist.github.com/949831 | |
| # http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/ | |
| # command line OTA distribution references and examples | |
| # http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson | |
| # http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution | |
| # http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/ | |
| # http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html |
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
| ISRakel::Tasks.instance.edit_preferences do |p| | |
| p.merge!({ | |
| "KeyboardAutocapitalization" => false, | |
| "KeyboardAutocorrection" => false, | |
| "KeyboardCapsLock" => false, | |
| "KeyboardCheckSpelling" => false, | |
| "KeyboardLastChosen" => "de_DE@hw=German;sw=QWERTZ-German", | |
| "KeyboardLastUsed" => "de_DE@hw=German;sw=QWERTZ-German", | |
| "KeyboardPeriodShortcut" => false, | |
| "UIKeyboardDidShowInternationalInfoAlert" => true, |
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 | |
| # You could also launch Xcode Organizer directly to the Provisioning Profiles section (to check for validity) by running: | |
| # open ~/Library/MobileDevice/Provisioning\ Profiles/* | |
| # | |
| # In Xcode 5, you can't get a whole list anymore in Xcode Organizer - you will need to download the iPhone Configuration Utility. | |
| SAVEIFS=$IFS | |
| IFS=$(echo -en "\n\b") | |
Web Performance Power Tool: HTTP Archive (HAR) - blog post with video and details about the projects we covered.
The HAR Show GDL episode on YouTube
-
HTTP Archive (powered by HAR files): www.httparchive.org
-
HAR Viewer: http://code.google.com/p/harviewer/
NewerOlder