View ikea_open_close_remote.yaml
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
blueprint: | |
name: IKEA Open/Close Remote | |
description: | | |
'Control your roller blind with an IKEA 2 button remote (the square ones). | |
this is the remote that's been delivered by the "Fytur" and " Kadrilj" | |
roller blinds.' | |
domain: automation | |
input: | |
remote: | |
name: Remote |
View .minttyrc
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
Term=xterm-256color | |
BoldAsFont=yes | |
Font=DejaVu Sans Mono for Powerline | |
FontHeight=8 | |
Transparency=medium | |
OpaqueWhenFocused=yes | |
CursorType=block | |
CursorBlinks=no | |
RightClickAction=paste | |
Scrollbar=none |
View migrate-to-sso.sh
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 | |
splunk_home=/opt/splunk/etc | |
my_users=$splunk_home/apps/my_domain/lookups/my_users.csv | |
users=$splunk_home/users | |
authfile=$splunk_home/new-auths.txt | |
# Clear the auth file | |
: > $authfile |
View Nginx-Proxy.conf
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
server { | |
listen *:80; | |
server_name splunk-web.example.com; | |
if ($ssl_protocol = "") { | |
return 301 https://$host$request_uri; | |
} | |
index index.html index.htm index.php; | |
access_log /var/log/nginx/splunk-web.example.com.access.log combined; |
View gist:34d2d755027b109b986a
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
[tcx] | |
BREAK_ONLY_BEFORE = \<\?xml version | |
MAX_EVENTS = 999999999 | |
NO_BINARY_CHECK = true | |
TIME_PREFIX = \<Id\> | |
category = Structured | |
description = Garmin Training Center Database XML File | |
disabled = false | |
pulldown_type = true | |
KV_MODE = xml |
View gist:7672630
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
$resolutions = @{"640x960" = "640x960"; "640x1136" = "640x1136"; "960x544" = "960x544"; "1024x1024" = "1024x1024"; "2048x2048" = "2048x2048"; "1080x1920" = "1080x1920"; "1920x1080" = "1080p" } | |
$user = $args[0] | |
$password = $args[1] | |
$url = $args[2] | |
$ismatch = $url -match 'i=(.+)$' | |
if(!$ismatch) | |
{ |