This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Combine two non-duplex document feeder scansions into a single duplex pdf file. | |
# | |
# The input file should be procuded passing the document in the feeder (from the | |
# first page forward) and then passing it again on the backside (that is from | |
# the last page on backward). | |
# | |
# Tue Aug 8 20:41:26 CEST 2017, Andrea Leofreddi | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Dump AWS Cognito users as CSV output. | |
# | |
# Thu Jun 20 15:31:10 CEST 2019, Andrea Leofreddi | |
# | |
me="`basename $0`" | |
if [ $# != 1 ]; then | |
echo Usage: "$me" pool_id >&2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml2json | |
ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))' < hello.yaml | |
# json2yaml | |
ruby -ryaml -rjson -e 'puts YAML.dump(JSON.load(ARGF))' < hello.json |
NewerOlder