Skip to content

Instantly share code, notes, and snippets.

View AntiSol's full-sized avatar
😢
Moved to gitlab because microsoft cannot be trusted.

Dale Magee AntiSol

😢
Moved to gitlab because microsoft cannot be trusted.
View GitHub Profile
@jart
jart / rename-pictures.sh
Created December 12, 2023 15:24
Shell script for renaming all images in a folder
#!/bin/sh
# rename-pictures.sh
# Author: Justine Tunney <jtunney@gmail.com>
# License: Apache 2.0
#
# This shell script can be used to ensure all the images in a folder
# have good descriptive filenames that are written in English. It's
# based on the Mistral 7b and LLaVA v1.5 models.
#
# For example, the following command:
@akash-gajjar
akash-gajjar / tldv.py
Last active July 22, 2024 22:04
Download videos from TLDV.io
from datetime import datetime
from os import system
import requests
import json
## Please install ffmpeg before running this script and make sure it's in your PATH
## brew install ffmpeg
## Please install requests before running this script
## pip3 install requests
@arno01
arno01 / docker-on-android.md
Last active June 1, 2024 16:24
Docker on Android

WORK IN PROGRESS

Docker on Android

Setup:

Samsung Galaxy Tab S5e SM-T720
Android Pie on Linux 4.9.112 (not rooted)
Termux
@bmaupin
bmaupin / pdfedit-docker.md
Last active October 10, 2023 15:37
Run PDFEdit in Docker (was Install PDFEdit on Ubuntu)
@kivikakk
kivikakk / ci-key-recover.py
Last active February 7, 2020 13:58
recover key from CodeIgniter homegrown crypto
#!/usr/bin/env python3
# CodeIgniter pre-2.2 non-mcrypt Encrypt reverser.
# Finds the key by partially-known plaintext attack.
# Written by Ashe Connor. Placed in the public domain.
import codecs
import re
import sys
import time
@xlab
xlab / matchbox-keyboard-toggler.c
Created July 13, 2012 11:16
Matchbox Keyboard Toggler
/*
A very simple program to send the toggle-keyboard event to matchbox-keyboard
Requires a version of matchbox-keyboard running in daemon mode (-d), and
must be a version of matchbox-keyboard that supports the toggle event.
Currently the SVN version meets this requirement.
Compiling:
gcc matchbox-keyboard-toggler.c -o matchbox-keyboard-toggler -lX11