Skip to content

Instantly share code, notes, and snippets.

@jefflundberg
jefflundberg / lambda_function.py
Created February 4, 2026 03:26 — forked from matt2005/lambda_function.py
Alexa Smart Home Skill Adapter for Home Assistant
"""
Copyright 2019 Jason Hu <awaregit at gmail.com>
Modified 2020 Matthew Hilton <matthilton2005@gmail.com>
Refactor and Modernised 2025 Matthew Hilton <matthilton2005@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@jefflundberg
jefflundberg / .browserlistrc
Created October 26, 2020 15:51
browserlist
> 1% in US
last 2 versions
not IE 10
not IE 11
not ie_mob 11
// This file was initially generated by Windows Terminal 0.11.1121.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",

Testing for Browser Grid Support

Some older browsers say they support CSS grid, so they'll respond true to @supports (display: grid). You may get unexpected behavior on these older browserse as they do not support the modern spec.

Instead, use the following:

@supports (grid-area: auto) {
    /* Modern grid-based CSS rules here */
}
"keybindings": [
{
"command": "closeTab",
"keys": ["ctrl+w"]
},
{
"command": "newTab",
"keys": ["ctrl+t"]
},
{
@jefflundberg
jefflundberg / school-image-gallery-style.css
Created February 16, 2012 19:56
School Image Gallery CSS Code