Skip to content

Instantly share code, notes, and snippets.

View hrbrmstr's full-sized avatar
💤
#tired

boB Rudis hrbrmstr

💤
#tired
View GitHub Profile
@hrbrmstr
hrbrmstr / bean-labeler.ts
Created March 16, 2024 08:56 — forked from haileyok/bean-labeler.ts
Bean Auto Labeler
import {
AppBskyEmbedImages,
AppBskyFeedPost,
BskyAgent,
} from '@atproto/api'
import * as dotenv from 'dotenv'
import {ComAtprotoSyncSubscribeRepos, subscribeRepos, SubscribeReposMessage} from 'atproto-firehose'
import Anthropic from '@anthropic-ai/sdk'
import axios from 'axios'

First Post

Aliquip exercitation velit ea. Adipisicing reprehenderit nulla anim quis dolor veniam. Et enim ut sint enim eiusmod. Officia sit consectetur sit commodo nisi esse aute incididunt reprehenderit exercitation sunt in non. Ipsum irure in adipisicing Lorem nulla aliquip ut reprehenderit elit minim fugiat esse dolore. Qui cupidatat cupidatat officia fugiat aliquip.

Qui irure aute exercitation adipisicing. Lorem ullamco anim ex elit exercitation nostrud do. Ex esse tempor pariatur incididunt. Nisi ullamco est nisi amet nostrud ut. Amet excepteur voluptate aliqua nisi elit quis. Ex magna quis fugiat do sint id. Nostrud culpa aute eiusmod enim laborum in ullamco nostrud qui eiusmod cillum. Fugiat laborum ex sunt culpa cillum cillum nisi magna.

Ut Lorem est nisi proident cillum dolor ipsum ullamco labore do pariatur. Laborum in aliqua eu reprehenderit. Sint qui dolore commodo ipsum officia mollit eu id laborum deserunt amet cupidatat id incididunt. Qui sint sint ex consequat nulla fugiat. Voluptate veni

@hrbrmstr
hrbrmstr / webr-experiments.R
Created April 8, 2023 10:50
Janky R script to create the HTML page for https://rud.is/webr-experiments/
#!/usr/bin/env Rscript
library(httr, include.only = c("GET", "add_headers", "content"))
library(jsonlite, include.only = c("fromJSON", "write_json"))
library(glue, include.only = c("glue"))
GITHUB_TOKEN <- Sys.getenv("GITHUB_TOKEN")
JSON_FILE <- "webr-experiments.json"
HTML_FILE <- "webr-experiments/index.html"
@hrbrmstr
hrbrmstr / kev2rss.R
Created October 30, 2022 11:09
Turn CISA's KEV JSON into a bare-bones RSS feed
#!/usr/bin/Rscript
kev <- jsonlite::fromJSON("https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json")
vulns <- kev$vulnerabilities
vulns <- vulns[nrow(vulns):1,]
rss_body <- '
<rss version="2.0">
<channel>
@hrbrmstr
hrbrmstr / all_email_provider_domains.txt
Created August 5, 2022 13:50 — forked from pratikt/all_email_provider_domains.txt
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@hrbrmstr
hrbrmstr / all_email_provider_domains.txt
Created August 5, 2022 13:49 — forked from ammarshah/all_email_provider_domains.txt
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@hrbrmstr
hrbrmstr / plot.awk
Created July 18, 2022 09:17 — forked from katef/plot.awk
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
@hrbrmstr
hrbrmstr / killbutmakeitlooklikeanaccident.sh
Created July 17, 2022 18:24 — forked from moyix/killbutmakeitlooklikeanaccident.sh
Script to inject an exit(0) syscall into a running process. NB: only x86_64 for now!
#!/bin/bash
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont'