This file contains hidden or 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
// ==UserScript== | |
// @name Make Medium Readable Userscript | |
// @namespace http://make.medium.readable.again | |
// @version 0.1 | |
// @description https://github.com/thebaer/MMRA | |
// @author luke3butler (Credits to Matt Baer) | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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/sh | |
curl 'https://giphy.com/page/2?next=2017-12-01%2004%3A15%3A01&%3Bis=1&is=1&json=true' -o gipyurls.json | |
jq .[].gifs[].images.original.url gipyurls.json |cut -d / -f 5 | parallel -j 20 --gnu curl https://media2.giphy.com/media/{}/giphy.gif -o {}.gif | |
parallel -j 20 --gnu "ffmpeg -f gif -i {} {}.h264.mp4" ::: *.gif | |
parallel -j 20 --gnu "ffmpeg -f gif -i {} -c:v libx265 {}.h265.mp4" ::: *.gif | |
parallel -j 20 --gnu "ffmpeg -f gif -i {} -c:v libvpx {}.vp8.webm" ::: *.gif | |
parallel -j 20 --gnu "ffmpeg -f gif -i {} -c:v libvpx-vp9 {}.vp9.webm" ::: *.gif |
This file contains hidden or 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 Redis = require('ioredis'); | |
var redis = new Redis({ | |
host: "nodesydney.wiftycloud.com", | |
password: "7884b8baaa49fbcb48f17ad2a146" | |
}); | |
async function main() { | |
// write an event to stream 'events', setting 'key1' to 'value1' | |
await redis.sendCommand( |
OlderNewer