Skip to content

Instantly share code, notes, and snippets.

@Shourai
Shourai / TrueColour.md
Created Apr 4, 2020 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals
View TrueColour.md

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)
@Shourai
Shourai / connmanctl.md
Created Nov 24, 2019 — forked from kylemanna/connmanctl.md
Connmanctl Cheat Sheet
View connmanctl.md
@Shourai
Shourai / Keeping a fork up to date
Last active Oct 18, 2018 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date
View 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 / adb.sh
Last active Aug 19, 2020 — forked from olivier-m/adb.sh
Remove all Google apps from an android phone/tablet (Nexus 5 / Nexus 9 | Marshmallow 6.0.1).
View adb.sh
# With your phone in debug mode, etc.
adb start-server
adb remount
adb shell < remove.sh