Skip to content

Instantly share code, notes, and snippets.

View eatgrass's full-sized avatar
🌴
On vacation

Eatgrass eatgrass

🌴
On vacation
View GitHub Profile
@eatgrass
eatgrass / git lg
Created April 27, 2018 09:02
git lg alias for log
alias.lg=log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
{
"input": "http://s3.amazonaws.com/zencodertesting/test.mov",
"outputs": [
{
"label": "mp4-1500k",
"prepare_for_segmenting": ["hls", "dash"],
"audio_bitrate": 128,
"video_bitrate": 1100,
"size": "1280x720",
"url": "s3://my-bucket/mp4/1500.mp4"
@eatgrass
eatgrass / hhkb_remap.ahk
Last active May 26, 2022 15:40
My autohotkey script for HHKB
#MaxHotkeysPerInterval 200
ModActivateDelay := 100
*Space::
If SpacePressed ; AutoRepeat defense
Return
SpacePressed:=true
SetTimer ModActivate, % "-" ModActivateDelay
Return
@eatgrass
eatgrass / MOC - Pomodoros View.md
Created November 24, 2023 14:47
Obsidian Pomodoros Task Tracking

Task Summary View

const pages = dv.pages()
const emoji = '🍅'
dv.table(
["Task", "Pomodoros", "Time"],
pages.file.tasks
.filter(task => task.children.some(child=> child[emoji]))
.map(task=&gt; {