Skip to content

Instantly share code, notes, and snippets.

View twitchel's full-sized avatar
🐶

Daniel K. Jones twitchel

🐶
  • Sydney, Australia
  • 02:31 (UTC +10:00)
View GitHub Profile
[user]
name = {user.fullname}
email = {user.email}
[core]
editor = nano
[commit]
template = /Users/{user.login}/.stCommitMsg
[alias]
ls = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
@twitchel
twitchel / recipes.js
Last active February 5, 2022 09:18
Recipes
const recipes = [
{
"id": 1,
"name": "Lemon Cake",
"image_url": "https://celebratingsweets.com/wp-content/uploads/2021/04/Lemon-Coconut-Cake-2.jpg",
"serves": 10,
"parts": [
{
"name": "cake",
"ingredients": [
@twitchel
twitchel / unifi-doorbell
Created November 22, 2024 05:54
unifi-doorbell
blueprint:
name: UniFi Protect Doorbell Ring Notifications
domain: automation
source_url: https://raw.githubusercontent.com/AngellusMortis/unifiprotect_blueprints/main/blueprints/automation/unifiprotect/notification_ring_event.yaml
description: "## UniFi Protect Doorbell Ring Notifications\n\nThis blueprint will
send push notifications to a Home Assistant mobile app when a doorbell ring is
detected.\n\n### Required Settings\n\n - UniFi Protect Doorbell Sensor\n\n###
Optional Settings\n\n - Notification target for the [mobile app notification
target][1].\n - Cutoff time before ring event for video clips.\n - Time formatting
strings. Timestamp is injected into the notification in case the notification
# brew.post-install
#
# All brew packages available to be installed for this machine
cask_args appdir: '/Applications'
tap 'jesseduffield/lazygit'
tap 'zunit-zsh/zunit'
@twitchel
twitchel / Brewfile
Created January 23, 2025 04:45
Work Brewfile
# brew.post-install
#
# All brew packages available to be installed for this machine
cask_args appdir: '/Applications'
tap 'jesseduffield/lazygit'
tap 'zunit-zsh/zunit'