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 14, 2025 02:03
This script can be used to automate the installation of extensions 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 / get-cursor-exts.sh
Created August 14, 2025 01:49
This script can be used to automate the installation of extensions from the 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`.
#!/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

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 August 12, 2025 10:29
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

Newer versions are slightly different

There are newer changes to cursor which make the older instructions no longer work. After editing the product.json file and even resigning, cursor complains about the code signature no longer validating and will not launch. In the comments @realdimas has found a new way to get pylance in the latest versions using a script he has made availasble. Be sure to thank him, I'm unable to achieve optimal results but will update.

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