Skip to content

Instantly share code, notes, and snippets.

@ZipFile
ZipFile / Pixiv Public API.yaml
Last active August 7, 2022 14:11
Unofficial API specification extracted from Pixiv Android App
swagger: "2.0"
info:
title: "Pixiv Public API"
description: "Unofficial API specification extracted from Pixiv Android App v4.8.2"
version: "1.0"
host: public-api.secure.pixiv.net
schemes:
- https
basePath: /v1
produces:
@Shudouken
Shudouken / terminal-dl.lua
Created January 28, 2015 06:20
terminal-dl.lua
-- README:
-- calls terminal and starts youtube-dl to download the video currently playing
local opt = require 'mp.options'
-- default options, .conf is read
local options = {
terminal = 'guake -t && guake -n guake -e',
--terminal = 'gnome-terminal -e',
--terminal = 'konsole -e'
@Shudouken
Shudouken / convert_script.lua
Last active August 29, 2015 14:12
Convert Script - ffmpeg edition
-- README:
-- original version by Zehkul https://gist.github.com/Zehkul/25ea7ae77b30af959be0
-- needs: yad, libnotify, imagemagick (and ytdl if you want to encode streams)
-- press any of alt + w, g, x or c to set the start frame
-- press again to set the end frame and use
-- alt + w to make a webm
-- alt + g to make a gif
-- alt + x to make a x264 encoded mkv
-- alt + c to make a direct stream copy saved into mkv (fast but start time may be off due to keyframes)
-- alt + 5 to make a experimental x265 encoded mkv
@XVilka
XVilka / TrueColour.md
Last active April 8, 2024 14:02
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@cesarblum
cesarblum / gist:2011279
Created March 10, 2012 12:17
TinyWM in Chicken Scheme
;; TinyWM is written by Nick Welch <mack@incise.org>, 2005.
;; Ported to Chicken by César L. B. Silveira <cesarbs@gmail.com>, 2011.
;;
;; Original TinyWM website: http://incise.org/tinywm.html
;;
;; This software is in the public domain
;; and is provided AS IS, with NO WARRANTY.
(require-extension xlib)