macos
OMNIGRAFFLE NOTES
- Cmd-option-1: toggles canvas view. hide it
- 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 - Layers: right column (layers) > right click 'new layer' > complete it with annotations > then click small eye symbol to hide/show layer
- Include images: literally drag and drop even from a website
todo
- 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
- Scribble lines (not really possible): do thid Use the Line Tool. Hold and release ALT key.
Iterm2:
Cheatsheet
NEW MAC
- Install firefox
- Install homebrew External Link
- install vscode External Link
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" # To colorize egrep results export GREP_OPTIONS='--color=always' export GREP_COLOR='1;35;40'
- zsh
- Search history: ctrl-r
- Preview/pdf
- hand-tool: opt+space and then mouse
- Install
docker desktopExternal Link- Install
containerlabin docker desktop External Link
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 ...
QUICKTIME AND VIDEO RECORDING
- Open quicktime
- Open pptx presentation and select
setup slide show+browsed by individualif we don't want two screens - Open quicktime and select: Record entire screen > record screen (in bar) + display number X
- RECORD THE VIDEO
- Click cmd+ctrl+esc to stop recording
- Top bar and save file.
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
VISIO NOTES
- Line jumps: Remove line jumps (crosses): Design > Layout/Connectors
ROUTING
netstat -nr -f inet # only ipv4 routes
macos.txt · Last modified: by 127.0.0.1
