Skip to content

Instantly share code, notes, and snippets.

View thyrlian's full-sized avatar
🏀
🎽🩳👟

Jing Li thyrlian

🏀
🎽🩳👟
View GitHub Profile
// ANDROID_SDK_VERSION=6858069
// https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip
cmdline-tools
├── NOTICE.txt
├── bin
│   ├── apkanalyzer
│   ├── avdmanager
│   ├── lint
│   ├── screenshot2
@thyrlian
thyrlian / RSS-feeds
Created October 24, 2020 08:45
My favorite RSS feeds
# SvN - Signal v. Noise: Strong opinions and shared thoughts on design, business, and tech. By the makers (and friends) of Basecamp. Since 1999.
https://m.signalvnoise.com/feed/
@thyrlian
thyrlian / TechnicalWriting.md
Last active September 26, 2020 21:21
Notes taken from Technical Writing Courses by Google Developers (https://developers.google.com/tech-writing)
@thyrlian
thyrlian / TelekomGlasfaser.md
Last active January 4, 2024 08:09
Telekom Glasfaser (MagentaZuhause)
@thyrlian
thyrlian / JavaScriptEventLoop.md
Last active April 28, 2018 09:57
JavaScript Event Loop

Note-taking for What the heck is the event loop anyway? by Philip Roberts.

JavaScript: a single-threaded, non-blocking, asynchronous, concurrent language.

JavaScript has a call stack, an event loop, a callback queue, some other APIs and stuff.

V8 has a call stack and a heap.

DOM, Ajax (XMLHttpRequest), setTimeout are from Web APIs provided by browser.

@thyrlian
thyrlian / author_info_changer.sh
Created September 26, 2017 07:58
Change the author information (name and email) for historical git commits
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="jingli@example.com"
CORRECT_NAME="Jing Li"
CORRECT_EMAIL="thyrlian@gmail.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
@thyrlian
thyrlian / KaliNetHunterForNexus9.md
Last active November 2, 2022 22:33
How to build & install Kali NetHunter on Nexus9 from macOS

Prerequisites

  • Enable USB debugging (and allow RSA key fingerprint from connected computer)
  • Allow OEM unlocking
  • Have Android SDK installed on computer

Build

  • Clone kali-nethunter repository
  • Pull a Python Docker image python:2.7.14-jessie (even my local fresh macOS has problem of building)
  • Run Python Docker container: docker run -it -v [your-cloned-kali-nethunter-repo]:/root/kali-nethunter python:2.7.14-jessie bash
  • Build: python /root/kali-nethunter/nethunter-installer/build.py -d flounder --nougat --rootfs full (you have to build the Nougat version on your own, because the latest official version is only for Marshmallow)

Keybase proof

I hereby claim:

  • I am thyrlian on github.
  • I am jingli (https://keybase.io/jingli) on keybase.
  • I have a public key whose fingerprint is 5975 EDB4 59E4 0811 BCEB 38B7 FB23 D26E A373 EB78

To claim this, I am signing this object: