Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block ata4

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ata4 /
Last active May 11, 2019
ESRGAN launcher with tiling support
import sys
import os
import glob
import math
import argparse
import cv2
import numpy as np
import torch
ata4 / spotpaper.pyw
Last active Oct 10, 2016
Sets a random Spotlight image as wallpaper
View spotpaper.pyw
import sys
import os
import struct
import ctypes
import imghdr
import random
SystemParametersInfoW = ctypes.windll.user32.SystemParametersInfoW
def set_wallpaper(path):
ata4 / ping-pong-analyzer_v2.avs
Created Feb 20, 2016
Ping-pong analyzer script for /r/perfectloops
View ping-pong-analyzer_v2.avs
Function TrimLoop(Clip clip)
# delete first frame if clip has an even frame count
# optional: delete duplicate frame in the middle
#DeleteFrame(FrameCount / 2)
ata4 /
Last active Oct 3, 2019
Python 3 script to create movie barcodes with ffmpeg and imagemagick
import sys, subprocess, getopt, os, json
def main(argv):
script_name = os.path.basename(argv[0])
opts, args = getopt.getopt(argv[1:], "sw:h:q:", ["help", "solid-color", "width=", "height=", "samples="])
except getopt.GetoptError as err:
ata4 /
Last active Dec 26, 2015
Video to GIF converter script.
use strict;
use warnings;
use Math::Round;
use JSON;
use Getopt::Std;
# program paths
my $ffprobePath = "ffprobe";
You can’t perform that action at this time.