Themed Windows Terminal

OH MY POSH - Terminal looking great

OH MY POSH - Terminal looking great Overview This is the font and Oh-My-Posh theme I use in Windows Terminal. This is the guide I use myself to get my configuration running. Feel free to use it as help and use what ever font and theme that You prefer. Links https://ohmyposh.dev/ https://www.nerdfonts.com/ https://chrisant996.github.io/clink/ # Needed to get Oh My Posh working in Command Prompt. https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/Meslo.zip # My prefered font. Copy to C:\Windows\Fonts. Set as perfered font in Windows Terminal before start setup Oh My Posh. ...

February 11, 2025 · 2 min · Magnus Larsson - hello (a) thinbusiness.se

Rar Commands

Public Draft Usage: rar <command> -<switch 1> -<switch N> <archive> <files...> <@listfiles...> <path_to_extract/> <Commands> a Add files to archive c Add archive comment ch Change archive parameters cw Write archive comment to file d Delete files from archive e Extract files without archived paths f Freshen files in archive i[par]=<str> Find string in archives k Lock archive l[t[a],b] List archive contents [technical[all], bare] m[f] Move to archive [files only] p Print file to stdout r Repair archive rc Reconstruct missing volumes rn Rename archived files rr[N] Add data recovery record rv[N] Create recovery volumes s[name|-] Convert archive to or from SFX t Test archive files u Update files in archive v[t[a],b] Verbosely list archive contents [technical[all],bare] x Extract files with full path <Switches> - Stop switches scanning @[+] Disable [enable] file lists ad[1,2] Alternate destination path ag[format] Generate archive name using the current date ai Ignore file attributes am[s,r] Archive name and time [save, restore] ap<path> Set path inside archive as Synchronize archive contents c- Disable comments show cfg- Disable read configuration cl Convert names to lower case cu Convert names to upper case df Delete files after archiving dh Open shared files ds Disable name sort for solid archive dw Wipe files after archiving e[+]<attr> Set file exclude and include attributes ed Do not add empty directories ep Exclude paths from names ep1 Exclude base directory from names ep3 Expand paths to full including the drive letter ep4<path> Exclude the path prefix from names f Freshen files hp[password] Encrypt both file data and headers ht[b|c] Select hash type [BLAKE2,CRC32] for file checksum id[c,d,n,p,q] Display or disable messages ierr Send all messages to stderr ilog[name] Log errors to file inul Disable all messages isnd[-] Control notification sounds iver Display the version number k Lock archive kb Keep broken extracted files log[f][=name] Write names to log file m<0..5> Set compression level (0-store...3-default...5-maximal) mc<par> Set advanced compression parameters md[x]<n>[kmg] Dictionary size in KB, MB or GB me[par] Set encryption parameters ms[ext;ext] Specify file types to store mt<threads> Set the number of threads n<file> Additionally filter included files n@ Read additional filter masks from stdin n@<list> Read additional filter masks from list file o[+|-] Set the overwrite mode oh Save hard links as the link instead of the file oi[0-4][:min] Save identical files as references ol[a,-] Process symbolic links as the link [absolute paths, skip] op<path> Set the output path for extracted files or Rename files automatically ow Save or restore file owner and group p[password] Set password qo[-|+] Add quick open information [none|force] r Recurse subdirectories r- Disable recursion r0 Recurse subdirectories for wildcard names only rr[N] Add data recovery record rv[N] Create recovery volumes s[<N>,v[-],e] Create solid archive s- Disable solid archiving sc<chr>[obj] Specify the character set sfx[name] Create SFX archive si[name] Read data from standard input (stdin) sl<size>[u] Process files with size less than specified sm<size>[u] Process files with size more than specified t Test files after archiving ta[mcao]<d> Process files modified after <d> YYYYMMDDHHMMSS date tb[mcao]<d> Process files modified before <d> YYYYMMDDHHMMSS date tk Keep original archive time tl Set archive time to latest file tn[mcao]<t> Process files newer than <t> time to[mcao]<t> Process files older than <t> time ts[m,c,a,p] Save or restore time (modification, creation, access, preserve) u Update files v<size>[u] Create volumes with size in [bBkKmMgGtT] units ver[n] File version control vp Pause before each volume w<path> Assign work directory x<file> Exclude specified file x@ Read file names to exclude from stdin x@<list> Exclude files listed in specified list file y Assume Yes on all queries z[file] Read archive comment from file

March 10, 2025 · 3 min
Manage git with Sublime Merge

Manage Git with Sublime Merge

Public Draft Quick start Works for Linux, Mac and Windows. When started first time - connect to existing repository or create a new. If connecting to existing repository all changes in the repository can be viewed. Link https://www.sublimemerge.com Screenshots

