IR codes came from here
code was adapted from here
run:
python3 ir_codes.py ./samsung_tv_codes.csv
| #!/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 |
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.
$ python -m SimpleHTTPServer 8000