Skip to content

Instantly share code, notes, and snippets.

View bdmorin's full-sized avatar
the horrors persist, but so do l

Brian bdmorin

the horrors persist, but so do l
View GitHub Profile
bdmorin /
Created May 15, 2024 22:28
Very basic and not polished way to grab end of day news and summarize.

So I was reading blog post

He had a neat workflow to summarize web pages.

So I extended it, and used pup and strip-tags to get the frontpage links from the Drudge Retort (NOT DRUDGE REPORT), processed all the links through curl and use 4o to summarize them. THen I summarized the summaries, and I get a quick hit read of what happened today. Kinda like WTFJHT.

# Create a file to store all summaries
echo -n "" > all_summaries.txt
from newspaper import Article
import markdownify
def extract_article(url):
article = Article(url)
return article.text
def convert_to_markdown(html_content):
bdmorin /
Last active April 23, 2024 03:35
vizio fuckery
> ssh-audit
# general
(gen) banner: SSH-2.0-dropbear_2016.74
(gen) software: Dropbear SSH 2016.74
(gen) compatibility: OpenSSH 7.3+ (some functionality from 6.6), Dropbear SSH 2016.73+ (some functionality from 2014.66)
(gen) compression: disabled

# security
(cve) CVE-2018-15599                 -- (CVSSv2: 5.0) remote users may enumerate users on the system
bdmorin /
Created April 21, 2024 03:32

bdmorin / allistair tenpenny and the orphans of
Last active September 7, 2023 18:53
Allistair Tenpenny and the Orphans of Ironhaven

Title: Allistair Tenpenny and the Orphans of Ironhaven

In the grim, smoke-laden steampunk city of Ironhaven, nestled amidst factories belching black fumes and towering iron-wrought buildings, stood the Tenpenny Orphanage. It was not a place of comfort, but a gloomy, fear-stricken establishment ruled by the ruthless and avaricious man known as Allistair Tenpenny.

Allistair, a patron of the orphanage, had once been a child roamer of the city’s streets himself before he ruthlessly climbed the ranks of Ironhaven's industrialists. A man with a Dickensian sense of cruelty and exploitation, he employed the orphans in his hazardous factories under the guise of giving them shelter and education.

By day, the orphans labored, sweat and grime mixing with the soot on their faces, operating perilous machinery that clanked and whirred ominously. By night, they were confined within the bleak walls of Tenpenny Orphanage, kept in check by Allistair's cruel henchmen.

Among these orphans, fifteen-year-old Eliot, small

bdmorin / Hypothesidian.js
Created August 10, 2023 20:58 — forked from TfTHacker/Hypothesidian.js - retrieve your annotations into Obsidian (for templater plugin)
# Hypothes.idian a templater script for retrieving annotations from
Dev: TfTHacker
# Prerequisites:
+ Templater plugin by
+ Free developer token from:
+ This script will prompt you for his token and save it to a file called "hypothesis"
+ This file store your configuration and can be located any where in your vault.
bdmorin / rust-command-line-utilities.markdown
Created July 12, 2023 17:15 — forked from sts10/rust-command-line-utilities.markdown
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
bdmorin /
Last active June 2, 2023 16:46
Open AI Summary of SomeMoreNews Video

Video Title: Abortion, The Metaverse, And Other Things We Were Magically Right About – SOME MORE NEWS


The hosts of SOME MORE NEWS discuss how they were right about many things they predicted in the past, including the downfall of right-wing grifters. They also discuss various topics they were "magically right about," including the inclusion of black mermaids in media and the resulting presidential hopeful's difficult run.

The video discusses the eventual overturning of Roe v. Wade and the importance of protecting reproductive rights. The GOP is going after pharmacies that might distribute the abortion pill in states where it is banned, leaving people with no options. Banning abortion has left women with no healthcare options, creating maternity care deserts and increasing mortality rates.

The Metaverse has failed due to a lack of creativity from those trying to make it happen. The media often creates false narratives, as seen in the aftermath of a recent killing. The video discusses the str

bdmorin / Herschel Walker's Fright Night Campaign Speech
Created November 19, 2022 09:57
Herschel Walker's Fright Night Campaign Speech
> It was about vampires. I don’t know if you know but vampires are some cool people are they not? But let me tell you something that I found out: a werewolf can kill a vampire did you know that? I never knew that. So I don’t want to be a vampire anymore I wanna be a werewolf.
> But then anyway as I’m watching this movie and then you tell how stupid it is cause it’s one in the morning. So I’m watching my TV of these kids watching their TV of a vampire killed on their TV. So you know it’s kinda stupid, but I’m still watching though. As I’m watching this show what was funny was these kids had a vampire in their attic at their house. So they were watching their TV, now I’m watching my TV, they’re watching their TV, they see the vampire killed on their TV. So they win this contest to bring this actor — now y’all gotta stay with me — bring this actor who’s a vampire killer from that TV to get rid of this [unintelligible] vampire in their attic. So this actor comes into their home, he got all the right stuff. He go
bdmorin /
Last active July 26, 2022 16:35
1password Teams/Business has a HUGE default problem. This is what I'm doing to remediate it.


  • Setup some kind of automation so this can happen regularly.
  • Consider python or to run everything
  • My async solution using parallel is ok, but or something pythonic might be nice.
  • Go could handle this really well, so that's a consideration as well.