Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Shourai
Shourai / adb.sh
Last active August 19, 2020 08:34 — forked from olivier-m/adb.sh
Remove all Google apps from an android phone/tablet (Nexus 5 / Nexus 9 | Marshmallow 6.0.1).
# With your phone in debug mode, etc.
adb start-server
adb remount
adb shell < remove.sh
@Shourai
Shourai / Keeping a fork up to date
Last active October 18, 2018 08:23 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date
### 1. Clone your fork:
git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
### 2. Add remote from original repository in your forked repository:
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@Shourai
Shourai / connmanctl.md
Created November 24, 2019 13:52 — forked from kylemanna/connmanctl.md
Connmanctl Cheat Sheet
@Shourai
Shourai / TrueColour.md
Created April 4, 2020 17:21 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Terminal Colors

There exists common confusion about terminal colors. This is what we have right now:

  • Plain ASCII
  • ANSI escape codes: 16 color codes with bold/italic and background
  • 256 color palette: 216 colors + 16 ANSI + 24 gray (colors are 24-bit)
  • 24-bit true color: "888" colors (aka 16 milion)