User Tools

Site Tools


macos

This is an old revision of the document!


Iterm2:
Cheatsheet


NEW MAC

brew install keepassxc

Fix history settings! External Link. Add this (on a new mac):

cat ~/.zshrc
alias ll='ls -l'
alias history="history 1"
HISTSIZE=99999
HISTFILESIZE=999999
SAVEHIST=$HISTSIZE
export PATH="/usr/local/Cellar:$PATH"
  • zsh
    • Search history: ctrl-r
  • Preview/pdf
    • hand-tool: opt+space and then mouse

TODO

docker import cEOS-lab-4.28.1F.tar.xz ceos:4.28.1F    # cEOS needs to be pre-downloaded

we need to install netlab inside the container running containerlab, then maybe save it

CLAB_WORKDIR=~/clab
docker run --rm -it --privileged \
    --network host \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /run/netns:/run/netns \
    --pid="host" \
    -w $CLAB_WORKDIR \
    -v $CLAB_WORKDIR:$CLAB_WORKDIR \
    ghcr.io/srl-labs/clab bash
pip3 install netsim-tools
/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip
netlab install ansible -y
docker import cEOS-lab-4.28.1F.tar.xz ceos:4.28.1F    # cEOS needs to be pre-downloaded
netlab create
launch containerlab
netlab initial
...


MULTIPLE DESKTOPS

  • Ctrl-UPArrow : mission control (all desktops' view)
  • For two apps in split window
    • hover above green maximize button and select split.
    • Once we are DONE with the split window: 1) Ctrl-UPArrow 2) hover above the 'desktop with the two windows' 3) click in the 'unsplit' symbol
  • Application bar ('Dock' in mac parlance):
    • It has three Sections:
      • applications

OMNIGRAFFLE NOTES

  • Cmd-1 : opens Inspector
  • Connectors:
    • squared: line, then to the left 'styles' and orthogonal, stroke : obsidian
    • round TODO
    • jumps TODO
  • Backgroud and lock: all icons for this top middle right: front, back and lock
  • Change canvas/page size: file>PageSetup . Always select landscape
  • Snap text to a shape: TODO
    • change the pos. of text in shape: TODO
  • snap text to line (for links): TODO
  • grop shape with text but keep the connectors: TODO
  • Tabs (like visio): TODO
  • Layers TODO
macos.1658697037.txt.gz · Last modified: (external edit)