Since GraphAPI was revoked, no apps are getting approved and posting via email was shutdown, I pulled together a Tautulli notification python script for Facebook Groups using HTTP POST.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env bash | |
# | |
# Use rofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: | |
# rofi, xsel, xdotool, curl, xmllint | |
# | |
# Usage: | |
# 1. Download all emoji |
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
-- This snippet is a code I wrote to configure the position of monitors with AwesomeWM | |
-- Usage : | |
-- Press your Display button (or whatever you binded it to) | |
-- Popup will show the name of a connected monitor | |
-- Press an arrow key or Display button to set this monitor in this direction relatively to your main monitor, (display for same position) | |
-- It will continue until you have configured all connected monitors | |
-- the name of your main screen as shown in xrandr | |
main_screen = "eDP1" |
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
# -*- coding: utf-8 -*- | |
# | |
# Author: Vegard Nossum <[email protected]> | |
import math | |
import os | |
import sys | |
import cairo |
- Initial credit to https://gist.github.com/maxivak/513191447d15c4d30953006d99928658
Gitlab exports a tar.gz file which contains a file called project.bundle. We can convert this file into a normal git repo using the following steps:
$ tar xvfz GitLabExport.gz
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
#!/usr/bin/env bash | |
# | |
# Convert GoPro Hero7/Hero8 videos (mainly HEVC) to DNxHD and AAC to PCM which can be read with DaVinci Resolve 16 in Linux | |
# Also keeps GoPro's metadata | |
# | |
# Required dependency: ffmpeg 4.1 | |
# To do: per-stream error handling, actually use datastream count and more efficient parsing of ffprobe | |
# | |
# Free for the taking. | |
# |
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
#!/usr/bin/env bash | |
# WP-CLI Back up Script to Amazon S3 | |
# Source: https://www.jonathan.vc | |
# Author: Jonathan Dingman | |
# Adapted from Mike at WP Bullet | |
#define local path for backups | |
BACKUPPATH=/tmp/backups | |
#path to WordPress installations |
OlderNewer