Skip to content

Instantly share code, notes, and snippets.

View navhaxs's full-sized avatar

Jeremy Wong navhaxs

View GitHub Profile
@navhaxs
navhaxs / notes.md
Last active March 11, 2018 05:38
TWRP/Android building from source

Notes

  • Using prebuilt kernels are the norm - look at the device repos that twrp hosts. Safe to ignore deprecated warning.

Setup

Using the minimal manifest takes < 3hrs to repo sync.

Use git init <manifestrepouri> -b <android-6.0> --depth=1 and git sync -j5 -c

Makefiles for dayz

"/bin/bash: line 0: test: -ge: unary operator expected"

@navhaxs
navhaxs / wsl.md
Created April 25, 2018 09:02
[Notes] Install Visual Studio Code on WSL / Ubuntu on Windows 10

Collated info from various github issues

It is useful to run code --verbose until you get things working.

  1. First install Xming / alternative, add export DISPLAY=:0.0 to your ~/.bashrc

  2. Install the vs code package

  3. sudo apt install libgtk2.0-0 libxss1 libasound2 libgl1-mesa-glx

@navhaxs
navhaxs / doc.md
Created April 29, 2018 10:52
Recepie - Open Arc menu in gnome shell using Super key without conflicting with + window num

DELL XPS 15 Solutions

Problem Solution
Wifi Replace with Intel
Audio Uninstall smartbyte / KSMRD
Keyboard ?????? BIOS 1.60
Won't turn on Warranty
Crashing Repaste/Undervolting, then warranty
@navhaxs
navhaxs / logcat.log
Created June 23, 2017 14:33
logcat snippet
06-24 00:33:04.054 2315 31312 D HtcWifiDataStallTracker: mIsWifiConnected true mIsDhcpActive false supplicantStateCOMPLETED mOldWifiDisplayStatus 0mIsRoutingComplete true
06-24 00:33:04.213 5211 5241 E MP-Decision: Update arg 2
06-24 00:33:04.246 2315 4380 W SensorService: D/disable: connection.get() = 0xb81d10d0
06-24 00:33:04.246 2315 4380 W SensorService: D/disable: get sensor name = Significant Motion
@navhaxs
navhaxs / Remove LogiLDA from Autorun.reg
Created May 24, 2019 12:58
Windows 10 upgrade fix for RunDLL "There was a problem starting C:\Windows\System32\LogiLDA.dll" The specified module could not be found.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Logitech Download Assistant"=-
@navhaxs
navhaxs / spotify.sh
Last active June 5, 2019 22:27
Magisk boot script to freeze spotify android app until sd card is ready: /data/adb/service.d/spotify.sh and don't forget to chmod 755
#!/system/bin/sh
A=$(getprop sys.boot_completed | tr -d '\r')
while [ "$A" != "1" ]; do
sleep 2
A=$(getprop sys.boot_completed | tr -d '\r')
done
pm disable com.spotify.music
@navhaxs
navhaxs / vps.md
Last active August 6, 2019 04:13
VPS
@navhaxs
navhaxs / blog.md
Created September 10, 2019 12:39
SonicWall NetExtender 2016 on macOS Mojave (I was desparate, okay?)
title author date summary
SonicWall NetExtender 2016 on macOS Mojave
Jeremy
2019-06-18
Replacing VPN software with outdated versions for fun and profit.

WARNING: Big hack

Platform: Mac