Skip to content

Instantly share code, notes, and snippets.

View tassoman's full-sized avatar
🪲
is bugging things

Tassoman tassoman

🪲
is bugging things
View GitHub Profile
@tassoman
tassoman / How to force outcoming links (for example from outlook) opening in Firefox's current window.md
Last active December 4, 2025 11:02
How to force outcoming links (for example from outlook) opening in Firefox's current window
#!/bin/sh
###
#
# This script creates an App token to automate your profile in #FEDIVERSE
# with PLEROMA / AKKOMA / PL / NICOLEX
#
# Author: Tassoman <tassoman@gmail.com>
# License: AGPLv3
# See: https://gist.github.com/tassoman/91339a4300264348253161e7ec2d4bba
@tassoman
tassoman / misskey-gif-header.sh
Last active November 16, 2024 10:19
Generate a GIF header for your Misskey profile
#!/bin/sh
# License: AGPLv3
# Author: Tassoman
# URL: https://github.com/tassoman
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <input_video> <output_gif>"
exit 1
fi
@tassoman
tassoman / RunClamScanOnFile.bat
Last active October 15, 2025 13:21
A simple ClamAV integration with Windows
@echo off
:: Released (CC-BY-SA-NC) https://gist.github.com/tassoman/a3e6fbbbc0e69aa4e56610429d0cb3c6
if "%~1"=="" (
echo Please provide a File to scan.
exit /b
)
"C:\Program Files\ClamAV\clamscan.exe" "%~1"
@tassoman
tassoman / gist:9ba796518a02ba62c2d097333bd8d8fe
Created September 7, 2024 19:21
PL Rebased Akkoma Pleroma Fulltext search, stemmed in preferred language
Database is postgresql, Application server is Pleroma Akkoma Rebased or PL
Install fts package by using PGXN
https://github.com/dvarrazzo/italian_fts/blob/master/LEGGIMI.rst
Reindex Postgres database of PL Rebased Akkoma Pleroma
https://docs-develop.pleroma.social/backend/configuration/howto_search_cjk/
Default catalog is: pg_catalog.english
@tassoman
tassoman / 01 mysql.reset.sh
Last active December 4, 2025 11:01 — forked from Artistan/.1. mysql.reset.sh
Reset Master (root) MySQL/MariaDB Password -- Debian
service mysql stop
mkdir -p /var/run/mysqld
chown mysql. /var/run/mysqld
/usr/bin/mysqld_safe --skip-grant-tables --skip-networking &
mysql -u root < reset.sql
# do the reset.sql stuff...
killall mysqld
killall mysqld_safe
service mysql start
@tassoman
tassoman / .xscreensaver
Last active April 18, 2020 20:55
Live video screensaver using XScreensaver and mpv (mplayer video player)
# XScreenSaver Preferences File
# Written by xscreensaver-demo 5.42 for tassoman on Sat Apr 18 04:32:55 2020.
# https://www.jwz.org/xscreensaver/
timeout: 0:03:00
cycle: 0:03:00
lock: False
lockTimeout: 0:00:00
passwdTimeout: 0:00:30
visualID: default
Verifying that +tassoman is my blockchain ID. https://onename.com/tassoman

Keybase proof

I hereby claim:

  • I am tassoman on github.
  • I am tassoman (https://keybase.io/tassoman) on keybase.
  • I have a public key whose fingerprint is 1EF2 8FDC DFC2 DA1C 1561 160B 6E34 5185 1FF3 182C

To claim this, I am signing this object: