Skip to content

Instantly share code, notes, and snippets.

View snjoetw's full-sized avatar

Joe Lu snjoetw

  • Vancouver, BC, Canada
View GitHub Profile
@dlashua
dlashua / test.py
Last active October 7, 2022 13:12
Async Apps in AppDaemon Example
import appdaemon.plugins.hass.hassapi as hass
import asyncio
class TestAllAsync(hass.Hass):
async def terminate(self):
self.log('i will die in 3 seconds')
await asyncio.sleep(3)
self.log('i am dead')
@hofmannsven
hofmannsven / README.md
Created December 6, 2017 00:32
Increase key repeat rate on macOS

Increase key repeat rate on macOS

Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat

Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.

Source: https://apple.stackexchange.com/a/83923