I hereby claim:
- I am hfreire on github.
- I am hfreire (https://keybase.io/hfreire) on keybase.
- I have a public key ASD91X_VarQXA8-IS0qsaLzI6pLM8ao2kbWpwZn4eCNPpgo
To claim this, I am signing this object:
# Install QEMU OSX port with ARM support | |
sudo port install qemu +target_arm | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
curl -OL \ | |
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
# Download filesystem and export location |
#!/bin/sh | |
CECCLIENT=$(which cec-client) | |
power_on () { | |
echo "on 0" | $CECCLIENT -s -d 1 >/dev/null | |
} | |
power_off () { | |
echo "standby 0" | $CECCLIENT -s -d 1 >/dev/null |
#!/bin/sh | |
is_hdmi_output_off () | |
{ | |
tvservice -s | grep "TV is off" >/dev/null | |
} | |
case $1 in | |
stop) | |
tvservice -o |
/* | |
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* | |
* - Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* |
#!/bin/sh | |
SOC_USB=/sys/devices/platform/soc/20980000.usb | |
if [ ! -d $SOC_USB ]; | |
then | |
SOC_USB=/sys/devices/platform/soc/3f980000.usb # Raspberry Pi 3 | |
fi | |
BUSPOWER=$SOC_USB/buspower |
#!/bin/sh | |
KODI_HOSTNAME=$1 | |
HLS_URL=$2 | |
curl -X \ | |
-H "Content-Type: text/parameters" \ | |
-d "Content-Location: $HLS_URL" \ | |
"http://$KODI_HOSTNAME:36667/play" -v |
# create a vault | |
aws glacier create-vault --account-id - --vault-name my-vault-name | |
# check that the vault was created successfully | |
aws glacier describe-vault --account-id - --vault-name my-vault-name | |
# upload a file to the vault | |
aws glacier upload-archive --vault-name my-vault-name --account-id - --archive-description "my-archive-description" --body my-text-file.txt | |
# request an inventory of the vault |
# Install latest bash version using macports | |
sudo port install bash | |
# Add macports bash as an available shell interpreter | |
echo /opt/local/bin/bash >> /etc/shells | |
# Set macports bash as the default shell interpreter | |
chsh -s /opt/local/bin/bash | |
# Open a new terminal window |
# Load test Aftonbladet's website with HTTP GET requests and show error report | |
echo "GET https://www.aftonbladet.se" | vegeta attack -duration=60s | tee results.bin | vegeta report |
I hereby claim:
To claim this, I am signing this object: