Skip to content

Instantly share code, notes, and snippets.

@flowolf
flowolf / README.md
Last active August 16, 2024 15:48
Homeassistant Samsung smart TV IR codes

Homeassistant IR codes for Samsung Smart TV

IR codes came from here

code was adapted from here

run:

python3 ir_codes.py ./samsung_tv_codes.csv
@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 October 23, 2024 20:25
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 November 13, 2024 13:44
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