Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimum-scale=1.0, width=device-width, minimal-ui" /> | |
<style id="jsbin-css"> | |
.list { | |
margin-top: 150px; | |
text-align: centre; |
I hereby claim:
To claim this, I am signing this object:
certifi==2016.8.8 | |
elasticsearch-curator==4.0.6 | |
PyYAML==3.11 |
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "no file" | |
exit 1 | |
fi | |
OUTPUT="$(echo "$1" | perl -pe 's/^(.*)\.mkv/\1/g').mp4" |
# First we strip off the outer policy to get left with single list of statements | |
[ | |
map( .Statement ) | | |
.[] | .[] | |
] | | |
# Then we want to normalise so that all actions and resources are arrays and sorted | |
map( | |
. as $original_statement | | |
# Do some checking to make sure elements that haven't been considered aren't in any statements | |
# They probably could be supported in similar way to Effect and Condition below |
#!/bin/bash | |
set -e | |
# This can be between 900 (15m) and 3600 (1h) | |
TIMEOUT=3600 | |
START_TIME=$(date +%s) | |
function close_sub_task() { |
#!/bin/bash | |
SERVICE="$1" | |
SHARD_ITERATOR=$(aws kinesis get-shard-iterator --shard-id shardId-000000000000 --shard-iterator-type LATEST --stream-name ecs-log-stream --query 'ShardIterator') | |
LOOP=true | |
trap "LOOP=false" SIGHUP SIGINT SIGTERM | |
while [ "${LOOP}" == "true" ]; do |
import { createHash } from "crypto"; | |
import BluebirdPromise from "bluebird"; | |
import Client_PG from "knex/lib/dialects/postgres"; | |
function hash(str) { | |
return createHash("sha1") | |
.update(str) | |
.digest("hex"); | |
} |