Skip to content

Instantly share code, notes, and snippets.

View namoscato's full-sized avatar

Nick Amoscato namoscato

View GitHub Profile
@nikolaskhodov
nikolaskhodov / snippet.js
Last active May 2, 2023 10:09
Automatically expand Hasura permission sections
setInterval(() => {
Array.from(
document.querySelectorAll('details:not([open]) .cursor-pointer[data-test*="toggle"]')
).forEach((toggle) => {
toggle.click();
})
}, 300)
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: