I hereby claim:
- I am sirtawast on github.
- I am sirtawast (https://keybase.io/sirtawast) on keybase.
- I have a public key ASCVSERxYhKo7xKpQUtvN0jRluTqX1ajMcJdavXXWrweEAo
To claim this, I am signing this object:
#/bin/bash | |
# Assumes aws-cli installed and configured | |
# Use crontab or whatever you like to automate | |
HA_BACKUP_DATE=$(date +"%m-%d") | |
HA_S3_BUCKET_PATH="my-ha-backups/latest/whatever" | |
cd /home/$USER/homeassistant | |
docker compose stop |
<?php | |
class CamStream { | |
protected $code_done = 99999999; | |
protected $buffer = ""; | |
public function start_stream($url="https://example.org", $passwd="hello:world") { | |
$exit_ok = false; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); |
I hereby claim:
To claim this, I am signing this object:
window.i18n = window.i18n || {}; | |
i18n._langCache = {} | |
i18n._availableLangs = [ | |
'fi', | |
'en', | |
] | |
i18n._updateElements = function () { |
repeat() { | |
echo Repeating \"$1\" for every $2 sec | |
while true | |
do | |
eval $1 | |
if [ -n $2 ]; then | |
sleep $2 | |
else | |
sleep 5 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# (should not be run as shell script, the steps take so long) | |
# Restore/change AWS S3 files from Glacier storage class to STANDARD or STANDARD_IA and copy them in-place to get non-expiring ones | |
# There wasn't any instructions on how to do this easily so I decided to write them. | |
# In case you screw things up with lifecycle options etc. | |
# Procedure might take a while if you have many many files. | |
# There are three steps: |
I hereby claim:
To claim this, I am signing this object:
Process: GuitarPro7 [16932] | |
Path: /Applications/Guitar Pro 7.app/Contents/MacOS/GuitarPro7 | |
Identifier: com.arobas-music.guitarpro7 | |
Version: 7.0.5.699 (7.0.5.699) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: GuitarPro7 [16932] | |
User ID: 501 | |
Date/Time: 2017-08-14 10:06:16.919 +0300 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |