Skip to content

Instantly share code, notes, and snippets.

View sarabveer's full-sized avatar

Sarabveer Singh sarabveer

View GitHub Profile
@sarabveer
sarabveer / ghostty.config
Created March 2, 2026 04:30
Personal GhosTTY Config
theme = "Pro"
background-opacity = 0.85
font-family = "JetBrainsMono Nerd Font Mono"
font-size = 14
window-width = 100
window-height = 25
shell-integration-features = ssh-terminfo,ssh-env
window-decoration = true
macos-titlebar-style = native
cursor-style = block
@sarabveer
sarabveer / treatlife_ss01_3way.md
Last active March 29, 2025 13:39
ESPHome YAML Config for TreatLife SS01 3-Way Switch

TreatLife SS01 3-Way Switch ESPHome YAML Config

Config for TreatLife SS01 3-Way switch (for older models with the ESP8266 chip).

upstairs-hallway-light-1.yaml

YAML for device.

# https://esphome.io/guides/configuration-types.html#substitutions
ਪ੍ਰਚਲਿਤ ਬਾਰਹ ਮਾਹਾ (ਰਾਗੁ ਮਾਝ) ਬਾਰਹ ਮਾਹਾ (ਰਾਗੁ ਤੁਖਾਰੀ) ਰੁਤੀ (ਰਾਗੁ ਰਾਮਕਲੀ) ਬਾਰਹ ਮਾਹ (ਚੌਬੀਸ ਅਵਤਾਰ) ਬਾਰਹ ਮਾਹ ੨ (ਚੌਬੀਸ ਅਵਤਾਰ)
ਚੇਤ ਚੇਤਿ ਚੇਤੁ, ਚੇਤਿ ਚੇਤੁ * ਚੇਤ
ਵੈਸਾਖ ਵੈਸਾਖਿ, ਵੈਸਾਖੁ ਵੈਸਾਖੁ, ਵੈਸਾਖੀਂ ਵੈਸਾਖ * ਬੈਸਾਖ
ਜੇਠ ਜੇਠਿ, ਜੇਠੁ ਜੇਠੁ, ਜੇਠਿ ਜੇਠ ਜੇਠ ਜੇਠ
ਹਾੜ ਆਸਾੜੁ ਆਸਾੜੁ ਅਖਾੜੈ * ਅਸਾੜ
ਸਾਵਣ ਸਾਵਣਿ, ਸਾਵਣੁ ਸਾਵਣਿ ਸਾਵਣ * ਸਾਵਨ
ਭਾਦੋਂ ਭਾਦੁਇ ਭਾਦਉ ਭਾਦਵੇ * ਭਾਦਵ
ਅੱਸੂ ਅਸੁਨਿ, ਅਸੂ ਅਸੁਨਿ ਅਸੂ ਅਸੂ ਕੁਆਰ
ਕੱਤਕ ਕਤਿਕਿ, ਕਤਿਕ ਕਤਕਿ ਕਤਕੇ ਕਾਤਿਕ ਕਾਤਿਕ
@sarabveer
sarabveer / keybase.md
Last active September 25, 2020 03:05

Keybase proof

I hereby claim:

  • I am Sarabveer on github.
  • I am sarabveer (https://keybase.io/sarabveer) on keybase.
  • I have a public key whose fingerprint is 0E23 18F3 A97F 2C29 410B 38A6 A89A 2356 E69A AE4C

To claim this, I am signing this object:

@sarabveer
sarabveer / pdl.py
Last active December 24, 2020 20:08
Punjab Digital Library Image Downloader
'''
Punjab Digital Library Img Fetcher
By Sarabveer Singh (me@sarabveer.me)
'''
import os
import urllib.request as urllib
print('Punjab Digital Library Img Fetcher')
print('----------')