Skip to content

Instantly share code, notes, and snippets.

View deepfriedheroin's full-sized avatar
💭
I may be slow to respond.

dfh deepfriedheroin

💭
I may be slow to respond.
  • Formosissima Inc
View GitHub Profile

Security Checklist (What can be done in CursorAI & software-level not infrastructure!)

Configuration Security

  • Detect secrets in code
  • Identify secrets committed to version control
  • Flag hardcoded credentials

Authentication & Authorization

  • Identify missing authentication checks
  • Detect improper authorization patterns
@deepfriedheroin
deepfriedheroin / README.md
Created January 1, 2025 08:39 — forked from disler/README.md
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.

Proposal for Standardizing Bill of Materials

Introduction

In the rapidly advancing field of hobbiest manufacturing, managing project components effectively is crucial. The current diversity in the format of Bills of Materials (BOMs) across various projects leads to inefficiencies and confusion. This proposal aims to introduce a standardized format for BOMs to improve clarity and efficiency in our community, benefiting both our members and our associated vendors.

Benefits to the Community and Vendors

A standardized BOM format will enhance clarity and efficiency in project management. It simplifies the process of sharing resources, reduces errors, and allows for more effective collaboration. For vendors, it means clearer orders and better inventory management, fostering stronger, mutually beneficial relationships.

# approximations of colors found here:
# https://github.com/dracula/dracula-theme#color-palette
black=$(tput setaf 16)
background=$(tput setaf 17)
current_line=$(tput setaf 59)
selection=$(tput setaf 59)
foreground=$(tput setaf 231)
comment=$(tput setaf 61)
cyan=$(tput setaf 117)
// https://en.wikipedia.org/wiki/Konami_Code
const settings = {
konamiCode : [38, 38, 40, 40, 37, 39, 37, 39, 66, 65, 66, 65],
userInput : [],
};
function checkUserInput(e) {
settings.userInput.push(e.which);
@deepfriedheroin
deepfriedheroin / quote_scraper.py
Last active August 11, 2017 21:35
quick and dirty scrape of all quotes from goodreads.com
#!/usr/bin/env python
from bs4 import BeautifulSoup as bs
import html
import json
import os
import pathlib
import re
import requests as req
import time
const request = require('request');
const argv = require('yargs').argv;
const Morae = require('morae')
const nytGet = {
url: "https://api.nytimes.com/svc/search/v2/articlesearch.json",
qs: {
'api-key': "XxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxX",
'q': argv.c || 'Cats'
},
@deepfriedheroin
deepfriedheroin / eye_roms.py
Last active July 27, 2017 19:44
Scrape and download all roms from the eye
#!/usr/bin/env python
from bs4 import BeautifulSoup as bs
from colorama import Fore
import os
import pathlib
import requests as req
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -