Thanks to /u/zpoo32 for reporting several issues in this list!
- deemix: just the cli and the library
- deemix-pyweb: the app with a GUI
- deemix-server: just the server part of deemix-pyweb
// Volume slider from: https://codepen.io/emilcarlsson/pen/PPNLPy | |
// ==UserScript== | |
// @name Instagram volume slider | |
// @namespace https://delivator.me/ | |
// @version 0.5 | |
// @description Adds a volume slider to Instagram | |
// @author Delivator.me | |
// @match https://www.instagram.com/* | |
// @homepage https://gist.github.com/Delivator/902cdaff0f21186b514e576e4670ff70 |
Thanks to /u/zpoo32 for reporting several issues in this list!
/* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
# convert video to animated .gif | |
# requires FFmpeg 2.6 or higher | |
# http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html | |
param( | |
[Parameter(Mandatory=$true)][string]$InputPath, | |
[string]$OutputPath, | |
[int]$Height=0 # 0 for input height | |
) |
// ==================== Ascii Art ==================== | |
echo "$$$$$$$\ $$$$$$$$\ $$\ $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$$\ $$\ $$\ $$$$$$$$\ " | |
echo "$$ __$$\ $$ _____|$$ | \_$$ _|$$ | $$ |$$ __$$\\__$$ __|$$ __$$\ $$ __$$\ $$$\ $$$ |$$ _____|" | |
echo "$$ | $$ |$$ | $$ | $$ | $$ | $$ |$$ / $$ | $$ | $$ / $$ |$$ | $$ | $$$$\ $$$$ |$$ | " | |
echo "$$ | $$ |$$$$$\ $$ | $$ | \$$\ $$ |$$$$$$$$ | $$ | $$ | $$ |$$$$$$$ | $$\$$\$$ $$ |$$$$$\ " | |
echo "$$ | $$ |$$ __| $$ | $$ | \$$\$$ / $$ __$$ | $$ | $$ | $$ |$$ __$$< $$ \$$$ $$ |$$ __| " | |
echo "$$ | $$ |$$ | $$ | $$ | \$$$ / $$ | $$ | $$ | $$ | $$ |$$ | $$ | $$ |\$ /$$ |$$ | " | |
echo "$$$$$$$ |$$$$$$$$\ $$$$$$$$\ $$$$$$\ \$ / $$ | $$ | $$ | $$$$$$ |$$ | $$ |$$\ $$ | \_/ $$ |$$$$$$$$\ " | |
echo "\_______/ \________|\________|\______| \_/ \__| \__| \__| \______/ \__| \__|\__|\__| \ |
Excited, the new apprentice jumped right into his Master’s training server.
The apprentice asked, “Master what files should I backup?”
The Master replied, “Does not the mother bird care for all her fledglings? Will not the shepherd watch over his entire flock? Therefore, one must backup all files in one’s care, no matter how small or insignificant we consider them to be. Each file has its importance and must not be overlooked.”
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
# StackOverflow: http://stackoverflow.com/questions/21215059/cant-use-nvm-from-root-or-sudo | |
# Source: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-with-nvm-node-version-manager-on-a-vps | |
# The below command seems to fix the problem | |
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local | |
# The above command is a bit complicated, but all it's doing is copying whatever version of node | |
# you have active via nvm into the /usr/local/ directory (where user installed global files should | |
# live on a linux VPS) and setting the permissions so that all users can access them. |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Username to UUID</title> | |
<?php | |
function getUUID($users,$agent) { | |
$data = array(); | |
foreach ($users as $key => $value) { | |
array_push($data, $value); | |
} |