Skip to content

Instantly share code, notes, and snippets.

lite xl is epick

Cukmekerb vincens2005

lite xl is epick
View GitHub Profile
vincens2005 / rebrandly.html
Created Feb 11, 2021
an exapmple of the rebrandly API ising jQuery (ancient)
View rebrandly.html
<!doctype html>
<input id="box">
<button onclick="makelink(document.getElementById('box').value);">Make link</button>
<div id="output"></div>
<script src="">
vincens2005 / rebrandly_custom_slashtag.html
Created Feb 12, 2021
Use the rebrandly API with custom slashtags (also old)
View rebrandly_custom_slashtag.html
<!doctype html>
<input id="box">
<input id="slashtag">
<button onclick="makelink(document.getElementById('box').value, document.getElementById('slashtag').value);">Make link</button>
View cloudSettings
View podcast.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
<atom:link href="{{ site.url }}{{ page.url }}" rel="self" type="application/rss+xml" />
<link>{{ site.url }}</link>
View cors-binary.js
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]);
vincens2005 /
Created Aug 1, 2021
creates a virtual webcam with ffmpeg and v4l2loopback
# 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
View a_cool_kaboot.json
[{"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