Skip to content

Instantly share code, notes, and snippets.

Alexander alexs77

Block or report user

Report or block alexs77

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
alexs77 / google-translate-codes.txt
Created Apr 25, 2019
Google Translate Language Codes
View google-translate-codes.txt
View Error "terraform output -json aws_key_pair_name"
[terragrunt] 2019/03/13 15:55:09 Setting working directory to /Users/alex/SysOps/AWS/QA/cloudcraft/ap-south-1/ap-south-1/keypair/.terragrunt-cache/7FJACLBEMlnpJeba-LhQbRwG95E/TrprSvuoV_MVKNhRWamm3LGfqCA
[terragrunt] 2019/03/13 15:55:10 Detected 1 Hooks
[terragrunt] 2019/03/13 15:55:10 Running command: terraform output -json key_pair_name
The output variable requested could not be found in the state
file. If you recently added this to your configuration, be
sure to run `terraform apply`, since the state won't be updated
with new output variables until that command is run.
[terragrunt] 2019/03/13 15:55:13 Detected 1 Hooks
[terragrunt] 2019/03/13 15:55:13 Hit multiple errors:
exit status 1
alexs77 /
Last active Nov 1, 2018
Comparing gzip, bzip2 and xz
time (
# pp-complete.csv from
f=pp-complete.csv; for p in gzip bzip2 xz; do
[[ $p = gzip ]] && continue
for m in 1 2 3 4 5 6 7 8 9; do
echo $(date "+%Y-%m-%d--%H:%M:%S.%N"): $p $m start | tee -a $log
time $p -$m -c -k $f > $out
alexs77 /
Last active Oct 9, 2018
Create QR codes for UUIDs and index.htm
mkdir -p qr
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
QR Codes
alexs77 / chef-run-error.txt
Created Jul 6, 2018
chef-run error on Ubuntu 18.04
View chef-run-error.txt
alex@alex-MacBookPro:~$ LC_ALL=C chef-run -i ~/.ssh/id_ecdsa localhost log HelloWorld
[✔] Generated local policyfile
[✔] [localhost] Connected.
[✔] [localhost] Chef client version 14.2.0 already installed on target.
[✖] [localhost] The command 'bash -c 'd=$(mktemp -d -p${TMPDIR:-/tmp} chef_XXXXXX); chmod 777 $d; echo $d'' exited with return code '2' on 'localhost'.
The command 'bash -c 'd=$(mktemp -d -p${TMPDIR:-/tmp} chef_XXXXXX); chmod 777 $d; echo $d'' exited with return code '2' on 'localhost'.
View vimrc
" You can use <Space>, which is interpreted as a
" literal " " character, to enter buffer completion mode
map gb :buffer<Space>
alexs77 / Multi-Value_Options.yaml
Created Mar 1, 2018
Rundeck Multiple Multi-Value Options
View Multi-Value_Options.yaml
- description: Testing Multi-Value Options
executionEnabled: true
id: 0ff8c9cc-2115-4864-8296-2649df0f1da2
loglevel: INFO
name: Multi-Value Options
nodeFilterEditable: false
excludePrecedence: true
keepgoing: false
alexs77 / Debug_Multi-Value_Options.xml
Created Feb 28, 2018
Debugging "Multi-Value Options" in Rundeck
View Debug_Multi-Value_Options.xml
<options preserveOrder='true'>
<option delimiter=' ' multivalueAllSelected='true' multivalued='true' name='wert' required='true'>
<description>Debug für Multi-Value Options</description>
alexs77 / E-Mails_entfernen.xml
Last active Feb 28, 2018
Rundeck Job for removing E-Mails
View E-Mails_entfernen.xml
<options preserveOrder='true'>
<option delimiter=' ' multivalueAllSelected='true' multivalued='true' name='patterns' required='true'>
<description>Pattern aus der `mailq` Zeile.</description>
<description>Lösche E-Mails, deren Mail Queue Zeile auf das angegebene Muster passt.</description>
View AppsHonor6X
* [11t](
* [20 Minuten](
* [4 Spieler Reaktor](
* [Amazon](
* [Amazon Drive](
* [Amazon Kindle](
You can’t perform that action at this time.