Skip to content

Instantly share code, notes, and snippets.

@omegazeng
omegazeng / run-xtrabackup.sh
Last active September 12, 2020 18:57 — forked from jmfederico/run-xtrabackup.sh
Script to create full/incremental backups with mariabackup/xtrabackup.
#!/bin/sh
# https://gist.github.com/omegazeng/ea3a2b1b52caca62a81e859c34eadba4
# GRANT RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.* TO 'backup'@'localhost' identified by 'YourPassword';
# FLUSH PRIVILEGES;
#
# Usage:
# MYSQL_PASSWORD=YourPassword bash run-xtrabackup.sh
MYSQL_USER=backup
@ramiabraham
ramiabraham / rom_suffix_codes.md
Last active July 10, 2024 18:56
Video game rom suffix codes (decoded)

Video game rom codes

You wouldn't download a car...


Primary rom codes

Probably what you're looking for

  • [a] Alternate (alternate version of the game, usually trying a different output method)
  • [p] Pirate
@willurd
willurd / web-servers.md
Last active July 22, 2024 15:25
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000