GitXplorerGitXplorer
p

dotfiles

public
2 stars
0 forks
4 issues

Commits

List of commits on branch main.
Unverified
823a64292457b32946814752ac7fc75de454727b

Remove adb missing plugin

ppgreze committed 3 months ago
Verified
a0a5f0fdf46929917a69a8493c9b7a0388d43447

Disable broken homebrew exa

ppgreze committed 4 months ago
Verified
8d0328cafd52a9fab349b7b436403772d65f2d11

Some changes

ppgreze committed 4 months ago
Verified
93f8005257d532fc8d477577045ece746f3f8a31

Add bin/pargs

ppgreze committed 5 months ago
Verified
bd0e21d4844ceb21a25e63aa82e854f3b0fbb327

Git updates

ppgreze committed 6 months ago
Unverified
ea7ca05235fb2ffa3e8da322629cac0dc8ada664

Add bin/sbi-profits.py

ppgreze committed 5 months ago

README

The README file for this repository.

dotfiles

Yet Another Dotfiles project.

Installation

mkdir -p ~/git/pgreze
git clone --recursive git@github.com:pgreze/dotfiles.git ~/git/pgreze/dotfiles
~/git/pgreze/dotfiles/install.sh

OSX 🍏

Homebrew:

# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew doctor

# Essentials
brew install coreutils bash grep findutils curl wget gzip tree ncdu htop autojump tmux
brew install python3 latex2rtf mkvtoolnix irssi ffmpeg gcc cmake
brew install git gh git-flow git-delta # git-subrepo
brew install exa procs bat ripgrep dust bandwhich miniserve pipx

# Python2 https://stackoverflow.com/a/60345962/5489877
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/86a44a0a552c673a05f11018459c9f5faae3becc/Formula/python@2.rb
brew install python@2.rb && rm python@2.rb
## Alternative with pyenv:
brew install pyenv && pyenv install 2.7.18

# TODO: kibi fdfind ytop licensor
brew install mas        # https://github.com/mas-cli/mas 📦 Mac App Store command line interface
mas install 539883307   # LINE
mas install 747648890   # Telegram
brew install robotsandpencils/made/xcodes # Allowing to install/manage several XCode versions.

Homebrew cask:

# Notice: lunar is not working well with my LG ultrawide
brew install --cask shifty keepassxc google-drive the-unarchiver qlmarkdown
brew install --cask obsidian rectangle bartender nordvpn
brew install --cask iterm2 visual-studio-code trailer sloth
# TODO: telegram
brew install --cask android-sdk jetbrains-toolbox jd-gui visualvm # intellij-idea-ce android-studio
brew install --cask transmission slack discord vlc firefox virtualbox android-file-transfer libreoffice skype electrum cyberduck
brew install --cask docker docker-machine
brew install --cask raspberry-pi-imager

https://endoflife.date/java

# Recommended way
curl -s "https://get.sdkman.io" | bash
for i in gradle kotlin kscript; do sdk install $i;done
sdk list java | grep -E '(tem|zulu)' | grep -E '(8|11|17)'
sdk install java $version

# With homebrew
brew tap homebrew/cask-versions && brew install --cask temurin8 temurin11

Others:

pip3 install pyftpdlib    # python3 -m pyftpdlib (expose ftp server)
pip3 install adb-enhanced # https://github.com/ashishb/adb-enhanced

Linux 🐧

sudo apt install -y bat exa autojump tree

SSH keys

After enabling remote login in Sharing preferences, enable cross auto-login between old and new PCs:

# On previous PC
ssh user@new_pc mkdir .ssh
scp ~/.ssh/config ~/.ssh/id_rsa* user@new_pc:.ssh
ssh-copy-id -i ~/.ssh/id_rsa.pub user@new_pc
# On new PC
ssh-copy-id -i ~/.ssh/id_rsa.pub user@old_pc

References

OSX Tips

Stop display this annoying terminal when pressing Cmd+Shift+A

Manual operation or script based

How to Enable Key Repeating

See this article for details:

defaults write -g ApplePressAndHoldEnabled -bool false

Change screenshots location

Before:

defaults write com.apple.screencapture location "/Users/pgreze/Drive/Screenshots/"
killall SystemUIServer

Now press Command+Shift+5 and change it in screenshot app: