Get a terminal up and
xcode-select --install/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew helpcheck installation - kindabrew analytics offto turn of sending out anylytics
--> uninstall
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
keep brew stuff up to date by using an all in alias:
alias brewup='brew update; brew upgrade; brew cleanup; brew doctor'
brew update and brew upgrade will refresh all brew'ed stuff
brew cleanup will remove any older versions of packages
brew doctor will check the system for potential problems and show them
cask installations require a brew cask upgrade on-top
list of non cask packages can be found here
cmdline search with brew search xyz will return brew and cask Packages
Cask allows to easy install Mac OS GUI apps and binaries directly from the command line using Homebrew.
brew install cask
example to install Chrome would be brew install google-chrome or brew install iterm2
brew install htop wget nmap watch tree neofetch netdata mkdocs
wgetjust fetch stuff from wwwnmapfree portscannerwatchmake any cmd tool a monitored process -> watch -n 5 "df -k" to monitor diskspace every 5sectreerecursive directory listing commandneofetchcommandline SysInfo toolnetdataServer monitoring that gives some great insite also into a normal machine. Integrates well with Übersichtmkdocsfast and simple static site generator
brew cask install iterm2 DaisyDisk cakebrew iina alfred bartender cheatsheet valentina-studio sublime-text proxyman keka latest teamviewer odio balenaetcher switchresx exifrenamer 1password brave-browser cyberduck slack powershell monitorcontrol archi lipton youtube-dl ffmpeg
iterm2terminal replacementDaisyDiskwhat's on my disk,... and why is it full again???cakebrewGUI for homebrewiinareplacement for vlc, better macos integration and look&feelalfredspotlight search on steroidsbartendercan't see what important on my menubarcheatsheettells me all keystroke a given app hasvalentina-studioFree DB Managersublime-texttextediting...proxymanHTTP Debugging ProxykekaMacOS File Archiverlatestchecks if all apps are up to dateteamviewerI am still my parents admin :OodioRadiostations all over the worldbaleanaetcherBurn My USB,... need it for my PI stufffranzmultichat tool - runs here for whatsapp, skype and messengerswitchresxSometime I need to heavily tweak Monitorsettingsexifrenamerbatch rename for images1passwordBeware - this is getting the latest and greates - we are still on v6 bcause of dropbox syncarchiArchimate GUI - installer currently broken on archimetetool.combravebrowseralternate Browser with easy TOR interfacecyberduckcloud storage browser with support for FTP, SFTP, WebDAV, Amazon S3, OpenStack Swift, Backblaze B2, Microsoft Azure & OneDrive, Google Drive and Dropbox.slackpowershellliptonLean GitHub Gist Clientmonitorcontrolenables sound and light control for a monitor (particularly sound does not work without)youtube-dlallows donloads from Youtube -->youtube-dl -f bestvideo+bestaudio 'link'ffmpegrequired for youtube-dl
Bunch of Mac quicklook plugins (finder, mark file press space to preview/quicklook)
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv webpquicklook suspicious-package aerial
aerialApple TV aerial screensaver
Greenshot | iStat Menus | Magnet | LanScan Pro | iA Writer | Dash | Deliveries | Fritz | Adobe | AffinityPhoto | CEWE Fotowelt | SQL Operations Studio | Sunflower Bed | Pixer | PowerMenu | VisualStudioCode | Office 365 Muehlena.de | Skype for Busines | Microsoft ToDo | Paprika Recipe Manager | MacFamilyTree
$ defaults write com.apple.finder ShowPathbar -bool true
enables a Path Bar in the finder (bottom part of the finder Window)
$ defaults write com.apple.finder ShowStatusBar -bool true
enables the Status Bar below the above enabled Path Bar
brew cask install virtualbox
brew install kubectl
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.27.0/minikube-darwin-amd64 &&\ chmod +x minikube &&\ sudo mv minikube /usr/local/bin/ --> see here for latest version
This will setup Kubernetes in specific single node version. Now Start with minikube start - will also fetch the newest minikube.iso and may take a while to start.
Now all should be set. kubectl api-versions should throw out a couple of versions for the tooling - if so - all runs.
We have a working Kubernetes Cluster now - yai :)
brew cask install kubernetic to get a graphical UI for managing Kubernetes. Should automagically connect to the minikube
brew cask install docker
This gets the latest stable Docker for Mac - after install start and configure
check if it's workoing via docker run -d -p 80:80 --name webserver nginx
This pulls the latest nginx and runs it... check http://localhost or 'docker container ls'
brew cask install kitematic to get a GUI interface to docker
Beware that this make SSH into your machine a bit cumbersome as the Fingerprint usually does not travel along the line !
- change to /etc/pam.d/ and make sudo read&write
- insert into second line (after the comment line)
auth sufficient pam_tid.so - save and close
- Change back to read only
edit ~/.ssh/config by adding the pi hosts
HostName TheIPadressHere
user TheUsualUserID
RemoteForward 52698 127.0.0.1:52698
then do $ ssh-copy-id conveniantHostName and login with the password once
Sometimes you need to edit a file on a remote server, but using vim/emacs is not very practical, due to lag and speed of screen refresh.
TextMate users have the classic rmate, but it was implemented in Ruby, which may not be available on the remote server.
A better option is to use this version of rmate, implemented in pure Bash. It's a single file, self-contained, and with no external dependencies.
Step by step:
-
On your local workstation: On Sublime Text 3, open Package Manager (Ctrl-Shift-P on Linux/Win, Cmd-Shift-P on Mac, Install Package), and search for
RemoteSubl -
On your local workstation: Add
RemoteForward 52698 127.0.0.1:52698to your .ssh/config file, or-R 52698:localhost:52698if you prefer command line -
On your remote server:
sudo wget -O /usr/local/bin/rsub https://raw.github.com/aurora/rmate/master/rmate sudo chmod a+x /usr/local/bin/rsub
Just keep your ST3 editor open, and you can easily edit remote files with $ rsub myfile.txt
EDIT: if you get "no such file or directory", it's because your /usr/local/bin is not in your PATH. Just add the directory to your path:
echo "export PATH=\"$PATH:/usr/local/bin\"" >> $HOME/.bashrcNow just log off, log back in, and you'll be all set.
Credits: Gui Ambros via https://wrgms.com/editing-files-remotely-via-ssh-on-sublimetext-3/