Skip to content

Instantly share code, notes, and snippets.

View acantril's full-sized avatar
💭
New Course time !!

Adrian Cantrill acantril

💭
New Course time !!
View GitHub Profile
@acantril
acantril / iterm2-solarized.md
Created February 14, 2020 05:50 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@acantril
acantril / zwave-events.py
Created April 3, 2017 05:12 — forked from clintoncrick/zwave-events.py
Script to monitor OpenZWave events for Remotec ZRC-90US and send event to Home Assistant. Supports single click, double click, and long press.
#!/usr/bin/env python3
import socket
import requests
from subprocess import Popen, PIPE
import json
# These lines are examples only. They may be useful to compare what your remote sends. To capture the codes that your remote sends,
# tail the OZW_Log.
Outputs:
s3bucketurl:
Description: URL for Bucket
Value: !GetAtt s3bucket.WebsiteURL
Resources:
s3bucket:
Type: "AWS::S3::Bucket"
Properties:
AccessControl: PublicRead
WebsiteConfiguration:
ErrorDocument: index.html
IndexDocument: index.html
bucketpolicy:
Type: "AWS::S3::BucketPolicy"