- Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
import SwiftUI | |
struct EditTextView: View { | |
@Binding var text: String | |
var placeholder: String = "" | |
var keyboard: UIKeyboardType = .default | |
var error: String? = nil | |
var failure: Bool? = nil |
----------------------------- | |
-- VARIABLES | |
----------------------------- | |
local o = vim.o | |
local wo = vim.wo | |
local bo = vim.bo | |
local g = vim.g -- global variables | |
local opt = vim.opt | |
local cmd = vim.cmd -- commands |
based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
$ echo -e "\e[3mitalic\e[23m"
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
# Install: | |
# | |
# mkdir ~/.terminfo # optional; can also install to $HOME/share/terminfo | |
# infocmp screen-256color > screen-256color.terminfo.original # backup | |
# mkdir dry-run | |
# tic -o dry-run screen-256color.terminfo | |
# infocmp -A dry-run screen-256color > screen-256color.terminfo.new | |
# diff -u screen-256color.terminfo.{original,new} | |
# tic screen-256color.terminfo # overwrites the old terminfo | |
# |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Keychron Keyboards on Linux use the hid_apple
driver (even in Windows/Android mode), both in Bluetooth and Wired modes.
By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn
+ the key to get the usual F1 through F12 keys.
version: '3.9' | |
services: | |
database: | |
image: postgres:14-alpine | |
restart: always | |
container_name: "postgresql" | |
volumes: | |
- ./scripts/database/db.sql:/docker-entrypoint-initdb.d/db.sql | |
- ./database/postgres-data:/var/lib/postgresql/data | |
ports: |
screen-256color|screen with 256 colors and italic, | |
sitm=\E[3m, ritm=\E[23m, | |
use=screen-256color, |
#/bin/bash | |
echo "Normal" | |
echo "\033[1mBold\033[22m" | |
echo "\033[3mItalic\033[23m" | |
echo "\033[3;1mBold Italic\033[0m" | |
echo "\033[4mUnderline\033[24m" | |
echo "== === !== >= <= =>" | |
echo "契 勒 鈴 " |