Skip to content

Instantly share code, notes, and snippets.

View Reiner030's full-sized avatar

Reiner Keller Reiner030

  • Berlin, Germany
  • 19:08 (UTC +02:00)
View GitHub Profile
@abelmferreira
abelmferreira / exportRoute53Zone.sh
Created July 14, 2019 14:01
Export AWS Route53 zone
#!/bin/bash
# Export a AWS DNS Route53 Zone to file
# Install and configure AWS CLI first
# Usage: exportRoute53Zone.sh zonename
zonename=$1
hostedzoneid=$(aws route53 list-hosted-zones | jq -r ".HostedZones[] | select(.Name == \"$zonename.\") | .Id" | cut -d'/' -f3)
aws route53 list-resource-record-sets --hosted-zone-id $hostedzoneid
@lelandbatey
lelandbatey / whiteboardCleaner.md
Last active April 25, 2024 02:01
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results

@johnalvero
johnalvero / vpcstart.sh
Last active December 24, 2015 19:59
Auto start/install Amavon VPC IPSec.
#!/bin/bash
#
# Setup a VPC IPSEC connectivity
# Oct 5, 2013
exec 2>&1
error() {
echo "$@" >&2
exit 1
@davatron5000
davatron5000 / gist:2254924
Created March 30, 2012 20:57
Static Site Generators

Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.

Ruby