Last active
March 10, 2025 20:53
-
-
Save PLP-GTR/fb67974f9774e4e71469f4312c49ea23 to your computer and use it in GitHub Desktop.
Revisions
-
PLP-GTR revised this gist
Mar 10, 2025 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,15 +71,19 @@ httpHeaders () { /usr/bin/curl -I -L $@ ; } # httpHeaders: Grabs he # Docker alias dps='docker ps' # Just shortening (using "$ ps" as base) alias dcp='docker-compose' # Just shortening alias dcu='docker compose up -d' # Laravel Sail alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail' # OneArmy alias oneredo='docker compose down && docker rm community-platform-onearmycommunityplatform-1 && docker rmi onearmycommunityplatform && docker compose up' alias oneclean='docker rm community-platform-onearmycommunityplatform-1 && docker rmi onearmycommunityplatform' # --------------------------------------- # 9. MISCELLANEOUS # --------------------------------------- # Download a YouTube video via "youtube-dl". Usage: $ mp3 https://youtu.be/xyzxyzxyzxyz alias mp3='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 --no-playlist ' alias mp3l='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 ' -
PLP-GTR revised this gist
Dec 11, 2023 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -72,10 +72,10 @@ composer global remove <app> ## Apps to start with * [Bitwarden from AppStore](https://apps.apple.com/de/app/bitwarden/id1352778147?mt=12) to be able to [use Safari extension](https://bitwarden.com/help/install-safari-app-extension/) * [Warp](https://www.warp.dev) via [homebrew](https://formulae.brew.sh/cask/warp) as a modern terminal\ `brew install --cask warp` * or [iTerm2](https://www.iterm2.com/) via [homebrew](https://formulae.brew.sh/cask/iterm2) ([some settings](https://www.typefloundry.com/1-800-iterm-bling.html), i.e. hotkey window)\ `brew install --cask iterm2` * [Alfred](https://www.alfredapp.com/) via [homebrew](https://formulae.brew.sh/cask/iterm2)\ `brew install --cask alfred` * [Sublime Text](https://www.sublimetext.com) via [homebrew](https://formulae.brew.sh/cask/sublime-text)\ -
PLP-GTR revised this gist
Jun 16, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -74,6 +74,8 @@ composer global remove <app> * [Bitwarden from AppStore](https://apps.apple.com/de/app/bitwarden/id1352778147?mt=12) to be able to [use Safari extension](https://bitwarden.com/help/install-safari-app-extension/) * [iTerm2](https://www.iterm2.com/) via [homebrew](https://formulae.brew.sh/cask/iterm2) ([some settings](https://www.typefloundry.com/1-800-iterm-bling.html), i.e. hotkey window)\ `brew install --cask iterm2` * or [Warp](https://www.warp.dev) via [homebrew](https://formulae.brew.sh/cask/warp) as a modern terminal\ `brew install --cask warp` * [Alfred](https://www.alfredapp.com/) via [homebrew](https://formulae.brew.sh/cask/iterm2)\ `brew install --cask alfred` * [Sublime Text](https://www.sublimetext.com) via [homebrew](https://formulae.brew.sh/cask/sublime-text)\ -
PLP-GTR revised this gist
Dec 1, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -143,6 +143,7 @@ which contains ... * [Microsoft Excel](https://products.office.com/en-US/excel) via [homebrew](https://formulae.brew.sh/cask/microsoft-excel): `brew install --cask microsoft-excel` * [Microsoft PowerPoint](https://products.office.com/en-US/powerpoint) via [homebrew](https://formulae.brew.sh/cask/microsoft-powerpoint): `brew install --cask microsoft-powerpoint` * [OneDrive](https://onedrive.live.com/) via [homebrew](https://formulae.brew.sh/cask/onedrive): `brew install --cask onedrive` * Auto Updater, as a dependency via [homebrew](https://formulae.brew.sh/cask/microsoft-auto-update) * [Microsoft Edge](https://www.microsoft.com/edge) via [homebrew](hhttps://formulae.brew.sh/cask/microsoft-edge):\ `brew install --cask microsoft-edge` -
PLP-GTR revised this gist
Nov 24, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,8 @@ * [homebrew](https://brew.sh/) package manager\ `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` * If you are planning to use Python, the Apple Xcode Command Line Tools are [required](https://github.com/Homebrew/homebrew-core/issues/97083#issuecomment-1072451777)\ `xcode-select --install` * [composer](https://getcomposer.org/download/), a dependency Manager for PHP\ Visit download page for instructions on global installation: https://getcomposer.org/download/ -
PLP-GTR revised this gist
Nov 24, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,7 +38,7 @@ composer global install laravel/installer ### App update order 1. Check `Systemeinstellungen` → `Allgemein` → `Softwareupdate` 1. Check App Store for updates → visit it [here](https://www.apple.com/de/app-store/) 2. Check package managers: ``` -
PLP-GTR revised this gist
Oct 24, 2022 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,8 @@ * Set primary hostname (FQDN): `sudo scutil --set HostName <hostname>.home.arpa` * Set bonjour hostname: `sudo scutil --set LocalHostName <hostname>` * Set computer name (finder): `sudo scutil --set ComputerName <hostname>` * after this, `dscacheutil -flushcache` and * reboot ## Package managers -
PLP-GTR revised this gist
Oct 24, 2022 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ # Include private config Include config_plpgtr Host * -
PLP-GTR revised this gist
Jul 29, 2022 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,17 +66,20 @@ uid () { echo "UUID (v4) '${UUID_VAR}' copied to clipboard"; } httpHeaders () { /usr/bin/curl -I -L $@ ; } # httpHeaders: Grabs headers from web page # Docker alias dps='docker ps' # Just shortening (using "$ ps" as base) alias dcp='docker-compose' # Just shortening alias dmc='docker-machine' # Just shortening # Laravel Sail alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail' # --------------------------------------- # 9. MISCELLANEOUS # --------------------------------------- # Download a YouTube video via "youtube-dl". Usage: $ mp3 https://youtu.be/xyzxyzxyzxyz alias mp3='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 --no-playlist ' alias mp3l='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 ' -
PLP-GTR revised this gist
Jul 29, 2022 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -146,7 +146,6 @@ which contains ... ### Development related * [Microsoft Visual Studio Code](https://code.visualstudio.com/) via [homebrew](https://formulae.brew.sh/cask/visual-studio-code): `brew install --cask visual-studio-code` ## Various settings -
PLP-GTR revised this gist
Jul 29, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -145,7 +145,7 @@ which contains ... ### Development related * [Microsoft Visual Studio Code](https://code.visualstudio.com/) via [homebrew](https://formulae.brew.sh/cask/visual-studio-code): `brew install --cask visual-studio-code` * [Setup VSCode for Laravel](https://medium.com/@ardanirohman/laravel-%EF%B8%8F-visual-studio-code-debug-environment-65440274d3b0) ## Various settings -
PLP-GTR revised this gist
Jul 29, 2022 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -143,6 +143,11 @@ which contains ... * [Microsoft Edge](https://www.microsoft.com/edge) via [homebrew](hhttps://formulae.brew.sh/cask/microsoft-edge):\ `brew install --cask microsoft-edge` ### Development related * [Microsoft Visual Studio Code](https://code.visualstudio.com/) via [homebrew](https://formulae.brew.sh/cask/visual-studio-code) * [Setup VSCode for Laravel](https://medium.com/@ardanirohman/laravel-%EF%B8%8F-visual-studio-code-debug-environment-65440274d3b0) ## Various settings ### macOS -
PLP-GTR revised this gist
Jul 29, 2022 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,6 +45,9 @@ composer global install laravel/installer brew update && brew outdated brew upgrade brew update && brew outdated --cask --greedy --verbose brew upgrade --cask --greedy composer global outdated composer global update composer global upgrade -
PLP-GTR revised this gist
Jul 29, 2022 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,8 +42,7 @@ composer global install laravel/installer 2. Check package managers: ``` # Homebrew: Update homebrew and formulae. Show outdated installed apps, upgrade them brew update && brew outdated brew upgrade composer global outdated -
PLP-GTR revised this gist
Jun 8, 2022 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,8 +27,7 @@ Visit download page for instructions on global installation: https://getcomposer brew search telegram brew install telegram-desktop ``` 2. via Apple App Store → visit it [here](https://www.apple.com/de/app-store/) 4. via composer global ``` composer global search laravel @@ -39,7 +38,7 @@ composer global install laravel/installer ### App update order 1. Check `Systemeinstellungen` → `Softwareupdate` 1. Check App Store for updates → visit it [here](https://www.apple.com/de/app-store/) 2. Check package managers: ``` # Homebrew: Update homebrew and formulae. Show outdated installed apps, upgrade them -
PLP-GTR revised this gist
Jun 8, 2022 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,7 @@ brew search telegram brew install telegram-desktop ``` 2. via Apple App Store → visit it [here](https://www.apple.com/de/app-store/) 4. via composer global ``` composer global search laravel @@ -38,6 +38,7 @@ composer global install laravel/installer ### App update order 1. Check `Systemeinstellungen` → `Softwareupdate` 1. Check App Store for updates 2. Check package managers: ``` -
PLP-GTR revised this gist
May 29, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,8 @@ * [homebrew](https://brew.sh/) package manager\ `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` * [composer](https://getcomposer.org/download/), a dependency Manager for PHP\ Visit download page for instructions on global installation: https://getcomposer.org/download/ # Apps -
PLP-GTR revised this gist
May 11, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -106,6 +106,8 @@ composer global remove <app> `brew install youtube-dl` * don't forget to install [ffmpeg](https://ffmpeg.org/) via [homebrew](https://formulae.brew.sh/formula/ffmpeg):\ `brew install ffmpeg` * [speedtest-cli](https://github.com/sivel/speedtest-cli) via [homebrew](https://formulae.brew.sh/formula/speedtest-cli):\ `brew install speedtest-cli` ## Some useful applications -
PLP-GTR revised this gist
May 3, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ## System * [Set computer name](https://support.apple.com/de-de/guide/mac-help/mchlp2322/mac): Systemeinstellungen > Freigaben > Gerätename * Change hostname also in the same window with "edit" button below the input or use the terminal ... * Set primary hostname (FQDN): `sudo scutil --set HostName <hostname>.home.arpa` * Set bonjour hostname: `sudo scutil --set LocalHostName <hostname>` * Set computer name (finder): `sudo scutil --set ComputerName <hostname>` -
PLP-GTR revised this gist
May 3, 2022 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,10 @@ * [Set computer name](https://support.apple.com/de-de/guide/mac-help/mchlp2322/mac): Systemeinstellungen > Freigaben > Gerätename * Change hostname also in the same window with "edit" button below the input * Set primary hostname (FQDN): `sudo scutil --set HostName <hostname>.home.arpa` * Set bonjour hostname: `sudo scutil --set LocalHostName <hostname>` * Set computer name (finder): `sudo scutil --set ComputerName <hostname>` * after this, `dscacheutil -flushcache` and reboot ## Package managers -
PLP-GTR revised this gist
May 3, 2022 . 1 changed file with 16 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -120,6 +120,19 @@ Output example: *Di., 12. Apr., 13:37:00 Uhr (KW: 15, Q2/2022)* * [AppCleaner](https://freemacsoft.net/appcleaner/) via [homebrew](https://formulae.brew.sh/cask/appcleaner):\ `brew install --cask appcleaner` ### Microsoft Office if you need it ... * [Microsoft Office](https://products.office.com/mac/microsoft-office-for-mac/) via [homebrew](hhttps://formulae.brew.sh/cask/microsoft-office):\ `brew install --cask microsoft-office`\ which contains ... * [Microsoft Outlook](https://products.office.com/en-us/outlook/email-and-calendar-software-microsoft-outlook) via [homebrew](https://formulae.brew.sh/cask/microsoft-outlook): `brew install --cask microsoft-outlook` * [Microsoft Word](https://products.office.com/en-US/word) via [homebrew](https://formulae.brew.sh/cask/microsoft-word): `brew install --cask microsoft-word` * [Microsoft Excel](https://products.office.com/en-US/excel) via [homebrew](https://formulae.brew.sh/cask/microsoft-excel): `brew install --cask microsoft-excel` * [Microsoft PowerPoint](https://products.office.com/en-US/powerpoint) via [homebrew](https://formulae.brew.sh/cask/microsoft-powerpoint): `brew install --cask microsoft-powerpoint` * [OneDrive](https://onedrive.live.com/) via [homebrew](https://formulae.brew.sh/cask/onedrive): `brew install --cask onedrive` * [Microsoft Edge](https://www.microsoft.com/edge) via [homebrew](hhttps://formulae.brew.sh/cask/microsoft-edge):\ `brew install --cask microsoft-edge` ## Various settings ### macOS @@ -140,4 +153,6 @@ Output example: *Di., 12. Apr., 13:37:00 Uhr (KW: 15, Q2/2022)* "font_face": "MesloLGMDZ Nerd Font", "font_size": 15, } ``` -
PLP-GTR revised this gist
Apr 25, 2022 . 1 changed file with 8 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,15 +11,17 @@ # ----------------------------- # use exa as ll replacement alias l="exa --header --long --git --all --color-scale" alias ll="l" alias lls="exa --header --long --group --git --all --color-scale" # show files as tree but without dot-files alias llt="exa --header --long --group --git --color-scale --tree" # old aliases, using GNU ls alias gl='gls -oAhp --color --time-style=+" %Y %b %d, %H:%M "' # Preferred 'ls' implementation alias gll="gl" alias glls='gls -lAhp --color --time-style=+" %Y %b %d, %H:%M "' # Preferred 'ls' implementation displaying groups # ------------------------------- # 3. FILE AND FOLDER MANAGEMENT @@ -75,5 +77,6 @@ httpHeaders () { /usr/bin/curl -I -L $@ ; } # httpHeaders: Grabs he # 9. MISCELLANEOUS # --------------------------------------- # Download a YouTube video via "youtube-dl". Usage: $ mp3 https://youtu.be/xyzxyzxyzxyz; Download playlist with mp3l ... alias mp3='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 --no-playlist ' alias mp3l='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 ' -
PLP-GTR revised this gist
Apr 25, 2022 . 1 changed file with 1 addition and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,17 +1,9 @@ # oh-my-zsh -- https://ohmyz.sh # @see my config at https://gist.github.com/PLP-GTR/fb67974f9774e4e71469f4312c49ea23#file-2-1-zsh-oh-my-zsh-bash source ~/.zsh/.oh-my-zsh # oh-my-posh -- https://ohmyposh.dev/docs/prompt if [ $TERM_PROGRAM != "Apple_Terminal" ]; then eval "$(oh-my-posh init zsh --config ~/.zsh/rudolfs-dark.omp.json)" fi -
PLP-GTR revised this gist
Apr 25, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -76,4 +76,4 @@ httpHeaders () { /usr/bin/curl -I -L $@ ; } # httpHeaders: Grabs he # --------------------------------------- # Download a YouTube video via "youtube-dl". Usage: $ mp3 https://youtu.be/xyzxyzxyzxyz alias mp3='youtube-dl --rm-cache-dir && youtube-dl -x --audio-quality 0 --audio-format mp3 ' -
PLP-GTR revised this gist
Apr 21, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -100,6 +100,8 @@ composer global remove <app> `brew install byobu` * [youtube-dl](https://youtube-dl.org/) via [homebrew](https://formulae.brew.sh/formula/youtube-dl):\ `brew install youtube-dl` * don't forget to install [ffmpeg](https://ffmpeg.org/) via [homebrew](https://formulae.brew.sh/formula/ffmpeg):\ `brew install ffmpeg` ## Some useful applications -
PLP-GTR revised this gist
Apr 21, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -98,6 +98,8 @@ composer global remove <app> `brew install ncdu` * [byobu](https://launchpad.net/byobu) via [homebrew](https://formulae.brew.sh/formula/byobu), terminal window manager:\ `brew install byobu` * [youtube-dl](https://youtube-dl.org/) via [homebrew](https://formulae.brew.sh/formula/youtube-dl):\ `brew install youtube-dl` ## Some useful applications -
PLP-GTR revised this gist
Apr 21, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,7 +56,7 @@ brew uninstall <app> composer global remove <app> ``` 3. Check Application directory if there is a uninstaller, i.e. `Bitdefender/EndpointSecutiryforMacUninstaller.app` 4. Drag and Drop the `.app` in Application directory into [AppCleaner](https://formulae.brew.sh/cask/appcleaner) and remove all related directories and files ## Apps to start with @@ -67,6 +67,8 @@ composer global remove <app> `brew install --cask alfred` * [Sublime Text](https://www.sublimetext.com) via [homebrew](https://formulae.brew.sh/cask/sublime-text)\ `brew install --cask sublime-text` * [AppCleaner](https://freemacsoft.net/appcleaner/) via [homebrew](https://formulae.brew.sh/cask/appcleaner)\ `brew install --cask appcleaner` * [omyzsh](https://ohmyz.sh) natively via\ `sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"` * [docker](https://www.docker.com/products/docker-desktop/) via [homebrew](https://formulae.brew.sh/formula/docker):\ -
PLP-GTR revised this gist
Apr 20, 2022 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,6 @@ fi # iterm2 shell integration -- https://iterm2.com/documentation-shell-integration.html test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" || true # Include own shell aliases # @see https://gist.github.com/PLP-GTR/fb67974f9774e4e71469f4312c49ea23#file-2-2-zsh_aliases source ~/.zsh_aliases -
PLP-GTR revised this gist
Apr 20, 2022 . 2 changed files with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,4 +16,9 @@ if [ $TERM_PROGRAM != "Apple_Terminal" ]; then fi # iterm2 shell integration -- https://iterm2.com/documentation-shell-integration.html test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" || true # Include own shell aliases # @see https://gist.github.com/PLP-GTR/fb67974f9774e4e71469f4312c49ea23#file-2-2-zsh_aliases source ~/.zsh_aliases File renamed without changes. -
PLP-GTR revised this gist
Apr 20, 2022 . 2 changed files with 83 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,7 @@ if [ $TERM_PROGRAM != "Apple_Terminal" ]; then # Using custom theme: eval "$(oh-my-posh init zsh --config ~/.zsh/rudolfs-dark.omp.json)" fi # iterm2 shell integration -- https://iterm2.com/documentation-shell-integration.html test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" || true This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,79 @@ # Aliases are defined here to not clutter the .zshrc too much # ------------------------------- # 1. ENVIRONMENT CONFIGURATION # ------------------------------- #export EDITOR=/usr/bin/nano # Defined up at the zsh settings # ----------------------------- # 2. MAKE TERMINAL BETTER # ----------------------------- # use exa as ll replacement alias ll="exa --header --long --git --all --color-scale" alias lls="exa --header --long --group --git --all --color-scale" # show files as tree but without dot-files alias llt="exa --header --long --group --git --color-scale --tree" # old aliases, using GNU ls #alias ll='gls -oAhp --color --time-style=+" %Y %b %d, %H:%M "' # Preferred 'ls' implementation #alias lls='gls -lAhp --color --time-style=+" %Y %b %d, %H:%M "' # Preferred 'ls' implementation displaying groups # ------------------------------- # 3. FILE AND FOLDER MANAGEMENT # ------------------------------- # --------------------------- # 4. SEARCHING # --------------------------- # --------------------------- # 5. PROCESS MANAGEMENT # --------------------------- # --------------------------- # 6. NETWORKING # --------------------------- alias myip='curl https://wtfismyip.com/text' # myip: Public facing IP Address alias netCons='lsof -i' # netCons: Show all open TCP/IP sockets alias flushDNS='dscacheutil -flushcache' # flushDNS: Flush out the DNS Cache alias lsock='sudo /usr/sbin/lsof -i -P' # lsock: Display open sockets alias lsockU='sudo /usr/sbin/lsof -nP | grep UDP' # lsockU: Display only open UDP sockets alias lsockT='sudo /usr/sbin/lsof -nP | grep TCP' # lsockT: Display only open TCP sockets alias ipInfo0='ipconfig getpacket en0' # ipInfo0: Get info on connections for en0 alias ipInfo1='ipconfig getpacket en1' # ipInfo1: Get info on connections for en1 alias openPorts='sudo lsof -i | grep LISTEN' # openPorts: All listening connections # --------------------------------------- # 7. SYSTEMS OPERATIONS & INFORMATION # --------------------------------------- #export GPGKEY= # --------------------------------------- # 8. WEB DEVELOPMENT # --------------------------------------- # Tools uid () { UUID_VAR="$(uuidgen | awk '{print tolower($0)}')"; echo "${UUID_VAR}" | tr -d '\n' | pbcopy; echo "UUID (v4) '${UUID_VAR}' copied to clipboard"; } # Docker alias dps='docker ps' # Just shortening (using "$ ps" as base) alias dcp='docker-compose' # Just shortening alias dmc='docker-machine' # Just shortening httpHeaders () { /usr/bin/curl -I -L $@ ; } # httpHeaders: Grabs headers from web page # --------------------------------------- # 9. MISCELLANEOUS # --------------------------------------- # Download a YouTube video via "youtube-dl". Usage: $ mp3 https://youtu.be/xyzxyzxyzxyz alias mp3='youtube-dl -x --audio-quality 0 --audio-format mp3 '
NewerOlder