I hereby claim:
- I am Plazmaz on github.
- I am plazmaz (https://keybase.io/plazmaz) on keybase.
- I have a public key whose fingerprint is 361E 53F6 C25C 5BD6 4E0D AD43 40F2 0498 A66D C05B
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am Plazmaz on github. | |
* I am dtk (https://keybase.io/dtk) on keybase. | |
* I have a public key whose fingerprint is 7759 0E29 7266 DB91 B8D2 4112 8BEA B0BC 4651 FEDA | |
To claim this, I am signing this object: |
var radius = 2; | |
var i = 0; | |
var idx = 0; | |
var increment = 5; | |
var icon = "../emojis/trollface" | |
IIC.setCountry(icon); | |
document.onmousemove = move; | |
var loop = setInterval(function() { | |
for (var id in others) { | |
//console.log(id) |
//This can be pasted into the chrome dev console to generate a comma seperated list | |
//of coordinates. This is copied to your clipboard and can be pasted into a CSV. | |
var children = document.getElementsByClassName("y axis main")[0].children; | |
var scaleStr = children[children.length - 2].children[1].innerHTML; | |
scaleStr = scaleStr.substring(0, scaleStr.length - 1); | |
var scale = 413 / parseFloat(scaleStr); | |
var data = document.getElementsByClassName("line visible clickable main")[0].getAttribute("d"); | |
var coords = data.substr(1).split("L") | |
var msg = "" | |
for(var i = 0; i < coords.length; i++) { |
#! /bin/bash | |
IN_IMG="1.jpg" | |
STREAM_KEY="live_xxxxxxxxx_xxxxxxxxxxxxxx" | |
ffmpeg -re -loop 1 -framerate 2 -i $IN_IMG \ | |
-f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 \ | |
-c:a libmp3lame \ | |
-vcodec libx264 -pix_fmt yuv420p -maxrate 2048k -bufsize 2048k \ | |
-framerate 30 -g 2 -strict experimental -f flv \ | |
-strict experimental -f flv rtmp://live.twitch.tv/app/$STREAM_KEY |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
CLIENT_ID="" | |
CLIENT_SECRET="" | |
if [[ ! $1 ]] | |
then | |
echo "Please visit the following url to generate a code:" | |
echo "https://bitbucket.org/site/oauth2/authorize?client_id=$CLIENT_ID&response_type=code" | |
else | |
curl -X POST -u "$CLIENT_ID:$CLIENT_SECRET" \ |
I hereby claim:
To claim this, I am signing this object:
## AWS | |
# Amazon Web Services (No Header Required) | |
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
http://169.254.169.254/latest/user-data | |
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/ami-id | |
http://169.254.169.254/latest/meta-data/reservation-id | |
http://169.254.169.254/latest/meta-data/hostname | |
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key |
# !/bin/bash | |
function windir() { | |
echo "/mnt/$1" | sed -e 's/\\\\/\//g' -e 's/\b\(.\):/\L\1/g' | |
} |