Skip to content

Instantly share code, notes, and snippets.

View vekvoid's full-sized avatar
👨‍💻

vekvoid

👨‍💻
View GitHub Profile
@vekvoid
vekvoid / InstagramVideoControls.user.js
Last active May 18, 2017 01:32
Sowing controls on Instagram videos.
// ==UserScript==
// @name Instagram Video Controls
// @namespace https://github.com/vekvoid/
// @version 1.0
// @description try to take over the world!
// @author Vekvoid
// @match *://www.instagram.com/*
// @grant none
// @require https://code.jquery.com/jquery-3.1.1.slim.min.js
// ==/UserScript==
@vekvoid
vekvoid / favimageswatcher.sh
Created August 31, 2016 17:20
Send a email with a image marked as favorite on Variety.
#! /bin/bash
inotifywait -m ~/.config/variety/Favorites --exclude \.json -e create -e moved_to |
while read path action file; do
echo "The file '$file' appeared in directory '$path' via '$action'"
# do something with the file
SERVER_PORT="smtp.sendgrid.net:587"
SENDER="from@example.com"
RESEIVER="to@example.com"
USER="apikey"