AWS CLI cheat sheet
Environment
See all available environment variables: https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
export AWS_DEFAULT_REGION=us-west-2
-- AppleScript to copy a Safenet MobilePASS OTP. | |
-- | |
-- 'osascript ~/path/to/token.applescript' | |
-- Set 'passwd' to your MobilePASS passcode. | |
set passwd to "0000" | |
-- Start MobilePASS | |
tell application "MobilePASS" | |
activate | |
delay 1 |
See all available environment variables: https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
export AWS_DEFAULT_REGION=us-west-2
#!/bin/bash | |
# | |
# https://support.1password.com/command-line-getting-started/ | |
# | |
# Full docs: https://support.1password.com/command-line/ | |
# | |
# gpg --receive-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22 | |
# gpg --verify op.sig op | |
# |
" My .vimrc for Vim, MacVim and Gvim/win32 | |
" 0. VUNDLE SETUP | |
" 1. FILE HANDLING | |
" 2. LOOK & FEEL | |
" 3. MAPPINGS | |
" 4. NETRW CFG | |
" 5. MACVIM | |
" 6. GVIM/WIN32 | |
" 7. SPELL & DICT |
root@hostname407:~ # dockerd | |
DEBU[0000] docker group found. gid: 993 | |
DEBU[0000] Listener created for HTTP on unix (/var/run/docker.sock) | |
INFO[0000] libcontainerd: new containerd process, pid: 1490 | |
DEBU[0000] containerd: grpc api on /var/run/docker/libcontainerd/docker-containerd.sock | |
DEBU[0000] containerd: read past events count=0 | |
DEBU[0000] containerd: supervisor running cpus=2 memory=3791 runtime=docker-runc runtimeArgs=[] stateDir=/var/run/docker/libcontainerd/containerd | |
DEBU[0000] libcontainerd: containerd health check returned error: rpc error: code = 14 desc = grpc: the connection is unavailable | |
DEBU[0001] Using default logging driver json-file | |
DEBU[0001] Golang's threads limit set to 27180 |
DEBU[0143] state changed module="node/agent/taskmanager" state.desired=RUNNING state.transition="READY->STARTING" task.id=etypqp6wi1jycyqkywa2hh7ws | |
DEBU[0143] (*Agent).UpdateTaskStatus module="node/agent" task.id=etypqp6wi1jycyqkywa2hh7ws | |
DEBU[0143] task status reported module="node/agent" | |
DEBU[0143] task status updated method="(*Dispatcher).processUpdates" module=dispatcher state.transition="READY->STARTING" task.id=etypqp6wi1jycyqkywa2hh7ws | |
DEBU[0143] container mounted via layerStore: /var/lib/docker/overlay/d6f807648a8b894cd759f6ee7e39ae8130ebe1899182fae2d9068161ed31684b/merged | |
DEBU[0143] Assigning addresses for endpoint test_swarm.1.etypqp6wi1jycyqkywa2hh7ws's interface on network ucp-hrm | |
DEBU[0143] RequestAddress(LocalDefault/192.168.0.0/24, 192.168.0.3, map[]) | |
DEBU[0143] Assigning addresses for endpoint test_swarm.1.etypqp6wi1jycyqkywa2hh7ws's interface on network ucp-hrm | |
DEBU[0143] Releasing addre |
#!/bin/sh | |
# | |
# mcollective Application Server for STOMP based agents | |
# | |
# chkconfig: - 24 76 | |
# | |
# description: mcollective lets you build powerful Stomp compatible middleware clients in ruby without having to worry too | |
# much about all the setup and management of a Stomp connection, it also provides stats, logging and so forth | |
# as a bonus. | |
# |
--- | |
# See 'gem help env' for additional options. | |
gem: --no-ri --no-rdoc | |
verbose: true | |
backtrace: true | |
bulk_threshold: 1000 | |
http_proxy: http://proxy.example.com:8080 |
I hereby claim:
To claim this, I am signing this object:
# Windows >= 7 : run from startup folder to disable presentation mode at logon. | |
@echo off | |
start c:\windows\system32\PresentationSettings.exe /start |