Example:
Add to .bashrc/.zshrc as an alias:
alias nonprint='perl -pe "use Term::ANSIColor; s/([^[:print:]\n])/colored(sprintf(\"<0x%02x>\", ord($1)), magenta)/ge"'Use it as a script:
| Summary of ANSI standards for ASCII terminals Joe Smith, 18-May-84 | |
| Contents: | |
| 1. Overview and Definitions | |
| 2. General rules for interpreting an ESCape Sequence | |
| 3. General rules for interpreting a Control Sequence | |
| 4. C0 and C1 control codes in numeric order | |
| 5. Two and three-character ESCape Sequences in numeric order | |
| 6. Control Sequences in numeric order | |
| 7. VT100 emulation requirements |
| fc -ln 1 | sed 's/^\t //' | awk '{print $2}' | sort | uniq -c | sort -n |
| go list -mod=mod -f '{{if and (not .Indirect) .Update}}{{.String}}{{end}}' -m -u all |
| ; ------------ | |
| ; Push to talk | |
| ; ------------ | |
| ; | |
| ; This AutoHotKey script implements push-to-talk at the Windows mixer level. | |
| ; | |
| ; The hotkey set by HOTKEY_TOGGLE will toggle between "Open" and "PTT" mode: | |
| ; - Open: Microphone is unmuted; | |
| ; - PTT: Microphone is only unmuted while HOTKEY_PTT is pressed. | |
| ; |
| sudo su -c 'echo "export MOZ_DBUS_REMOTE=1" > /etc/profile.d/firefox_wayland_fixes.sh' |
| ABRANTES | 35377 | |
|---|---|---|
| AGUIAR DA BEIRA | 4740 | |
| ALANDROAL | 5064 | |
| ALBERGARIA-A-VELHA | 24128 | |
| ALBUFEIRA | 41123 | |
| ALCANENA | 12860 | |
| ALCOBAÇA | 53641 | |
| ALCOCHETE | 19505 | |
| ALCOUTIM | 2244 | |
| ALCÁCER DO SAL | 11712 |
| version: '3.5' | |
| networks: | |
| # for use by containers in other docker-compose files to connect to cadence | |
| cadence: | |
| # telegraf network (set up in another docker-compose file, you can replace with your own logging solution) | |
| monitoring_monitoring: | |
| external: true |
| 'use strict'; | |
| const puppeteer = require('puppeteer'); | |
| const CDP = require('chrome-remote-interface'); | |
| const fs = require('fs').promises; | |
| function timeout(ms) { | |
| return new Promise(resolve => setTimeout(resolve, ms)); | |
| } |