Skip to content

Instantly share code, notes, and snippets.

View erik1o6's full-sized avatar

erik1o6

View GitHub Profile
@erik1o6
erik1o6 / 0_reuse_code.js
Created October 6, 2016 01:47
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@erik1o6
erik1o6 / scan.sh
Created September 8, 2025 21:49
scan_vulnerable_packages
#!/usr/bin/env bash
set -euo pipefail
# Simple security scanner for vulnerable npm packages
# Checks all repos in an organization for specific package versions
#
# REQUIREMENTS FOR MACOS:
# -----------------------
# 1. Install GitHub CLI:
# brew install gh