Skip to content

Instantly share code, notes, and snippets.


Jen G germanny

View GitHub Profile
View publisherConfig.json
"default": {
"logoWidth": "250",
"publisherName": "",
"theme": {
"fontSize": {
"h1": "28px !important",
"h2": "20px !important",
"h3": "16px !important",
"bodyLarge": "18px !important",
germanny /
Created Nov 4, 2019
JavaScript - Redirect to <option> value on form submission
  document.addEventListener("submit", (ev) => {
    const form =;
    const value = form.subject.value;

    // Return if doesn't contain class
    if (!form.classList.contains("my-class-name")) {
germanny /
Last active Nov 4, 2019
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><your org>/repos\?per_page\=200 | jq ".[].ssh_url" | xargs -n 1 git clone --recursive


View colors.json
"colors": [
"color": "black",
"category": "hue",
"type": "primary",
"code": {
"rgba": "[255,255,255,1]",
"hex": "#000"
View structured-data-json-ld-example.json
<script type="application/ld+json">
"@context": "",
"@graph": [
"@type": "Organization",
"@id": "",
"name": "Yoast",
"url": "",
"sameAs": [
germanny /
Created Mar 19, 2019 — forked from dannguyen/
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 (

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 /
Created Jun 11, 2018 — forked from jasoncomes/
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
View brewfile
cask_args appdir: '/Applications'
# 1 taps
# homebrew dupes
tap 'homebrew/dupes'
# homebrew versions
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/7.3.0/bin/node',
1 verbose cli   '/Users/germanny/.npm-packages/bin/npm',
1 verbose cli   'install',
1 verbose cli   '/Users/germanny/.cache/yeoman/genesis/wordpress/v1.0.5',
1 verbose cli   '--0',
1 verbose cli   '--quiet' ]
2 info using npm@4.0.5
3 info using node@v7.3.0
germanny / .gitconfig
Last active Dec 29, 2016 — forked from jimmynotjim/.gitconfig
Base .gitconfig
View .gitconfig
whitespace = fix
# Use colors in Git commands that are capable of colored output when outputting to the terminal
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]