-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNOTES
246 lines (228 loc) · 8.73 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
###########################################################################
Android Accessibility
** Ensure FN + Android (W)
<OS> = alt/cmd
<leader> = [CTRL]+<OS>
<OS> + U # Accessibility Settings
<OS> + / # Accessibility Keys
<OS> + [TAB] # Recent Apps
[CTRL][ALT] + Z # Toggle Accessibility Talkback
###########################################################################
- [ESC] # Abort
- [ALT] # Start Menu
- [ALT] + [TAB] # Open Apps
- [ALT] + A # Apps
- [CTRL] + [SPACE] # Change language
- [SHIFT] + [SPACE] # Change language
- [HAMBURGER]
- (F5) # Context Menu (Right Click)
- (F5) # (Chrome) Context Menu
- <OS> + B # Browser
- <OS> + C # Contacts
- <OS> + E # Email
- <OS> + F # Search
- <OS> + H # Voice Activation
- <OS> + I # Bixby
- <OS> + J # Tips
- <OS> + K # Calendar
- <OS> + L # Lock Screen
- <OS> + M # Maps
- <OS> + N # Notifications
- <OS> + Q # Quick Panel
- <OS> + R # Files
- <OS> + S # Messages
- <OS> + U # Accessibility Settings
- <OS> + W # Start/Stop DEX
- <OS> + V # Volume
- <OS> + Y # Smart view
- <OS> + Z # Settings
- <OS> + [ENTER] # Home
- <OS> + [DEL] # Back
- [F4] - [F12] - (Check keyboard layout)
- [FN][F1] # Keyboard Shortcuts menu
- [FN]+[F4] - [FN]+[F12] - (Check keyboard layout)
- [FN][DEL] # (ios) Toggle desktop / (android) screenshot
# ANSI UNICODE ASCII UTF-8 ------------------------------------------------
# - https://jkorpela.fi/chars
# - https://jkorpela.fi/chars/
# - Guide - https://jkorpela.fi/unicode/guide.html
# - Spaces - https://jkorpela.fi/chars/spaces.html
# - Math Symbols - https://jkorpela.fi/math/syms.html
# - Dashes & Hyphens - https://jkorpela.fi/dashes.html
# Youtube -----------------------------------------------------------------
- [CTRL] # Keyboard Shortcut Menu
- [SPACE] # Play / Pause
- → # Seek Forward
- ← # Seek Backwards
- [ALT] + → # Next Chapter
- [ALT] + ← # Previous Chaper
- C # Toggle Closed Captions
# Chrome ------------------------------------------------------------------
# https://github.com/jaredwilli/devtools-cheatsheet?tab=readme-ov-file
- [ESC] # Console
- [CTRL][TAB] # Next tab
- [CTRL][SHIFT][TAB] # Prev tab
- [CTRL][SPACE] # Completion Menu
- [CMD]+ , # Search Settings
- [CMD]+ ? # Toggle Comment
- [CTRL]+→ # Next Word
- [ALT]+← # Previous Word
- [ALT]+= # Larger size
- [CTRL]+- # Smaller size
- [CTRL]+0 # Default size
- [CTRL]+A # BOL
- [CTRL]+B # Back one character
- [CTRL][SHIFT]+B # Bookmarks
- [CTRL][SHIFT]+C # Switch to Elements
- [CMD]+ D # Bookmark current page
- [CTRL]+D # Delete character after
- [CTRL][SHIFT]+D # DevTools Layout Switch
- [CMD][SHFT]+D # swap devtools layout
- [ALT]+E # Open menu
- [CTRL]+E # EOL
- [CMD]+ F # Find
- [CTRL]+F # Forward one character
- [CMD][SHIFT]+F # Fullscreen
- [CTRL]+G # GOTO Line
- H - # Hide element
- [CMD]+ H # History
- [CTRL]+H # Delete character before
- [CMD][SHIFT]+H # Home
- [CMD][SHIFT]+H # (dev) Breakpoints Pane
- [CMD][ALT]+I # DevTools
- [CMD][ALT]+J # Dev Logs
- [CTRL]+K # Delete to EOL
- [CMD]+ L # Address bar
- [CTRL]+M # Matching Bracket
- [CMD][SHIFT]+M # Mobile Responsive
- [CMD]+ N # Next Line
- [CTRL]+N # New tab
- [CTRL][SHIFT]+N # New incognito tab
- [CTRL]+O # Following to new line
- [CMD]+ P # Previous Line
- [CTRL]+P # Print
- [CTRL]+R # Reload
- [CTRL][SHIFT]+R # Reload (with cache busting)
- [CTRL]+T # Swap Character Right
- [CTRL][SHIFT]+T # Reopen last closed tab
- [CTRL]+V # Page Down
- [CMD]+ W # Close current tab
# DEX ---------------------------------------------------------------------
- <OS> + [UP]
- Maximize floating window to fullscreen
- <OS> + [DOWN]
- Minimize fullscreen to floating window
- Minimize floating window to taskbar.
- <OS> + [RIGHT]
- Centers floating window from left sticky
- Right sticky from floating window
- Left floating window ffrom right sticky
- <OS> + [LEFT]
- Centers floating window from right sticky
- Left sticky from floating window
- Right floating window ffrom left sticky
# LINUX ------------------------------------
- Directory Structure
- https://unix.stackexchange.com/q/679569
# TERMUX ------------------------------------------------------------------
# - https://dev.to/voyeg3r/termux-useful-tweaks-3mjl
# Termux:PRoot - https://wiki.termux.com/wiki/PRoot
# Termux:Shells - https://wiki.termux.com/wiki/Shells
# Termux:Boot - https://wiki.termux.com/wiki/Termux:Boot
# - https://github.com/termux/termux-boot
# - https://f-droid.org/en/packages/com.termux.boot
# Termux:Services - https://wiki.termux.com/wiki/Termux-services
# - https://github.com/termux/termux-services
# Termux:Styling - https://wiki.termux.com/wiki/Termux:Styling
# - https://github.com/termux/termux-Styling
# - https://f-droid.org/en/packages/com.termux.Styling
# Termux:Widget - https://wiki.termux.com/wiki/Termux:Widget
# - https://github.com/termux/termux-widget
# - https://f-droid.org/en/packages/com.termux.widget
#
- [CTRL][ALT] + → # Drawer
- [CTRL][ALT] + ← # Close Drawer
- [CTRL][ALT] + K # Soft Keyboard
- [CTRL][ALT] + - # Reduce text size
- [CTRL][ALT] + = # Increase text size
- [CTRL][ESC] # Context Menu (Right Click)
- [CTRL][ALT] + {N} # Switch to Session N (0-9)
- [CTRL][ALT] + C # New Session
- [CTRL][ALT] + M # Context Menu (Right Click)
- [CTRL][ALT] + N # Next Session
- [CTRL][ALT] + ↑ # Next Session
- [CTRL][ALT] + P # Previous Session
- [CTRL][ALT] + ↓ # Previous Session
- [CTRL][ALT] + R # Rename Session
- [CTRL][ALT] + U # URL List
- [CTRL][ALT] + V # Paste
# TMUX --------------------------------------------------------------------
# Bind(ed) Keys
# - tmux show-hooks -g
# - tmux list-keys
# - tmux list-keys -a(ll)
# - tmux list-keys -N(ame)
# - tmux list-keys -T(able)
# Shortcut mappings
# - <prefix>+t # time
# - <prefix>+q # indexes
# VIM ---------------------------------------------------------------------
# - https://vim.rtorr.com
# :K - (SHIFT+K) keywordprg(default to man page for under cursor)
# :h key-notation - For mappings
# :h <key> - For mapping
# :h term.txt ------------------------------
# set termcap? - Term Capabilities
# gf - Open file under cursor
# gg - Current key mappings
# gq - Automatic formatting
# :h group-name
# :h cterm-colors
# :h highlight-groups
# :h index - All keyboard mappings
# :h motion.txt ------------------------------
# :jumps - List
# :clearjumps - List
# <C-g> - Current location in file
# <C-i> - Previous Jump Position
# <C-k> extended unicode digraphs (:h digraphs)
# <C-v> (<C-q> on Windows) Then type escape command
# :buffers, :files, :ls, :sbuffer :bdelete, :badd {1} {2} {3}
# :verbose map - Keyboard mappings - https://vi.stackexchange.com/q/7722
# :verbose autocmd [event]
# FULL LIST OF SHORTCUTS - https://gist.github.com/tuxfight3r/0dca25825d9f2608714b
# BASH --------------------------------------------------------------------
# - Explain Shell - https://explainshell.com/
# - Bash Guide - https://mywiki.wooledge.org/BashGuide
# - Busybox - https://busybox.net/downloads/BusyBox.html
# - Shebang - https://en.m.wikipedia.org/wiki/Shebang_(Unix)
# - Shell Expansion https://stackoverflow.com/a/59629043/173208
# - SED User Guide - https://gnu.org/software/sed/manual/sed.html
# - AWK User Guide - https://gnu.org/software/gawk/manual/gawk.html
# - File Descriptors - https://en.m.wikipedia.org/wiki/File_descriptor
# - Math Expressions - https://redswitches.com/blog/bash-arithmetic-operators
# - Compgen (shell commands) - https://baeldung.com/linux/compgen-command-usage
# - Exit Codes - https://cyberciti.biz/faq/linux-bash-exit-status-set-exit-statusin-bash/
# - Special Parameters - https://gnu.org/software/bash/manual/bash.html#Special-Parameters
# - POSIX SHELL - https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
# - systemd
# - https://wiki.archlinux.org/title/Systemd
# - https://seb.jambor.dev/posts/systemd-by-example-part-1-minimization
# - https://medium.com/the-code-vault/systemd-simple-service-examples-ce586afeed27
# - https://digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
# - echo vs printf
# - https://in-ulm.de/%7Emascheck/various/echo+printf/
# - https://unix.stackexchange.com/q/65803/why-is-printf-better-than-echo
# - Reverse Search
# - https://superuser.com/q/472846/how-to-reverse-i-search-back-and-forth
# - https://gnu.org/software/bash/manual/html_node/Commands-For-History.html
# - https://gnu.org/software/emacs/manual/html_node/emacs/Basic-Isearch.html
# - https://codeburst.io/use-reverse-i-search-to-quickly-navigate-through-your-history-917f4d7ffd37
# Mail --------------------------------------------------------------------
- [CTRL]+N # New message
# Readline ----------------------------------------------------------------
<C-a> (BOL)
<C-e> (EOL)
<C-n> (Next command)
<C-p> (Previous command)
<C-w> Delete word behind)