Skip to content

Instantly share code, notes, and snippets.

View ajgringo619's full-sized avatar

ajgringo619

View GitHub Profile
@Prakasaka
Prakasaka / bash-colors.md
Created July 25, 2020 09:14 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@mgalgs
mgalgs / active_window_xlib_demo.py
Created December 7, 2019 00:13
python-xlib example that prints the bbox of the currently active window
# Print the name and bounding box (x1, y1, x2, y2) for the active window in
# a loop.
import time
from collections import namedtuple
import Xlib
import Xlib.display
@gotbletu
gotbletu / ocs-sr
Last active November 14, 2024 20:30
Clonezilla ocs-sr commandline options manpage
Clonezilla (v2.5.0) "ocs-sr" Options
(Reformated for easier reading)
To save or restore image
ocs-sr [OPTION] {MODE} IMAGE_NAME DEVICE
Where MODE is one of
savedisk