A few fonts for coding or your terminal to consider using:
Fonts:
- JetBrains Mono - A typeface for developers
- Hack - A typeface designed for source code
- FiraCoda - Monospaced font with programming ligatures
Resources:
A few fonts for coding or your terminal to consider using:
Fonts:
Resources:
I hereby claim:
To claim this, I am signing this object:
Prep:
Create a symlink to the AirPort command in Terminal:
ln -s /System/Library/PrivateFrameworks/Apple80211.framework/
Versions/Current/Resources/airport /Usr/bin/airport
# test utility
airport -I
it's a terminal multiplexer that allows access to multiple terminal sessions in a single window. so, you can split terminals into panes. you can move, resize, and switch between them.
it's also useful for detaching processes from the controlling terminal. so, a SSH session can remain active without actually being visible. i recommend using tmux if you're doing remote work via ssh.
install tmux
with sudo apt install tmux
.
" global yanking with the OS clipboard | |
set clipboard=unnamed | |
" make the arrow keys do something useful, resize the viewports accordingly. | |
nnoremap <Left> :vertical resize +2<CR> | |
nnoremap <Right> :vertical resize -2<CR> | |
nnoremap <Up> :resize -2<CR> | |
nnoremap <Down> :resize +2<CR> | |
syntax on " enable syntax highlighting |
Steps to install Python 3.8 on wlanpi.
WLAN Pi build used in this writing (release 1.9.0-beta3b).
Host OS:
Linux wlanpi 4.19.66-sunxi64 #5.93.190815 SMP Thu Aug 15 23:19:53 CEST 2019 aarch64 GNU/Linux
# Obtaining your cleartext WPA2 PSK | |
Linux: | |
`cat /etc/NetworkManager/system-connections/<WPA2-NETOWRK>` | |
macOS: | |
`security find-generic-password -ga "<WPA2-NETOWRK>" | grep "password:"` |
Loading a .cs
file directly from PowerShell. This was taken from Knuckle-Dragger's SO answer.
There is no compile of .cs
code, just edit the -Path
argument to point to your .cs file. I also had to add -Raw
when I tried to do said thing outside of this exmaple.
PowerShell file
$source = Get-Content -Path "A:\basic.cs" -Raw
Add-Type -TypeDefinition "$source"
# ██████╗ ███████╗████████╗ ██╗ ██╗██╗███████╗██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗ | |
# ██╔════╝ ██╔════╝╚══██╔══╝ ██║ ██║██║██╔════╝██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝ | |
# ██║ ███╗█████╗ ██║ ██║ █╗ ██║██║█████╗ ██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗ | |
# ██║ ██║██╔══╝ ██║ ██║███╗██║██║██╔══╝ ██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║ | |
# ╚██████╔╝███████╗ ██║ ╚███╔███╔╝██║██║ ██║ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║ | |
<# | |
.Synopsis | |
Gets wireless NIC settings from a remote computer |