Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/bin/sh | |
# | |
# This is a simple alternative to /usr/bin/lsb_release which | |
# doesn't require python. | |
# | |
# If /etc/os-release exists then we use that to output data | |
# in a compatible format to the original lsb_release utility. | |
# | |
# I consider this script trivial enough to be in the public-domain, | |
# but any patches or suggestsions will be welcome. |
Last updated: August 2019
I made this for my answer to a question on Arqade/Gaming Stack Exchange.
Enchantment | Levels | Bookshelves |
---|---|---|
Aqua Affinity I | 0 | 0 |
Bane of Arthropods I | 5 | 3 |
import inspector from "inspector"; | |
const url2scriptid = new Map<string, string>(); | |
const session = new inspector.Session(); | |
session.connect(); | |
setupDebugger(); | |
function setupDebugger() { |
# IDA (disassembler) and Hex-Rays (decompiler) plugin for Apple AMX | |
# | |
# WIP research. (This was edited to add more info after someone posted it to | |
# Hacker News. Click "Revisions" to see full changes.) | |
# | |
# Copyright (c) 2020 dougallj | |
# Based on Python port of VMX intrinsics plugin: | |
# Copyright (c) 2019 w4kfu - Synacktiv |
Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.
To be able to send a colored text, you need to use the ansi
language for your code block and provide a prefix of this format before writing your text:
\u001b[{format};{color}m
@echo off | |
wsl exit | |
powershell -Command "Set-NetAdapterLso -Name 'vEthernet (WSL)' -IPv4Enabled $False -IPv6Enabled $False" |