Skip to content

Instantly share code, notes, and snippets.

View yozachar's full-sized avatar
🏁

Yozachar yozachar

🏁
  • ::1/128
View GitHub Profile
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"writer": {
"type": "string"
},
@yozachar
yozachar / flutter-setup.md
Last active November 18, 2023 13:23
Local flutter setup

Flutter Setup

$ sudo pacman -S clang --needed

~/ProjectFolder/

$ cat .rtx.toml                                    
ID='XYZ' # PR number.
FORK='https://...' # SSH URL does not seem to work here.
BRANCH_NAME='hotfix' # Branch name *from* which PR originates.
# https://stackoverflow.com/a/32447696/8828460
git fetch upstream pull/$ID/head && git checkout FETCH_HEAD
# if commits are added to upstream/main after PR was created.
git pull upstream master --rebase
# make changes, commit & push (force if required) changes
git push $FORK HEAD:$BRANCH_NAME
@yozachar
yozachar / amd_archinstall.md
Last active November 30, 2023 08:01
ArchLinux Setup

ArchLinux Setup

AMD

(Chaotic) AUR

$ sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
$ sudo pacman-key --lsign-key 3056513887B78AEB
$ sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
@yozachar
yozachar / default-code-profile.json
Last active November 7, 2023 13:07
VSCode default cross-platform settings
{
"diffEditor.ignoreTrimWhitespace": false,
"editor.fontFamily": "'CaskaydiaCove Nerd Font', 'Cascadia Code', 'FiraCode Nerd Font', 'Fira Code', 'Droid Sans Mono', 'Courier New', Consolas, monospace",
"editor.fontLigatures": true,
"editor.linkedEditing": true,
"editor.wordWrap": "on",
"telemetry.telemetryLevel": "off",
"terminal.integrated.commandsToSkipShell": [
"-workbench.action.quickOpenView"
],

iproute2

Tool: ip Command aliases: n neighbour, a addr, l link, r route, t tunnel, ma maddr, mr mroute, -s -stats -statistics Subcommand aliases: [n neighbour : s show f flush], [t tunnel : a add chg change, d del, ls show], [r route : h help]

Tool: ss Aliases: -a --all, -f --family=, -e --extend, -l --listening, -n --numeric, -r --resolve, -o --options, -t --tcp, -u --udp, -w --raw

Common Deprecated Linux networking commands and their replacements