Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
choco install dart-sdk
- Add
dart-sdk
path in environment variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Enable userns-remap | |
hosts: localhost | |
connection: local | |
gather_facts: yes | |
tasks: | |
- block: | |
- name: Update userns-remap config | |
shell: | | |
cp /etc/docker/daemon.json /etc/docker/daemon.json.backup | |
jq '. += { "userns-remap" : "default" }' < /etc/docker/daemon.json > /tmp/daemon.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Veerendra K | |
# Description: Runs restic backup and writes metrics to file for node exporter's textfile collector | |
# Dependencies: restic, jq | |
# | |
# ** INFO *** | |
# https://www.robustperception.io/using-the-textfile-collector-from-a-shell-script/ | |
# https://github.com/prometheus/node_exporter | |
# Set --collector.textfile.directory in node_exporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nvidia "Docker" Container Runtime | |
https://github.com/NVIDIA/nvidia-docker | |
Hashcat in Container | |
===================== | |
Nvidia in Docker - https://github.com/dizcza/docker-hashcat | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=ngrok | |
After=network.target | |
[Service] | |
ExecStart=/opt/ngrok/ngrok start --all --config /opt/ngrok/ngrok.yml | |
ExecReload=/bin/kill -HUP $MAINPID | |
KillMode=process | |
IgnoreSIGPIPE=true | |
Restart=always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This configuration file is only provided to document the different | |
* configuration options and their usage. | |
* | |
* DO NOT COMPLETELY BASE YOUR CONFIGURATION FILE ON THIS SAMPLE. THIS MAY BREAK | |
* YOUR INSTANCE. Instead, manually copy configuration switches that you | |
* consider important for your instance to your working ``config.php``, and | |
* apply configuration options that are pertinent for your instance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Hugo Site | |
on: | |
workflow_dispatch: | |
inputs: | |
blog: | |
description: "Publish Blog" | |
required: true | |
default: "yes" | |
pull_request: | |
types: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Show backups with label | |
$ velero backup get --show-labels | |
## Show backups based on labels | |
$ velero backup get -l velero.io/storage-location=wiki-demo | |
## Remove backups based on labels | |
$ velero backup delete -l ”velero.io/schedule-name=wiki-demo” | |
## Show Velero logs |
NewerOlder