Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1b - Decimal:
27
| local threading = require("threading") | |
| local floor, sqrt = math.floor, math.sqrt | |
| local insert, concat = table.insert, table.concat | |
| local RESET = string.char(27) .. "[0m" | |
| local CLEAR_LINE = string.char(27) .. "[2K" | |
| local SHADES = " .'`^\",:;Il!i><~+_-?][}{1)(|\\/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$" | |
| local PRESETS = { |
| logger: log.Logger | |
| rl_log_buf: []byte | |
| rl_log :: proc "c" (logLevel: rl.TraceLogLevel, text: cstring, args: libc.va_list) { | |
| context = runtime.default_context() | |
| context.logger = logger | |
| level: log.Level | |
| switch logLevel { | |
| case .TRACE, .DEBUG: level = .Debug | |
| case .ALL, .NONE, .INFO: level = .Info |
| #!/usr/bin/env python | |
| # https://reverseengineering.stackexchange.com/a/13395 | |
| import sys | |
| import binascii | |
| import struct | |
| import zlib | |
| if (len(sys.argv) <= 1): | |
| print('USAGE:\n%s [configBak.cfg|config.bin]' % sys.argv[0]) | |
| exit(1) |
| 0.0.0.0 a-0001.a-msedge.net | |
| 0.0.0.0 a-0002.a-msedge.net | |
| 0.0.0.0 a-0003.a-msedge.net | |
| 0.0.0.0 a-0004.a-msedge.net | |
| 0.0.0.0 a-0005.a-msedge.net | |
| 0.0.0.0 a-0006.a-msedge.net | |
| 0.0.0.0 a-0007.a-msedge.net | |
| 0.0.0.0 a-0008.a-msedge.net | |
| 0.0.0.0 a-0009.a-msedge.net | |
| 0.0.0.0 a-msedge.net |
| /* Generated by Nelua 0.2.0-dev */ | |
| /* Compile command: gcc "libmylib.c" -o "libmylib" -Wall -fwrapv -g -lm */ | |
| /* Compile hash: 3ubsTFvAUFqRHss7xDS1yGaiVwdM */ | |
| /* ------------------------------ DECLARATIONS ------------------------------ */ | |
| // moved to here: | |
| #ifndef MYLIB_H | |
| #define MYLIB_H | |
| #ifdef __GNUC__ | |
| #pragma GCC diagnostic error "-Wimplicit-function-declaration" |
| local ffi = require 'ffi' | |
| local bit = require 'bit' | |
| local clock_gettime | |
| if ffi.os == 'Windows' then | |
| local UNIX_TIME_START = 0x019DB1DED53E8000LL | |
| local TICKS_PER_SECOND = 10000000LL | |
| ffi.cdef [[ |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"