Skip to content

Instantly share code, notes, and snippets.

View emtee40's full-sized avatar

emtee40 emtee40

View GitHub Profile
-- libquvi-scripts
local Mp4upload = {}
function ident(qargs)
return {
can_parse_url = Mp4upload.can_parse_url(qargs),
domains = table.concat({'mp4upload.com'}, ',')
}
end
@emtee40
emtee40 / m3u8.md
Created January 22, 2019 13:33 — forked from primaryobjects/m3u8.md
How to download m3u8 and ts video movie streams.

m3u8 Downloading

  1. Open Chrome Developer tools and click the Network tab.
  2. Navigate to the page with the video and get it to start playing.
  3. Filter the list of files to "m3u8".
  4. Find master.m3u8 or index.m3u8 and click on it.
  5. Save the file to disk and look inside it.
  6. If the file contains a single m3u8 master url, copy that one instead.
  7. Run the program m3u8x.
  8. Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
@emtee40
emtee40 / README.md
Created February 15, 2019 01:54 — forked from SaltwaterC/README.md
OpenWrt support for Netgear WNR1000v2

Install

As usual, use it at your own risk. I am not to be held responsible for your actions.

Supported devices: WNR1000v2 (tested by me), WNR1000v2-VC (provided by Comcast for free; tested by Douglas Fraser)

Notice: Upgrade WNR1000v2 to the latest factory firmware: 1.1.2.58. Otherwise, the power LED may not behave properly.

You need to place the device into failsafe mode. For booting into failsafe mode, you need to power up the device while holding the reset button with a pin. The power LED should have an amber colour. Hold the button until it is starting to flash green. It starts to flash green after it flashes the amber LED for six times. After that, the device is in failsafe mode, accepting a firmware via its TFTP server. The device should respond to pings at 192.168.1.1, although the responses may be malformed.

Audio Mod Troubleshooting Guide

Search the XDA thread

This should always be your first step. More than likely, your question has already been answer...multiple times

Logs

If you make a post stating a problem without any logs, nobody can help you and will likely ignore it (at least I will)

  • Get a full logcat. If using adb, use adb logcat -d > log.txt
    • This should be taken after attempting to open the app
  • If using magisk, get the magisk log from magisk manager
@emtee40
emtee40 / cursed_mandelbrot.c
Created July 2, 2019 09:44 — forked from DavidBuchanan314/cursed_mandelbrot.c
Compile-time mandelbrot in pure C. Outputs a PGM image file to stdout. Output can be seen at https://twitter.com/David3141593/status/1062468528115200001
#include <stdio.h>
#define SQ(x) (x)*(x)
#define M0(x,y) SQ(x)+SQ(y)<4?0:0xe0
#define M1(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M0(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0)):0xc0
#define M2(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M1(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0xa0
#define M3(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M2(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x80
#define M4(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M3(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x60
#define M5(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M4(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x40
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/bnagaev/mxe-i686-w64-mingw32.static.posix.dw2'
uname -a
Linux gcc4 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
774ca9ad262eb895e9d81c522c7e65490f96e465 - allow non-default excpetion handling targets [2 days ago] [ (HEAD, master)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/bnagaev/mxe-i686-w64-mingw32.static.posix.dw2'
uname -a
Linux gcc4 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
774ca9ad262eb895e9d81c522c7e65490f96e465 - allow non-default excpetion handling targets [2 days ago] [ (HEAD, master)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
@emtee40
emtee40 / jadx.patch
Created May 12, 2020 02:58 — forked from romainthomas/jadx.patch
Jadx custom simplification
diff --git a/jadx-core/src/main/java/jadx/core/Jadx.java b/jadx-core/src/main/java/jadx/core/Jadx.java
index 91ea0905..175b73ed 100644
--- a/jadx-core/src/main/java/jadx/core/Jadx.java
+++ b/jadx-core/src/main/java/jadx/core/Jadx.java
@@ -47,6 +47,9 @@ import jadx.core.dex.visitors.shrink.CodeShrinkVisitor;
import jadx.core.dex.visitors.ssa.SSATransform;
import jadx.core.dex.visitors.typeinference.TypeInferenceVisitor;
+// Deobfuscation passes
+import jadx.core.dex.visitors.deobf.DecodeStrings;
@emtee40
emtee40 / jadx.patch
Created May 12, 2020 02:58 — forked from romainthomas/jadx.patch
Jadx custom simplification
diff --git a/jadx-core/src/main/java/jadx/core/Jadx.java b/jadx-core/src/main/java/jadx/core/Jadx.java
index 91ea0905..175b73ed 100644
--- a/jadx-core/src/main/java/jadx/core/Jadx.java
+++ b/jadx-core/src/main/java/jadx/core/Jadx.java
@@ -47,6 +47,9 @@ import jadx.core.dex.visitors.shrink.CodeShrinkVisitor;
import jadx.core.dex.visitors.ssa.SSATransform;
import jadx.core.dex.visitors.typeinference.TypeInferenceVisitor;
+// Deobfuscation passes
+import jadx.core.dex.visitors.deobf.DecodeStrings;
@emtee40
emtee40 / yandex_passwords_sorted.csv
Created May 14, 2021 20:52 — forked from code-of-kpp/yandex_passwords_sorted.csv
Leaked yandex passwords w/o logins sorted by popularity
We can't make this file beautiful and searchable because it's too large.
password count
123456 39177
123456789 13892
111111 9826
qwerty 7926
1234567890 5853
1234567 4668
7777777 4606
123321 4324
000000 3304