Skip to content

Instantly share code, notes, and snippets.

@tmack8001
tmack8001 / Rivian HA - Dashboards and Automations.md
Last active February 17, 2024 21:37
Rivian Home Assistant - Dashboards

Below are a bunch of YML files for setting up Home Assistant dashboards and automations for Rivian vehicles.

@williewillus
williewillus / primer.md
Last active December 20, 2020 08:13
1.8.9 to 1.9 quick primer

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@funkatron
funkatron / slim_catchall_route.php
Created December 8, 2011 14:48
Making a "catchall" route in Slim
<?php
/**
* by setting the regex condition for the :method param to '.+', it matches
* everything, including "/" chars. this lets us match any URL of the format.
*
* /api/foo outputs "foo"
* /api/foo/bar/baz outputs "foo/bar/baz"
*/
$app->get('/api/:method', function($method) use ($app) {
echo $method;