Skip to content

Instantly share code, notes, and snippets.

View glubsy's full-sized avatar

Fuan glubsy

  • Canada
View GitHub Profile
@glubsy
glubsy / gfycat.show-all-download-links.js
Last active February 3, 2021 19:49 — forked from sidneys/gfycat.show-all-download-links.js
UserScript | GFYCAT | Show all Download Links (GIF, MP4, WEBP, WEBM)
@glubsy
glubsy / stream_parts_joiner.sh
Last active February 27, 2021 18:36 — forked from cheadrian/Youtube_Livestream_Parts_download.py
Download Youtube Live streamed video from the start. These scripts are not updated anymore, checkout https://github.com/glubsy/livestream_saver instead!
#!/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
@glubsy
glubsy / waifu.sh
Last active September 26, 2018 00:44 — forked from frantic1048/waifu.sh
waifu2x batch operation wrapper
#!/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(){
@glubsy
glubsy / PKGBUILD
Last active September 19, 2018 18:00 — forked from anonymous/PKGBUILD
# 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')