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 GFYCAT | Show all Download Links (GIF, MP4, WEBP, WEBM) | |
// @namespace de.sidneys.userscripts | |
// @homepage https://gist.githubusercontent.com/sidneys/1af7b31282fa5019b6213d48e3b47c88/raw/ | |
// @version 2.0.1 | |
// @description Adds direct links to all image (.gif, .webp) and video (.mp4, .webm) formats and sizes on Gfycat. | |
// @author sidneys | |
// @updateURL https://greasyfork.org/scripts/408129-gfycat-show-all-download-links-gif-mp4-webp-webm/code/GFYCAT%20%7C%20Show%20all%20Download%20Links%20(GIF,%20MP4,%20WEBP,%20WEBM).user.js | |
// @icon https://gfycat.com/assets/apple-touch-icon/apple-touch-icon-180x180.png | |
// @include http*://*.gfycat.com/* |
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/zsh | |
# Join parts generated by the script: https://gist.github.com/cheadrian/b661fb68a6a87ea64069e641cef68c3e#gistcomment-3495351 | |
mkdir -p vid_fix | |
base_dir=$(pwd) | |
vid_dir="${base_dir}/stream_download_test/vid/" | |
aud_dir="${base_dir}/stream_download_test/aud/" | |
# number of files to skip from the start and end | |
skip_start=58 | |
skip_end=0 |
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/bash | |
# example method for best quality output: | |
#waifu2x -scale 2 -method scale -tta 1 -tta_level 8 -model_dir /usr/share/waifu2x/models/photo -i ~/test/test_1280.png -o ~/test/test_waifu2x_tta8.png | |
success(){ | |
# play a sound on successful file processing | |
paplay ~/Music/sfx/185845__lloydevans09__incorrect-function.wav | |
return 0 | |
} | |
failure(){ |
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
# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com> | |
# Contributor: Nathan O <ndowens.aur at gmail dot com> | |
# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab | |
pkgname=diffimg | |
_pkgname=Diffimg | |
pkgver=2.2.0 | |
pkgrel=1 | |
pkgdesc="Simple image comparison tool" | |
arch=('i686' 'x86_64') |