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 python3 | |
import time | |
import grovepi | |
divider = 2 | |
setting = 10 | |
grovepi.pinMode(divider, "INPUT") |
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
00:28:17 Info [Launcher] Version: client 1e44372 / manifest 680d827 | |
00:28:17 Info [Launcher] CPU: GenuineIntel Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
00:28:17 Info [Launcher] CPU supports SSSE3: YES | |
00:28:17 Trace [Launcher] Loading hybris libraries | |
00:28:17 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /home/jasta/.local/share/mcpelauncher/ | |
00:28:17 Trace [REDIRECT] /data/data/usr/local/proc/1360280/cmdline to /home/jasta/.local/share/mcpelauncher/ | |
00:28:17 Trace [REDIRECT] /data/data/mcpelauncher-client to /home/jasta/.local/share/mcpelauncher/ | |
00:28:17 Trace [REDIRECT] /data/data to /home/jasta/.local/share/mcpelauncher/ | |
00:28:17 Trace [LinkerUtils] Loaded OS library libm.so.6 | |
00:28:17 Trace [LinkerUtils] Loaded OS library libz.so.1 |
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
java.lang.IllegalStateException: Fragment QuestionImageType{3879b652} not attached to Activity | |
at android.support.v4.app.Fragment.getResources(Fragment.java:620) | |
at org.devtcg.stethogame.QuestionImageType$SetImageTask.onPostExecute(QuestionImageType.java:94) | |
at org.devtcg.stethogame.QuestionImageType$SetImageTask.onPostExecute(QuestionImageType.java:73) | |
at android.os.AsyncTask.finish(AsyncTask.java:636) | |
at android.os.AsyncTask.access$500(AsyncTask.java:177) | |
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653) | |
at android.os.Handler.dispatchMessage(Handler.java:102) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5254) |
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
On branch heap-profile | |
Your branch is ahead of 'origin/heap-profile' by 3 commits. | |
(use "git push" to publish your local commits) | |
Changes not staged for commit: | |
(use "git add <file>..." to update what will be committed) | |
(use "git checkout -- <file>..." to discard changes in working directory) | |
modified: stetho/src/main/java/com/facebook/stetho/inspector/ChromeDiscoveryHandler.java | |
modified: stetho/src/main/java/com/facebook/stetho/inspector/protocol/module/HeapProfiler.java |
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
import dalvik.system.*; | |
import java.util.*; | |
public class Test { | |
public static void main(String[] args) throws Exception { | |
DexFile d = DexFile.loadDex(args[0], null /* output */, 0); | |
Enumeration<String> e = d.entries(); | |
while (e.hasMoreElements()) { | |
System.out.println(e.nextElement()); | |
} |
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
$ time adb shell dexdump /data/app/com.facebook.stetho.sample-1/base.apk | grep 'Class desc' | wc -l | |
290 | |
real 0m1.098s | |
user 0m0.016s | |
sys 0m0.135s |
NewerOlder