March 8, 2025 · 1 min
Winget

Winget

Public Draft Winget commands The winget command line utility enables installing applications and other packages from the command line. usage: winget [<command>] [<options>] The following commands are available: install Installs the given package show Shows information about a package source Manage sources of packages search Find and show basic info of packages list Display installed packages upgrade Shows and performs available upgrades uninstall Uninstalls the given package hash Helper to hash installer files ...

March 5, 2025 · 2 min
Kasm Workspacesl

Kasm Workspaces

Installation Prepare a Linux based VM Install a virtual machine to hosting KASM Workspaces. 2 vCPU, 4GB RAM and 50 GB disk is minimal requrements. In this build - Rocky Linux is used. https://rockylinux.org/download sudo dnf update # Update to latest packages sudo nmtui # Set static IP hostnamectl # Check host name hostnamectl set-hostname kasm.local # Set host name Install KASM sudo -i cd /tmp curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.16.1.98d6fa.tar.gz dnf install tar tar -xf kasm_release_1.16.1.98d6fa.tar.gz bash kasm_release/install.sh -L 8443 # -L 8443 change default web port from 443 to 8443. ...

February 19, 2025 · 1 min · Magnus Larsson - hello (a) thinbusiness.se
IPv4_Packet-en.svg

IPv4

Public Draft Typical /24 IPv4 range 192.168.0.0 Network 192.168.0.1 Gateway 192.168.0.255 Broadcast (IETF) document RFC-1918 , Private IPv4 ranges reserved by the IANA. 10.0.0.0/8 IP addresses: 10.0.0.0 – 10.255.255.255 169.254.0.0/16 IP addresses: 169.254.0.0 - 169.254.255.255 (APIPA - Automatic Private IP Addressing) 172.16.0.0/12 IP addresses: 172.16.0.0 – 172.31.255.255 192.168.0.0/16 IP addresses: 192.168.0.0 – 192.168.255.255 Subnet mask Class A - 16 777 214 adresses Public IP Range: 1.0.0.0 to 127.0.0.0 11111111.00000000.00000000.00000000 ...

February 17, 2025 · 2 min
Nextcloud AIO

Nextcloud All-in-One on Synology

Public Draft Installation Prepare with “ln -s /var/run/docker.sock /volume1/docker/nextcloud/docker.sock” sudo docker run –init –sig-proxy=false –name nextcloud-aio-mastercontainer –restart always –publish 8080:8080 –volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config –volume /volume1/docker/nextcloud/docker.sock:/var/run/docker.sock:ro –env APACHE_PORT=11000 –env APACHE_IP_BINDING=0.0.0.0 –env WATCHTOWER_DOCKER_SOCKET_PATH="/volume1/docker/nextcloud/docker.sock" –env NEXTCLOUD_DATADIR="/volume1/nextcloud/data" –env COLLABORA_SECCOMP_DISABLED=“true” nextcloud/all-in-one:latest Password: # Save password to access admin interface. This is your encryption password for backups: # Save encryption password. External link: https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md

February 15, 2025 · 1 min
Git

Git How To

Public Draft Links https://git-scm.com/ https://git-scm.com/downloads/linux https://git-scm.com/downloads/mac https://git-scm.com/downloads/win GIT Commands git init git status git add . # Add files from staging area git reset . # Remove files from staging area git checkout -- git commit - m "Text" git branch new-branch git checkout new-branch git merge new-branch git log --all --graph git config --global alias.s "status" # Set alias in git git config --global alias.cm "commit -m" git config --global user.email "your@example.com" git config --global user.name "Your Name" .gitignore # file to put ignored file git commit --amend --reset-author git commit -m "Text" --amend # Add aditional files to same version git checkout commit_hash # go to previous version git checkout commit_hash File, dir or . # Restore file from previous version git commit -m git restore git branch -M main git remote add origin git push -u origin main git remove origin git pull git push origin main --set-upstream git push origin main -f git clone git folder git fetch # Get changes git branch # List local git branch -r # List remote git branch -a #List all git checkout --track origin/my-branch-name # Switch to remote branch git branch -d # Delete git branch -D # Force delete git push origin --delete my-branch-name # Delete remote branch

February 14, 2025 · 1 min
Hugo

Hugo How To

Public Draft Install hugo new site thinbusiness cd thinbusiness git init Install theme git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically) Update theme git submodule update --remote --merge echo “theme = ‘PaperMod’” » hugo.toml hugo new content content/posts/my-first-post.md hugo server -D

February 13, 2025 · 1 min