Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/usr/bin/env python | |
from __future__ import print_function | |
import os | |
import shutil | |
import subprocess | |
def get_width(default=80): | |
'''Attempt to detect console width and default to 80''' |
/* | |
* This is free and unencumbered software released into the public domain. | |
* | |
* For more information, please refer to <https://unlicense.org> | |
*/ | |
//Regular text | |
#define BLK "\e[0;30m" | |
#define RED "\e[0;31m" | |
#define GRN "\e[0;32m" |
commit ea830e03d4d4562b1ff225940f65bceddd9cad6c | |
Author: Hayaki Saito <[email protected]> | |
Date: Sun Jun 11 23:46:45 2017 +0900 | |
Add sixel graphics support | |
Signed-off-by: Hayaki Saito <[email protected]> | |
diff --git a/Makefile b/Makefile | |
index d8595fe..a25d040 100644 |
#include <iostream> | |
#include "borrow_checker.hpp" | |
int main() | |
{ | |
auto i = 42; | |
// borrow `i` under name `ref` | |
borrow_var(ref, i) |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
#!/bin/bash | |
# Tom Hale, 2016. MIT Licence. | |
# Print out 256 colours, with each number printed in its corresponding colour | |
# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163 | |
set -eu # Fail on errors or undeclared variables | |
printable_colours=256 |
Join the room #freenode_<#channel>:matrix.org
, replacing <#channel>
with the name of the IRC channel. For example, in order to join the #prometheus
IRC channel, join the room #freenode_#prometheus:matrix.org
on matrix.org.
In vector.im, rooms can be joined with the directory symbol on the bottom left.