Skip to content

Instantly share code, notes, and snippets.

View storbeck's full-sized avatar

Geoff Storbeck storbeck

  • Praetorian Inc
  • United States
  • 07:52 (UTC -04:00)
View GitHub Profile
#!/bin/bash
# Replace with your GitHub organization name and token
ORG_NAME="$1"
# GitHub API URL
API_URL="https://api.github.com/orgs/$ORG_NAME/repos"
# Pagination variables
PAGE=1
#include <ESP8266WiFi.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <LittleFS.h>
// Network Configuration
const char *ssid = "FreeWiFi"; // Fake SSID
const char *password = ""; // Open network
IPAddress apIP(192, 168, 4, 1); // AP IP address
IPAddress netMsk(255, 255, 255, 0); // Subnet mask
@storbeck
storbeck / AlertButton.tsx
Created September 25, 2024 12:37
A React component that brings alert animations to life using Framer Motion. Includes an interactive bell animation with a confetti explosion effect on click. Ideal for adding micro-interactions to your UI. Tech Stack: React, Framer Motion, TailwindCSS, and react-confetti-explosion.
import React, { useEffect, useState } from 'react';
import { motion } from 'framer-motion';
import ConfettiExplosion from 'react-confetti-explosion';
const AlertButton: React.FC = () => {
const [isRinging, setIsRinging] = useState(false);
const [isExploding, setIsExploding] = useState(false);
const [haltRinging, setHaltRinging] = useState(false);
useEffect(() => {
<#
Find hosts with: https://www.shodan.io/search?query=%28ZPS6%29+200+OK
#>
param(
[Parameter(Mandatory=$true)][string]$ip
)
$request = [xml]@'
<?xml version="1.0" encoding="utf-8"?>
@storbeck
storbeck / getRandom.js
Created August 6, 2017 14:47
Better random number generator
function getRandom(min,max) {
return Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0] / 0x100000000 * (max - min) + min)
}
@storbeck
storbeck / _.md
Created July 6, 2017 14:38
histogram
@storbeck
storbeck / _.md
Last active July 6, 2017 14:27
reddit base
@storbeck
storbeck / vs code extensions
Created February 22, 2017 19:34
vs code extensions
IBM.output-colorizer
Kal.theme-glacier
Nuuf.theme-hackershaze
PaulOlteanu.theme-railscasts
Poorchop.theme-darktooth
TsumiNa.Seti-theme
TwentyChung.jsx
WallabyJs.wallaby-vscode
aalaap.theme-toothpaste
akamud.vscode-caniuse
@storbeck
storbeck / set_wallpaper.scpt
Created September 24, 2016 19:52
Set wallpaper on all screens on a mac
#!/usr/bin/osascript
on run this_file
tell application "System Events"
set desktopCount to count of desktops
repeat with desktopNumber from 1 to desktopCount
tell desktop desktopNumber
set picture to this_file
end tell
end repeat