Skip to content

Instantly share code, notes, and snippets.

Red: #f44336

Blue: #2196f3

Green: #8bc34a

#!/bin/bash
JWT_TOKEN=""
THINGSBOARD_URL=""
DEVICEID=""
KEYS=""
ENDTS=""
OUTFILE="tb-data.json"
curl -X GET \
@Engineer-of-Stuff
Engineer-of-Stuff / index.html
Last active August 29, 2015 14:21
YouTube Download (embedable). Forked from Ismael Chriki.
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet" media="screen">
<form class="form-download" method="get" id="download" action="http://youtube-download.bl.ee/getvideo.php">
<h1 class="form-download-heading">Youtube Downloader</h1>
<div class="input-group">
<span class="input-group-addon">http://www.youtube.com/watch?v=</span>
<input type="text" class="form-control" name="videoid" id="videoid" size="40" placeholder="Video ID">
</div>
<span class="help-block">Put in just the ID bit, the part after v=.</span>
<input class="btn btn-primary btn-lg btn-block" type="submit" name="type" id="type" value="Download">
<span class="help-block">Example: http://www.youtube.com/watch?v=<b>x0Er5zX_sCw</b></span>