This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trying to set up some home automation I ended up looking closely into | |
the ir codes of my bluray/avr unit, I hoped for distinct buttons for | |
hdmi1 and hdmi2, but no dice. I did find separate Power on and | |
Power Off codes. | |
EDIT: Found that pressing >INPUT< >num< jumps to that input without | |
cycling through all the others, giving me a way to jump directly the | |
input I want. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on-off->20DF10EF | |
energy->20DFA956 | |
av. mode->20DF0CF3 | |
input->20DFD02F | |
tv/rad->20DF0FF0 | |
1->20DF8877 | |
2->20DF48B7 | |
3->20DFC837 | |
4->20DF28D7 | |
5->20DFA857 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Editor Styles Refresh | |
* Plugin URI: https://gist.github.com/elusiveunit/f0f728771de6647778fa | |
* Description: Adds file time query string to theme editor style URLs, to force cache busting when the file is changed. | |
* Author: Jens Lindberg | |
* Version: 0.1 | |
* License: GPL-2.0+ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
date_default_timezone_set('Europe/London'); // Set this to your local timezone - http://www.php.net/manual/en/timezones.php | |
/** | |
* The root directory where the repos live. | |
* | |
* @var string | |
*/ | |
$root_dir = '/your/root/dir/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |