Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
Action | Windows/Linux | macOS |
---|---|---|
New window | Ctrl+Shift+N | Cmd+N |
Close window | Alt+F4 | Cmd+Shift+W |
#!/bin/bash | |
# this would create annotation in grafana with current date and tags: ["backend-deployment", "prod", "$1"] | |
# '$grafanaTokenPassword' is defined in CI - API token with EDIT permissions | |
# Command line: | |
# ./annotateDeployment.sh <project> <service/batch> <image-tag> | |
PROJECT_NAME=$1 | |
DEPLOYMENT_TYPE=$2 | |
IMAGE_TAG=$3 |
sudo perf record -F 49 -a -g -- sleep 120 | |
sudo perf record -F 99 -g -p 27817 | |
http://www.brendangregg.com/perf.html | |
http://www.brendangregg.com/linuxperf.html | |
http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html#Linux | |
export TERM=xterm; export PS1="\\w\$ "; | |
apk --no-cache add curl tcpdump vim |
{ | |
"aggregations": { | |
"traceIDs": { | |
"aggregations": { | |
"startTime": { | |
"max": { | |
"field": "startTime" | |
} | |
} | |
}, |
docker run -d --name=landoop -p 127.0.0.1:8081-8083:8081-8083 -p 127.0.0.1:9581-9585:9581-9585 -p 127.0.0.1:9092:9092 -p 127.0.0.1:3030:3030 -p 127.0.0.1:2181:2181 -e ADV_HOST=127.0.0.1 landoop/fast-data-dev
FROM openjdk:8u131-jdk-alpine | |
RUN apk --no-cache add openssl wget bash | |
ENV CEREBRO_VERSION 0.7.1 | |
RUN mkdir /opt && cd /opt \ | |
&& wget -O cerebro-${CEREBRO_VERSION}.tgz https://github.com/lmenezes/cerebro/releases/download/v${CEREBRO_VERSION}/cerebro-${CEREBRO_VERSION}.tgz \ | |
&& tar zxvf cerebro-${CEREBRO_VERSION}.tgz \ | |
&& rm cerebro-${CEREBRO_VERSION}.tgz \ |
bind -n M-x setw synchronize-panes | |
#bind-key -T copy-mode C-Up send-keys -X scroll-up | |
#bind-key -T copy-mode C-Down send-keys -X scroll-down | |
# use current dir for new panex/windows | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" |
sudo apt-get install python-pip
or wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
sudo pip install powerline-status
git clone https://github.com/powerline/fonts.git && cd fonts && sh ./install.sh
set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
> " Always show statusline