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: IKEA Rodret Dimmer Light Control (ZHA/Z2M) | |
description: "## Control Light with IKEA RODRET Dimmer remote (v1.0) | |
Only for use with [ZHA](https://www.home-assistant.io/integrations/zha/) | |
or Zigbee2MQTT (cf [MQTT](https://www.home-assistant.io/integrations/mqtt) | |
+ [Z2M addon](https://www.zigbee2mqtt.io/guide/installation/03_ha_addon.html)). | |
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 | |
TOTP_ACCOUNT="VPN" | |
if [ "${BASH_SOURCE[0]}" -ef "$0" ] | |
then | |
# Run only when executed (not sourced) | |
strace -e execve -f -o "!bash -c 'source $0;'" openvpn "$@" 2>&1 | |
else | |
while read line | |
do |
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
# APCUPSD checker script | |
# No command line parameters | |
# Written by Daniel Agocs | |
$ups_data = (C:\apcupsd\bin\apcaccess.exe).split("`n") | |
$param_crit_time = 10 | |
$param_warn_voltage_diff = 15 | |
$param_crit_load = 80 | |
$param_warn_load = 60 |
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
// ==UserScript== | |
// @name Sophos Tidy | |
// @version 1.7.6 | |
// @grant unsafeWindow | |
// @grant GM_addStyle | |
// @author Daniel Agocs | |
// @match https://*/webconsole/webpages/index.jsp* | |
// @run-at document-end | |
// @updateURL https://gist.githubusercontent.com/agocsdaniel/f7a1f40e82247483eab84d1db5dde5e9/raw/sophos-tidy.user.js | |
// ==/UserScript== |