Skip to content

Instantly share code, notes, and snippets.

View Techman's full-sized avatar
🔨

Michael Hazell Techman

🔨
  • irc.techtronix.net
View GitHub Profile
@schelmo
schelmo / innodb-dynamic.sh
Created March 28, 2020 11:59
convert all innodb tables to dynamic
#!/bin/bash
umask 0177
temp_file=$(mktemp)
trap 'rm -f -- "$temp_file"' INT TERM HUP EXIT
read -sp 'mysql root password: ' passvar
echo "
[client]
user=root
password='${passvar}'
@Polsaker
Polsaker / img2irc.py
Last active April 13, 2022 21:36
Makes beautiful ART from regular, boring images.
#!/usr/bin/env python3
# MIT License.
# Copyright (c) 2016 Ramiro Bou (Polsaker)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#