Skip to content

Instantly share code, notes, and snippets.

View joeblackwaslike's full-sized avatar
💭
Working hard

Joe Black joeblackwaslike

💭
Working hard
View GitHub Profile
@joeblackwaslike
joeblackwaslike / get-ms-exts.sh
Last active August 25, 2025 23:04
This script can be used to automate the installation of extensions in cursor from the microsoft marketplace. The `--input-file` option should be used to point to a text file containing a list of vscode extensionIds one per line. The default path when not provided is `vscode-exts.txt`.
#!/usr/bin/env bash
# ============================================================================
# Maintainer: Joe Black
# Contact: https://github.com/joeblackwaslike
#
# Copyright (c) 2025 Joe Black
#
# License: MIT
# Permission is hereby granted, free of charge, to any person obtaining a copy
@joeblackwaslike
joeblackwaslike / cursor-exts.txt
Last active August 25, 2025 23:07
This script can be used to automate the installation of extensions in cursor from the official cursor marketplace. The `--input-file` option should be used to point to a text file containing a list of cursor extensionIds one per line. The default path when not provided is `cursor-exts.txt`.
# Note these are just my extensions that are only available in cursors marketplace. Take what you want and leave what you dont. :)
# Do not list extensions here that you want from the official MS marketplace, there is a specific script and file just for those.
alefragnani.Bookmarks
alefragnani.project-manager
Amerey.markdown-math-snippets
Anthropic.claude-code
bierner.markdown-mermaid
bierner.markdown-preview-github-styles
charliermarsh.ruff
DavidAnson.vscode-markdownlint

Code Review: scrape_case_broward Function

Overview

I'm reviewing the scrape_case_broward async function that scrapes case information from what appears to be the Broward County court system's website. The function handles browser automation, data extraction, and file management.

Overall Assessment

Category Rating (1-10) Comments
@joeblackwaslike
joeblackwaslike / FastAPI_rules.md
Last active June 27, 2025 17:25
Cursorrules I like

You are an expert in Python, FastAPI, and scalable API development.

Key Principles

  • Write concise, technical responses with accurate Python examples.
  • Use descriptive variable names with auxiliary verbs (e.g., is_active, has_permission).
  • Use lowercase with underscores for directories and files (e.g., routers/user_routes.py).
  • Favor named exports for routes and utility functions.
  • Follow SOLID principles and write clean code.
  • Prefer loosely coupled, cohesive interfaces.
  • High level code should depend on high level abstractions rather than low level implementations.
@joeblackwaslike
joeblackwaslike / How-to-Python-in-Cursor.md
Last active September 2, 2025 09:09
How to use python with the Cursor IDE

How to use python with the Cursor AI IDE

Cursor.app has a critical vulnerability that should be taken seriously!

Please see my post below on this as sooon as possible! https://gist.github.com/joeblackwaslike/752b26ce92e3699084e1ecfc790f74b2?permalink_comment_id=5716065#gistcomment-5716065

Steps to patch latest cursor

These instructions should work with the latest versions of cursor which requires a much different strategy than the older versions where you could simply point cursor to the MS extension marketplace and call it a day.

Version details

I am attesting that this GitHub handle joeblackwaslike is linked to the Ethereum Address 0xb142d4004Af1A9E8A5CE663d6dc34d53956dcFC1
0xdfd0016ea99cc7515d0c19c9db2182fa5f09bf25f5902cde7fff1942f0ea3810255d2244b9e07cef4e9cbd5862cdaa020dacf21447d255595740ccd581091afa1b

Usage is simple

import json

from joserf.jwk import KeySet

from idp import IdentityProvider

default_registry = JWSRegistry(algorithms=["RS256", "ES256"])
@joeblackwaslike
joeblackwaslike / pub_jwks_uri.json
Last active June 12, 2023 18:13
public jwkset
{
"keys": [
{
"kty": "RSA",
"kid": "2igMDCHA7k3PhPmP9KYP3uXSdc4IRlCzZiSo_Yr3xW8",
"n": "vy7XwKzb4uPQ1xpVSzF_zBsZSwYywzT1AQLmwbyhzgBC90w1wtunTaLPc1P0NBVxBgGKFeX9vb2SHP2DfDQE7jE5F2NduYNj4Ryf5PA-Y_pNpoCbSIDcma2zCV9WAWk817asI5lo9ncn3QqKjwrXbkrMIZ5I8E7NZ0VAE6bMgpeEki2dHr0M4n-OFPMJXZaIJGOvQyfbTZvmBumLnccpZ5cPqYzdYg3ncR0iNsaqNeu-Qo47ZdvpBkpj4tZqH7enhradZyaOHLsbrYej0fpLHZzLAOOkhmAc9ugKrpvTGXh-ehlOAT-In8flNuezh11UWzrwLb1uAT-g50hV1XpygQ",
"e": "AQAB"
}
]
}
#!/usr/bin/env bash
# Use this script to test if a given TCP host/port are available
WAITFORIT_cmdname=${0##*/}
echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi }
usage()
{
cat << USAGE >&2
I am attesting that this GitHub handle joeblackwaslike is linked to the Ethereum Address 0xb142d4004Af1A9E8A5CE663d6dc34d53956dcFC1
0xdfd0016ea99cc7515d0c19c9db2182fa5f09bf25f5902cde7fff1942f0ea3810255d2244b9e07cef4e9cbd5862cdaa020dacf21447d255595740ccd581091afa1b