Skip to content

Instantly share code, notes, and snippets.

@p1nox
Last active May 10, 2023 21:30
Show Gist options
  • Save p1nox/45d9a52beafe441a9b61506fda983782 to your computer and use it in GitHub Desktop.
Save p1nox/45d9a52beafe441a9b61506fda983782 to your computer and use it in GitHub Desktop.
Mac OSX stuff

osx and mac stuff

Install

xcode-select --install
brew install java
brew install maven
brew install ant
mvn clean install
brew services list

scutil --get HostName
sudo scutil --set HostName '...land'

sudo killall -HUP mDNSResponder

git config --global user.name "Raul Pino"
git config --global user.email "pinox101@gmail.com"
chmod 400 ~/.ssh/id_rsa
ssh -T git@github.com
ssh-add -K ~/.ssh/id_rsa

sudo killall coreaudiod

https://github.com/dteoh/SlowQuitApps

https://github.com/junegunn/fzf - https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/fzf zsh plugin: fzf

https://github.com/newmarcel/KeepingYouAwake

create website desktop app - https://fluidapp.com/

Config

Show hidden files

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Config ssh:

Host *
  UseKeychain yes

Host bitbucket.org
  Hostname  altssh.bitbucket.org
  Port  443

Change robomongo with no dark theme:

osascript -e 'id of app "Robo 3T"'
defaults write com.3tsoftwarelabs.robo3t NSRequiresAquaSystemAppearance -bool Yes

https://github.com/heroku/heroku-accounts

ssh-keygen -t rsa -C "your_company@email.com" # /Users/raulpino/.ssh/company_name
heroku keys:add .ssh/company_name.pub

Others

https://github.com/kylemcdonald/FreeWifi

bootable disks - https://unetbootin.github.io/

razer - https://github.com/1kc/razer-macos

disk recovery - https://www.cleverfiles.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment