Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #!/usr/bin/env bash | |
| # | |
| # Setup automatic sync from a Github upstream repository to a fork | |
| # - a branch "actions" will be created (or re-used) to hold the Github action to run | |
| # - sync is done each hour | |
| # - branch 'actions' needs to be the default branch of your fork (=> settings) | |
| # - the script is able to both create and update and rewrite the sync script if you modify this script file | |
| # | |
| # Author: Mathiue Carbou |
Tutorial: https://quickfever.com/install-older-version-of-chrome-extension
Extension Fonts :
on Windows: C:\Users\AppData\Local\Google\Chrome\User Data\Default\Extensions\\manifest.json (find out the extensions ID by enabling developer mode in the extension settings page)
| #!/bin/bash | |
| case $# in | |
| 0) | |
| echo "Usage: $0 {start|stop}" | |
| exit 1 | |
| ;; | |
| 1) | |
| case $1 in | |
| start) |
| #!/usr/bin/env/python | |
| # | |
| # More of a reference of using jinaj2 without actual template files. | |
| # This is great for a simple output transformation to standard out. | |
| # | |
| # Of course you will need to "sudo pip install jinja2" first! | |
| # | |
| # I like to refer to the following to remember how to use jinja2 :) | |
| # http://jinja.pocoo.org/docs/templates/ | |
| # |
| # From "A simple unix/linux daemon in Python" by Sander Marechal | |
| # See http://stackoverflow.com/a/473702/1422096 | |
| # | |
| # Modified to add quit() that allows to run some code before closing the daemon | |
| # See http://stackoverflow.com/a/40423758/1422096 | |
| # | |
| # Joseph Ernest, 2016/11/12 | |
| import sys, os, time, atexit | |
| from signal import signal, SIGTERM |
| #!/bin/bash | |
| OPENSSL_VERSION="1.0.1g" | |
| curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz | |
| tar -xvzf openssl-$OPENSSL_VERSION.tar.gz | |
| mv openssl-$OPENSSL_VERSION openssl_i386 | |
| tar -xvzf openssl-$OPENSSL_VERSION.tar.gz | |
| mv openssl-$OPENSSL_VERSION openssl_x86_64 | |
| cd openssl_i386 |