start new:
tmux
start new with session name:
tmux new -s myname
| from dogapi import dog_http_api as api | |
| ##### Parameters ##### | |
| # Credentials | |
| api.api_key = 'my_api_key' | |
| api.application_key = 'my_application_key' | |
| # Dashboard information | |
| title = "Test Quentin via API" |
| ` # \ | |
| # PowerShell Param statement : every line must end in #\ except the last line must with <#\ | |
| # And, you can't use backticks in this section #\ | |
| param( [ValidateSet('A','B')]$tabCompletionWorksHere, #\ | |
| [switch]$andHere #\ | |
| ) <#\ | |
| #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ` | |
| #vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | |
| # Bash Start ------------------------------------------------------------ |
| #!/usr/bin/env bash | |
| # Requirements: | |
| # brew install gource libav ffmpeg | |
| # Feel free to play around with these to test! | |
| FILENAME="output" # mp4 extension is currently hardcoded | |
| TITLE="Datadog Agent" # This title goes bottom left | |
| FRAMERATE="25" # Pick 25, 30, 60 | |
| RESOLUTION="3840x2160" # Examples: 1920x1080, 3840x2160, 1280×720 |
| # Just a quick update for GPT and to use `rsync` instead of `cp`! | |
| # That means this applies to UEFI boot, though for legacy BIOD boot, feel free to swap | |
| # GPT to MBR below. | |
| # Requires https://homebrew.sh to split the install.wim file | |
| brew install wimlib | |
| # First, we need to find our device. BEFORE inserting your USB drive, run the | |
| # following: | |
| diskutil list |
| #!/usr/bin/env bash | |
| set -euf -o pipefail | |
| cweb_version=0.6.16 | |
| curl -Lo cargo-web.gz https://github.com/koute/cargo-web/releases/download/${cweb_version}/cargo-web-x86_64-unknown-linux-gnu.gz | |
| gunzip cargo-web.gz | |
| chmod u+x cargo-web | |
| binaryen_version=version_51 |
| #requires -version 2 | |
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .PARAMETER <Parameter_Name> | |
| <Brief description of parameter input required. Repeat this attribute if required> |
| ASG name = frigga.group = app-stack-detail(-options)-push | |
| frigga.cluster = app-stack-detail | |
| frigga.push = v<sequence) | |
| options: | |
| - c0<value> = countries | |
| - d0<value = devPhase | |
| - h0<value> = hardware |
| ----- Esc ----- | |
| Quick change directory: Esc + c | |
| Quick change directory history: Esc + c and then Esc + h | |
| Quick change directory previous entry: Esc + c and then Esc + p | |
| Command line history: Esc + h | |
| Command line previous command: Esc + p | |
| View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
| Print current working directory in command line: Esc + a | |
| Switch between background command line and MC: Ctrl + o | |
| Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |