Skip to content

Instantly share code, notes, and snippets.

View KarsonAlford's full-sized avatar

Karson Alford KarsonAlford

View GitHub Profile
@KarsonAlford
KarsonAlford / Clone All Repos
Last active July 12, 2024 22:20
gh-clone-all.ps1
# Install Github CLI
# winget install -e --id GitHub.cli
# Log into Github
# gh auth login
$clonePath = "c:/all"
$orgName = 'Your Org Name Goes Here!!!'
New-Item -ItemType Directory -Force -Path $clonePath
@KarsonAlford
KarsonAlford / pnginator.rb
Created December 31, 2019 14:10 — forked from gasman/pnginator.rb
pnginator: pack Javascript into a self-extracting PNG
#!/usr/bin/env ruby -w
# pnginator.rb: pack a .js file into a PNG image with an HTML payload;
# when saved with an .html extension and opened in a browser, the HTML extracts and executes
# the javascript.
# Usage: ruby pnginator.rb input.js output.png.html
# By Gasman <http://matt.west.co.tt/>
# from an original idea by Daeken: http://daeken.com/superpacking-js-demos