This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<input id="box"> | |
<button onclick="makelink(document.getElementById('box').value);">Make link</button> | |
<div id="output"></div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"> | |
</script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
URL: | |
<input id="box"> | |
Slashtag: | |
<input id="slashtag"> | |
<button onclick="makelink(document.getElementById('box').value, document.getElementById('slashtag').value);">Make link</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-03-24T17:42:58.750Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
> | |
<channel> | |
<atom:link href="{{ site.url }}{{ page.url }}" rel="self" type="application/rss+xml" /> | |
<link>{{ site.url }}</link> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fetch = require("node-fetch"); | |
exports.handler = async (event, context) => { | |
var url = event.path; | |
url = url.split(".netlify/functions/cors-binary/")[1]; | |
url = decodeURIComponent(url); | |
url = new URL(url); | |
for (let i in event.queryStringParameters) { | |
url.searchParams.append(i, event.queryStringParameters[i]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# WTFPL license | |
# You might need to change /dev/video2 to something different depending on what hardware you have plugged in | |
sudo modprobe v4l2loopback | |
echo "Enter the file path (no spaces):" | |
read filepath | |
echo starting stream... | |
ffmpeg -re -stream_loop -1 -i $filepath -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"question":"what color is an orange?","answers":["green","yellow","orange","blue"],"correct":[2],"timelimit":15},{"question":"when did the chicken cross the road?","answers":["1984","to get to the other side","not enough information","yesterday"],"correct":[1,2],"timelimit":15},{"question":"what isn't one of Ernest Dichter's theories?","answers":["women are sexually attracted to asparagus","cakes are bisexual","rice represents birth","yogurt makes you sexy"],"correct":[1],"timelimit":34},{"question":"what is Linux?","answers":["an operating system","licensed under GPLv3","not an operating system unto itself, but rather another free component of a fully functioning GNU system, made useful by the GNU corelibs, shell utilities, and vital system components comprising a full OS as defined by POSIX","the basis of MacOS"],"correct":[2],"timelimit":15},{"question":"What type of camera was Dune (2021) shot on?","answers":["Red Komodo","ARRI Alexa Mini","Red Monstro","ARRI Alexa LF"],"correct":[3],"timelimit":15},{"q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"question":"口袋 (kǒudài)","answers":["carry","pocket","hole","chopsticks"],"correct":[1],"timelimit":15},{"question":"放假","answers":["vacation","pocket","bad person","house"],"correct":[0],"timelimit":15},{"question":"我一吃饭就觉得很开心。","answers":["As soon as I eat food, I think well","When I eat one I think happy","As soon as I eat, I feel sad","as soon as I eat, I feel happy."],"correct":[3],"timelimit":15},{"question":"坏人","answers":["good person","find person","bad person","people"],"correct":[2],"timelimit":15},{"question":"last time","answers":["鞋子","上次","猪肉","毛衣"],"correct":[1],"timelimit":15},{"question":"毛衣","answers":["sweater","top hat","mountain","sunfish"],"correct":[0],"timelimit":15},{"question":"to steal","answers":["偷 (tōu)","新 (xīn)","重 (zhòng)","轻 (qīng)"],"correct":[0],"timelimit":15},{"question":"新 (xīn)","answers":["new","old","left","south"],"correct":[0],"timelimit":15},{"question":"王子 ( wángzǐ )","answers":["pocket","chopsticks","take","prince"],"correct":[3],"timelimit":15},{"question":"筷 |