start new:
tmux
start new with session name:
tmux new -s myname
| Unicode table - List of most common Unicode characters * | |
| * This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable. | |
| Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol. | |
| What is Unicode? | |
| Unicode is a standard created to define letters of all languages and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode. | |
| How to identify the Unicode number for a character? | |
| Type or paste a character: |
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
| class String | |
| # See https://www.unicode.org/versions/Unicode15.0.0/UnicodeStandard-15.0.pdf#page=355 | |
| COMBINING_DIACRITICS = [*0x1DC0..0x1DFF, *0x0300..0x036F, *0xFE20..0xFE2F].pack('U*') | |
| def removeaccents | |
| self | |
| .unicode_normalize(:nfd) # Decompose characters | |
| .tr(COMBINING_DIACRITICS, '') | |
| .unicode_normalize(:nfc) # Recompose characters | |
| end |
| -- vim: tabstop=2 shiftwidth=2 expandtab | |
| -- We almost always start by importing the wezterm module | |
| local wezterm = require 'wezterm' | |
| -- Define a lua table to hold _our_ module's functions | |
| local module = {} | |
| -- Returns a bool based on whether the host operating system's | |
| -- appearance is light or dark. | |
| function module.is_dark() |