This file contains hidden or 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
| blueprint: | |
| name: Frigate Notifications by SgtB have moved | |
| description: | | |
| ## ANNOUNCEMENT | |
| I have moved from this gist to a github repositry. | |
| Please checkout https://github.com/SgtBatten/HA_blueprints for the latest versions | |
| domain: automation |
This file contains hidden or 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 | |
| # curl -sL https://gist.github.com/Leisuure/85dc4a4847be38c22594aa7ca4b8f118/raw/touchid_sudo.sh | bash | |
| # This script is ready to copy-paste in whole, or just the line above (without the leading #) | |
| # Use TouchID for sudo on modern MacBook Pro machines | |
| # This script adds a single line to the top of the PAM configuration for sudo | |
| # See: https://apple.stackexchange.com/q/259093/41827 for more info. | |
| touchid_sudo(){ |
This file contains hidden or 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
| /** | |
| * I figured out you can fit a Shelly 1 inside the case of many outdoor motion sensors. | |
| * Coupled with that fact that recently, Shelly added a feature to de-couple the switch from the relay | |
| * so they act independently, makes this a great combo! Simply wire the output of the PIR motion sensor | |
| * (the wire that normally goes to your outdoor light) to the switch input of the Shelly and wire | |
| * the lightbulb to the L output of the Shelly. Then, in the Shelly app or directly via the devices webpage, | |
| * select the button type as 'Detached Switch' and use the code below to make it work normally. | |
| * Don't forget to adjust the daylight sensitivity to full daylight if you want the motion detection to work 24/7. | |
| */ |
This file contains hidden or 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
| """ | |
| When run in cron, automatically adds compliant alias names to local DNS. | |
| Use at your own risk. | |
| Patrick Fuller, 25 June 17 | |
| """ | |
| import re | |
| import paramiko | |
| import pymongo |
This file contains hidden or 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
| /** vim: et:ts=4:sw=4:sts=4 | |
| * @license RequireJS 2.1.15 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. | |
| * Available via the MIT or new BSD license. | |
| * see: http://github.com/jrburke/requirejs for details | |
| */ | |
| //Not using strict: uneven strict support in browsers, #392, and causes | |
| //problems with requirejs.exec()/transpiler plugins that may not be strict. | |
| /*jslint regexp: true, nomen: true, sloppy: true */ | |
| /*global window, navigator, document, importScripts, setTimeout, opera */ |
This file contains hidden or 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
| # change modifier keys | |
| # install brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew install mas | |
| mas upgrade | |
| # core utils | |
| brew install findutils ssh-copy-id unrar wget git hub gnutls gnu-tar trash fzf |
This file contains hidden or 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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |