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 |
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
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
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
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
#!/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
[vehicle_air_data] selected BARO: 11761161 (0) | |
validator: best: 0, prev best: 0, failsafe: NO (0 events) | |
sensor #0, prio: 50, state: OK | |
val: 101265.8750, lp: 101265.3594 mean dev: -0.2077 RMS: 1.5861 conf: 1.0000 | |
val: 22.5219, lp: 22.5206 mean dev: 0.0041 RMS: 0.2100 conf: 1.0000 | |
val: 4.9204, lp: 4.9692 mean dev: 0.0077 RMS: 0.1307 conf: 1.0000 | |
BARO 11761161 EN: 1, offset: 0.000, Internal | |
Airspeed status: | |
no data |
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
// | |
// Cover that fits over a cut-out square in a PVC pipe and provides a flat mounting plate on top. | |
// | |
include <BOSL2/std.scad> | |
include <BOSL2/screws.scad> | |
// Smoothness of the part, which we need to be fairly high due to the fact that it needs to be | |
// roughly water tight. | |
$fn = 128; |
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
include <BOSL2/std.scad> | |
include <BOSL2/gears.scad> | |
$fn = 128; | |
eps = 0.01; | |
inches = 25.4; | |
outer_diameter = 56.5+1; | |
inner_diameter = 48.5; |
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
$ cargo +nightly run install | |
Finished dev [unoptimized + debuginfo] target(s) in 0.15s | |
Running `target/debug/espup install` | |
[2023-01-27T01:30:48Z INFO ] 💽 Installing esp-rs | |
[2023-01-27T01:30:48Z INFO ] 💡 Querying GitHub API: 'https://api.github.com/repos/esp-rs/rust-build/releases/latest' | |
thread 'main' panicked at 'Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.', /home/jasta/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/blocking/shutdown.rs:51:21 | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
OlderNewer