Skip to content

Instantly share code, notes, and snippets.

View Roman-Dudar's full-sized avatar

Roman Dudar Roman-Dudar

View GitHub Profile
@Roman-Dudar
Roman-Dudar / get-region-ami-mappings.sh
Last active December 11, 2017 11:04
Get AMI to region Mapping for CloudFormation (Copy-Paste yaml)
#!/usr/bin/env bash
# Runs for ~2min
# Sample output:
# $ ./get-region-ami-mappings.sh
# ap-south-1:
# AMI: ami-d5c18eba
# eu-west-2:
# AMI: ami-e7d6c983
# eu-west-1:
# AMI: ami-1a962263

Keybase proof

I hereby claim:

  • I am Roman-Dudar on github.
  • I am romandudar (https://keybase.io/romandudar) on keybase.
  • I have a public key whose fingerprint is C45C 7A0B 1C9A 9DBF 8123 F085 3FAC 77CB 7FF2 A3BA

To claim this, I am signing this object:

@Roman-Dudar
Roman-Dudar / Google_forms_other.gs
Last active December 25, 2020 07:25
Script for Google Forms. Uses "Other" field in checkbox and radio groups to add options from responses.
/*
Script for Google Forms.
"Fixes" other... field in checkbox and radio groups.
Whenever form is submitted and "other" option is selected,
input goes to corresponding checkbox/radio group in form
as a new option, so next respondents don't have to put it
in manually.