Skip to content

Instantly share code, notes, and snippets.

View Hengliang's full-sized avatar
👋
Hello

HL Hengliang

👋
Hello
View GitHub Profile
@Hengliang
Hengliang / 0.md
Created October 31, 2025 09:42
Buggy Bash
#!/usr/bin/env bash
@Hengliang
Hengliang / 0.md
Last active October 31, 2025 09:50
On Cloud Nine

Cloudification

  • Don’t store data by yourself, store in the cloud
@Hengliang
Hengliang / 0.md
Last active November 2, 2025 14:28
Swiftian Swift
import Foundation
@Hengliang
Hengliang / 0.md
Last active October 30, 2025 15:22
Pythonic Python

Pythonic Python

@Hengliang
Hengliang / hammerspoon-hyper-keys.lua
Last active October 26, 2025 08:24
Hammerspoon Hyper Keys
-- --------------------------------------------------------------------------
-- This Hammerspoon Hyper-Key configuration inspired by [Kalis](https://kalis.me/setup-hyper-key-hammerspoon-macos/) and [`ttscoff`](https://gist.github.com/ttscoff/cce98a711b5476166792d5e6f1ac5907)
-- Thanks a lot! ♥︎
-- Hotkeys included in the configuration:
-- - Hyperkeys
-- - Current Time Popup
-- --------------------------------------------------------------------------
--
-- ✏️ Fancy configuration reloading -----------------------------------------
# Terminal output control (http://www.termsys.demon.co.uk/vtansi.htm)
TC='\e['
CLR_LINE_START="${TC}1K"
CLR_LINE_END="${TC}K"
CLR_LINE="${TC}2K"
# Hope no terminal is greater than 1k columns
RESET_LINE="${CLR_LINE}${TC}1000D"