Skip to content

Instantly share code, notes, and snippets.

View LeoFalco's full-sized avatar
🎯
Focusing

Leo Falco LeoFalco

🎯
Focusing
View GitHub Profile
cat $(find . -name package-lock.json | grep -v -e node_modules -e bower_components | paste -sd " ") | md5sum | cut -d ' ' -f 1
cat $(find . -name package-lock.json -not -path "*/node_modules/*" -not -path "*/bower_components/*" | paste -sd " ") | md5sum | cut -d ' ' -f 1
git log --graph --decorate $(git rev-list -g --all) --oneline
update table set target_column=jsonb_set(source_column::jsonb, '{targetProperty}', 'newValue'::jsonb, true)::text where false
@LeoFalco
LeoFalco / github-list-secrets.js
Created April 15, 2026 13:35
List all GitHub Actions secrets (org + repo level) for a GitHub organization
import { writeFileSync } from 'node:fs'
import { execSync } from 'node:child_process'
const ORG = 'FieldControl'
const OUTPUT_FILE = 'fieldcontrol-secrets.csv'
function gh(args) {
return execSync(`gh ${args}`, { encoding: 'utf-8', timeout: 30_000 }).trim()
}