Skip to content

Instantly share code, notes, and snippets.

View mrWeiss0's full-sized avatar
😢
Stacca stacca

mrWeiss mrWeiss0

😢
Stacca stacca
View GitHub Profile
@mrWeiss0
mrWeiss0 / resize.bat
Last active January 17, 2022 10:51
Converts and scales the files in a directory using ImageMagick
:: USAGE: ./resize.bat [OPTION]... [DIR]
::
:: Converts and scales the files in the directory DIR
:: If DIR is omitted it is asked to the user
:: Requires ImageMagick
::
:: /q Runs quietly
:: /n No action, print file names only
::
:: Parameters:
@mrWeiss0
mrWeiss0 / readline.c
Created June 4, 2020 14:05
readline function with increasing buffer
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define LBUF_SZ 0x402
#define NEWL '\n'
struct string{
char *str;
size_t len;
@mrWeiss0
mrWeiss0 / END_CREDITS.ass
Last active March 31, 2024 05:50
Scrolling end credits in ASS format with Aegisub Karaoke Templater
[Script Info]
; Script generated by Aegisub 3.2.2
; http://www.aegisub.org/
Title: PROVA
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: None
PlayResX: 1920
PlayResY: 1080
@mrWeiss0
mrWeiss0 / photoshop-counter.js
Created March 14, 2018 17:07
Photoshop javascript to overlay a progressive counter on a group of pictures
/*
* Counter Overlay Generatore
*
* Call the script once to prepare the template,
* adjust font, color and size, and write in
* the text layer a starting number,
* then call the script again to start the process.
* For transparent PNG select Cancel in the file select dialog.
*
*/