Giter Site home page Giter Site logo

.files's Introduction

.files

powered by dotbot

clone and run ./install.sh

install Homebrew 'n' run brew bundle

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

install Warp terminal

install NvChad

git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
using homebrew zsh or fish instead of the macOS system default

run

echo $(which zsh) | sudo tee -a /etc/shells && chsh -s $(which zsh)

or

echo $(which fish) | sudo tee -a /etc/shells && chsh -s $(which fish)
oh-my-zsh and plugins for it
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone [email protected]:marzocchi/zsh-notify.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/notify
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions.git ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/agkozak/zsh-z.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-z
plugins for fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install franciscolourenco/done acomagu/fish-async-prompt jethrokuan/z PatrickF1/fzf.fish Dimentium/plugin-sudope wfxr/forgit vitallium/tokyonight-fish
fish_config theme save "TokyoNight Night"
enabling touch id authorization for sudo
sudo vim /etc/pam.d/sudo
auth       sufficient     pam_tid.so
honk!
  1. copy: honk.aiff to the /Library/Audio/Sounds/Alerts/
  2. open System Preferences > Sound > Sound Effects
  3. select "honk"
  4. HONK

macOS useful terminal commands and links

macOS Setup Guide

Starship: Cross-Shell PromptThe minimal, blazing-fast, and infinitely customizable prompt for any shell!

NvChadAn attempt to make neovim cli as functional as an IDE while being very beautiful, blazing fast

Backup and Restore GPG key

Spotify themes for Spicetify

A collection of ZSH frameworks, plugins, themes and tutorials

Clippy from Microsoft Office is back and runs on macOS! Written in Swift

git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
echo "default_linemode devicons" >> ~/.config/ranger/rc.conf
global packages
npm install --global npm-check-updates license-checker all-the-package-names
IntelliJ IDEA hides a path in the project tree

Help → Edit Custom Properties… → add the following

project.tree.structure.show.url=false
reset launchpad
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
show dock after delay (in seconds)
defaults write com.apple.Dock autohide-delay -float 13; killall Dock
defaults delete com.apple.Dock autohide-delay; killall Dock
show app switcher on all displays
defaults write com.apple.Dock appswitcher-all-displays -bool true; killall Dock
launchpad columns and rows
defaults write com.apple.dock springboard-columns -int 10
defaults write com.apple.dock springboard-rows -int 5
remove all .ds_store files
sudo find / -name '.DS_Store' -depth -exec rm {} \;
sudo find / -name '.DS_Store' -type f -delete
generate a new rsa ssh key pair
ssh-keygen -t rsa -b 2048 -C "[email protected]"
disable the creation of metadata files on network and usb volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
disable cmd+shift+i in chrome and safari
defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Email Page Location' '\0'
defaults write com.google.Chrome.canary NSUserKeyEquivalents -dict-add 'Email Page Location' '\0'
defaults write com.apple.Safari NSUserKeyEquivalents -dict-add 'Email Link to This Page' '\0' 'Email This Page' '\0'
disable/enable tab in modal dialogs
defaults write NSGlobalDomain AppleKeyboardUIMode -int 0
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
clear dns cache
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder
run "damaged" apps
sudo xattr -rd com.apple.quarantine /Applications/xxx.app
commit with a random message
git commit -m '$(curl -s whatthecommit.com/index.txt)'
weather
curl https://wttr.in/prg
affirmation
curl -s  https://www.affirmations.dev/ | jq -r ".affirmation"
generate secure password and copy to clipboard
LC_ALL=C tr -dc "[:alnum:]" < /dev/urandom | head -c 20 | pbcopy
create a ventura bootable installer. other versions here
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

.files's People

Contributors

golman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.