Skip to content

Instantly share code, notes, and snippets.

View bmcclure's full-sized avatar

Ben McClure bmcclure

View GitHub Profile
@AHK-just-me
AHK-just-me / Const_ListView.ahk
Created July 28, 2013 09:54
ListView control constants
; ======================================================================================================================
; Function: Constants for ListView controls
; AHK version: 1.1.05+
; Language: English
; Version: 1.0.00.00/2012-04-01/just me
; 1.0.01.00/2012-05-20/just me - fixed some typos
; ======================================================================================================================
; CCM_FIRST = 8192 (0x2000)
; LVM_FIRST = 4096 (0x1000) ; ListView messages
; LVN_FIRST = -100 ; ListView notifications
@jbinto
jbinto / ssl-cert-upgrade-cloudfront.md
Last active February 20, 2020 08:28
Upgrading SSL certificate on Cloudfront

Upgrading SSL certificate on Cloudfront

Last year I set up jessebuchanan.ca with an SSL certificate on Amazon S3 / CloudFront.

Now, it's time to renew the certificate.

The first time was fraught with peril, but I eventually got it working.

This time I will document the steps to renew the cert. Most steps for a new installation would be omitted.

@iMilnb
iMilnb / ec2.py
Created May 27, 2015 12:29
AWS EC2 simple manipulation script using python and boto3
#!/usr/bin/env python
# Simple [boto3](https://github.com/boto/boto3) based EC2 manipulation tool
#
# To start an instance, create a yaml file with the following format:
#
# frankfurt:
# - subnet-azb:
# - type: t2.micro
# image: image-tagname
@ruebenramirez
ruebenramirez / setup-franz-ubuntu.sh
Created September 7, 2016 17:55
setup franz on ubuntu
#!/bin/bash
sudo rm -fr /opt/franz
sudo rm -fr /usr/share/applications/franz.desktop
# create installation dir
sudo mkdir -p /opt/franz
#install franz
@networkingcat
networkingcat / yet_another_motion_automation.yaml
Last active July 4, 2024 03:10 — forked from quallenbezwinger/motion_controlled_scenes_enhanced.yaml
Homeassistant blueprint for motion-activated light scene
blueprint:
name: Yet Another Motion Automation
description: >
# YAMA V10
Turn on lights or scenes when motion is detected.
Four different scenes can be defined depending on time of day.
@Blackshome
Blackshome / sensor-light.yaml
Last active July 8, 2024 01:20
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# 💡 Sensor Light
**Version: 6.9**
Your lighting experience, your way - take control and customize it to perfection! 💡✨