Skip to content

Instantly share code, notes, and snippets.

View panec's full-sized avatar

Maciej Panecki panec

  • Wielka Brytania
View GitHub Profile
@paulirish
paulirish / rAF.js
Last active November 20, 2024 13:00
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@Blackshome
Blackshome / manual-light.yaml
Created February 11, 2024 11:41
manual-light.yaml
blueprint:
name: Manual Light
description: >
# 🪄 Manual Light
**Version: 1.0**
👋 Say goodbye to lights left on! Step into automated lighting with an auto shut-off and a motion sensor reset. 🪄💡