Skip to content

Instantly share code, notes, and snippets.

View qtxie's full-sized avatar
🏠
Working from home

Qingtian qtxie

🏠
Working from home
  • FullStack Technologies
View GitHub Profile
qt@DESKTOP-M49UILA:~$ ./console castr-open-url/open-url.red
epoll_ctl fd: 5 op: 1 evts: 80000001
tls
tls://140.82.121.4:443
tls/open
tls client
socket/bind
epoll_ctl fd: 6 op: 1 evts: 80000004
cnt: 1
iocp: 32
@qtxie
qtxie / ANSI.md
Created October 5, 2023 02:11 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
do-flush: func [ ;-- assumes frames-list buffer is built and sorted
kind [integer!] ;-- 1: list, 2: reloc-list
/local
frm p e n node new [int-ptr!]
frm-nb w cnt [integer!]
][
either kind = 1 [
n: list
loop count [
node: as node! n/value
@qtxie
qtxie / run-all-comp1.red
Created January 15, 2025 09:06
run-all-comp1.red
Red [
Title: "Red auto-generated test"
Author: "Peter W A Wood"
License: "BSD-3 - https://github.com/dockimbel/Red/blob/origin/BSD-3-License.txt"
Needs: [CSV JSON]
]
comment {
This file is generated by make-run-all-red.r