Skip to content

Instantly share code, notes, and snippets.

@say-kaj
say-kaj / TimeMachine.md
Last active September 28, 2023 09:35
Commandline Stuff for TimeMascine

tmutil to backup macOS devices

You can back up your data to external storage connected to your Mac or available in your network. You can use the command to add your backup location for a shared Mac:

tmutil setdestination –a smb://<user>:<passoword>@<ip address>:/<backup hard drive name>

To add an external drive as a backup location:

tmutil setdestination –a /Volumes/backupdrive 
@say-kaj
say-kaj / iTermSetup.md
Created March 2, 2023 12:00
Setup fency terminal

Setup fency terminal

see freecodecamp.org

brew cask install iterm zsh if on an actuall mac Os (catalina) zsh is not required

for better zsh configuration, install Oh My Zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

@say-kaj
say-kaj / MakeMyMac.md
Last active March 2, 2023 12:01
[Stuff to install on the mac] setup my MacBook from scratch #mac #setup

homebrew & Stuff

homebrew

Get a terminal up and

  • xcode-select --install
  • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew help check installation - kinda
  • brew analytics off to turn of sending out anylytics

--> uninstall

@say-kaj
say-kaj / raspToGo.md
Last active October 5, 2021 15:49
SetUp my mobile Raspberry

Up, up and away

A RasPi ToGo environment, works with any mobile system (even phone) as well as with my MacBook. Initial thought really was to have something Kubernetes to use as demo in meetings or talks. So far this is a Kubernetes with WiFi accesspoint. I'll take this gist to track my experiences with this :)

Hardware used

@say-kaj
say-kaj / sublime_gist.md
Last active November 6, 2019 13:54
[How to Use Gist in Sublime] #mac

Generate Access Token

The access Token can be created on the github site under Account Settings -> Developer Settings -> Personal Access token In Sublime go to Preferences / Package Settings / Gist / Settings-User and put in your token and GitHub UID as per below example

{
  "token": "n",  
  "include_users": ["GitHub_UID"]  
}
@say-kaj
say-kaj / OhMyZshPlugins.md
Last active March 2, 2023 12:02
Main OhMyZsh plugins in use

Main OhMyZsh plugins in use

sublime

Usage

The plugin defines several aliases, such as:

  • st: opens Sublime Text. If passed a file or directory, Sublime Text will open it.

  • stt: open Sublime Text on the current directory.

@say-kaj
say-kaj / BucketList.md
Last active December 22, 2023 22:08
Bucketlist

My Bucketlist

  • get a tatoo
  • ride the route 66 with my wife
  • Visit Hawaii 🎉
  • Blue Water sail for some weeks (I'll repeat this!!!)
  • travel pacifica (marcesas, tonga, asia)
  • see Sydney / (was not worth it)
  • show Singapore to my familiy
  • sabatical under sail