I hereby claim:
- I am philroche on github.
- I am philroche (https://keybase.io/philroche) on keybase.
- I have a public key whose fingerprint is 77BB A519 ABC5 FDE7 ED9D 30AA 50DC BC7C 3339 F00F
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # | |
| #set -ux | |
| set +e | |
| if [ -z "$1" ] ; then | |
| TRANSCODEDIR="." | |
| else | |
| TRANSCODEDIR="$1" | |
| fi |
| #!/bin/bash | |
| ### Facultatif change : | |
| DIR=/data/znc # This will most likely change for you | |
| TAR_PATH=`whereis tar | cut -d ' ' -f 2` | |
| p7zip_PATH=`whereis 7za | cut -d ' ' -f 2` | |
| DATEI1=$(date +%Y-%m-%d)_znc_backup.tar | |
| DATEI2=$(date +%Y-%m-%d)_znc_backup.tar.7z | |
| DATUM=$(date +%Y-%m-%d) | |
| sevenzp="a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -mhe=on" | |
| ### no Change after here |
| #!/bin/bash | |
| # | |
| # Change this to specify a different handbrake preset. You can list them by running: "HandBrakeCLI --preset-list" | |
| # | |
| #set -ux | |
| set +e | |
| PRESET="Very Fast 720p30" # or Fast 720p30 or Fast 1080p30 | |
| if [ -z "$1" ] ; then | |
| TRANSCODEDIR="." | |
| else |
| REPO_LINE="deb https://${LP_USER}:${PPA_PASSWORD}@${PRIVATE_PPA_URL} ${SUITE} main" | |
| REPO_KEY_FINGERPRINT=832749327429CADB77842973ED72947203471037 | |
| # Add the private ppa to the system | |
| env DEBIAN_FRONTEND=noninteractive chroot "${MOUNTPOINT}" apt-add-repository "${REPO_LINE}" | |
| env DEBIAN_FRONTEND=noninteractive chroot "${MOUNTPOINT}" apt-key adv --keyserver keyserver.ubuntu.com --recv ${REPO_KEY_FINGERPRINT} | |
| env DEBIAN_FRONTEND=noninteractive chroot "${MOUNTPOINT}" apt-get update | |
| # Install from private PPA HERE | |
| env DEBIAN_FRONTEND=noninteractive chroot "${MOUNTPOINT}" apt-get install -qqy awesome_package_but_super_secret |
| #!/bin/bash | |
| echo "Getting list of Availability Zones" | |
| all_regions=$(aws ec2 describe-regions --output text --query 'Regions[*].[RegionName]' | sort) | |
| all_az=() | |
| while read -r region; do | |
| az_per_region=$(aws ec2 describe-availability-zones --region $region --query 'AvailabilityZones[*].[ZoneName]' --output text | sort) | |
| while read -r az; do | |
| all_az+=($az) |
| #!/bin/sh | |
| cat > lifecycle.json <<EOF | |
| { | |
| "Rules": [ | |
| { | |
| "Expiration": { | |
| "Days": 7 | |
| }, | |
| "ID": "Expire, delete, and cancel", |
| #!/bin/bash | |
| cat <<EOF > meta-data | |
| instance-id: iid-local01 | |
| local-hostname: cloudimg | |
| EOF | |
| cat <<EOF > user-data | |
| #cloud-config | |
| ssh_import_id: [ yourlaunchpadid ] |
| # log from ipython as I played with the pricing api | |
| #index.json from https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/index.json | |
| # Per http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html#download-the-offer-index | |
| # But this may no longer be supported as it (EC2) is not part of the parent index of all services any longer | |
| import json | |
| with open('index.json', 'r') as foo: | |
| data = json.read(foo) | |
| with open('index.json', 'r') as foo: |
I hereby claim:
To claim this, I am signing this object: