Skip to content

Instantly share code, notes, and snippets.

View germanny's full-sized avatar

Jen G germanny

View GitHub Profile
@germanny
germanny / prd.md
Created April 14, 2025 14:57 — forked from burkeholland/prd.md
TheUrlist PRD

Project Requirements Document: The Urlist Website

The following table outlines the detailed functional requirements of The Urlist website.

Requirement ID Description User Story Expected Behavior/Outcome
FR001 Creating a New URL List As a user, I want to be able to start a new, empty list so I can begin adding URLs. The system should provide a clear way for the user to initiate the creation of a new list, potentially presenting an empty list view or an "add new list" button.
FR002 A
@germanny
germanny / code-standards.md
Last active February 25, 2025 16:54
React Component Development Standards

React Component Development Standards

Consider adopting Airbnb's React/JSX Style Guide to check for a lot of the following:

Type Safety & Props

  1. Props Management
    • Use lowercase props if component will be a shortcode
    • Implement proper prop validation with PropTypes or TypeScript
  • Avoid any types - use specific types for all props
@germanny
germanny / WP Security README.md
Created December 5, 2024 14:36 — forked from ericrasch/WP Security README.md
Hardening & Improving WordPress Security
@germanny
germanny / publisherConfig.json
Created June 22, 2021 17:04
Publisher Themes
{
"default": {
"logoWidth": "250",
"publisherName": "collegedegrees.com",
"theme": {
"fontSize": {
"h1": "28px !important",
"h2": "20px !important",
"h3": "16px !important",
"bodyLarge": "18px !important",
@germanny
germanny / js-redirect-option-to-value.md
Created November 4, 2019 20:54
JavaScript - Redirect to <option> value on form submission
{
  document.addEventListener("submit", (ev) => {
    const form = ev.target;
    const value = form.subject.value;

    // Return if doesn't contain class
    if (!form.classList.contains("my-class-name")) {
      return;
 }
@germanny
germanny / clone-repos-in-org.md
Last active November 4, 2019 17:30
Git - Clone all repos in organization

On macOS for downloading all repos for an organization:

  1. $ brew install jq
  2. Create personal access token on github
  3. $ curl -s https://<your token>:@api.github.com/orgs/<your org>/repos\?per_page\=200 | jq ".[].ssh_url" | xargs -n 1 git clone --recursive

ref: https://gist.github.com/caniszczyk/3856584#gistcomment-2653802

{
"colors": [
{
"color": "black",
"category": "hue",
"type": "primary",
"code": {
"rgba": "[255,255,255,1]",
"hex": "#000"
}
@germanny
germanny / structured-data-json-ld-example.json
Created May 10, 2019 14:10
Structured Date (JSON-LD)
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://yoast.com/#organization",
"name": "Yoast",
"url": "https://yoast.com/",
"sameAs": [
@germanny
germanny / wget-snapshotpage.md
Created March 19, 2019 21:00 — forked from dannguyen/wget-snapshotpage.md
Use wget to snapshot a page and its necessary visual dependencies

Use wget to mirror a single page and its visible dependencies (images, styles)

Money graphic via State of Florida CFO Vendor Payment Search

Graphic via State of Florida CFO Vendor Payment Search (flair.myfloridacfo.com)

This is a quick command I use to snapshot webpages that have a fun image I want to keep for my own collection of WTFViz. Why not just right-click and save the image? Oftentimes, the webpage in which the image is embedded contains necessary context, such as captions and links to important documentation just incase you forget what exactly that fun graphic was trying to explain.

@germanny
germanny / Readme.md
Created June 11, 2018 17:06 — forked from jasoncomes/Readme.md
Developer Project - Cars

Project Overview

So this should take them about an 30 mins to 1 hr, depending on how in depth they get. I wanted to keep the instructions as vague as possible with little direction to see how they operate. Here is a list of things we'll be looking for as we QA:

  • Questions, if they ask any
  • Github
  • Javascript/JQuery
  • HTML Markup
  • PHP Logic
  • Git Committing