Skip to content

Instantly share code, notes, and snippets.

View jlr7245's full-sized avatar
🐋

J Silverstein jlr7245

🐋
View GitHub Profile

Web Typography 101

Objectives

  1. Go over how to convert, download, & host your own fonts
  2. Using CSS to make type easier to read
    • The concept of the font stack
    • Serif, sans-serif, cursive, fantasy, monospace
    • Letter-spacing
  • Large fonts in featured places
@jlr7245
jlr7245 / readme.md
Created May 24, 2017 11:14
express auth stepbystep

Express Auth Step-by-Step

Setup

Install the necessary dependencies.

  • passport
  • passport-local
  • bcryptjs
  • cookie-parser
  • dotenv
@jlr7245
jlr7245 / bash-profile.sh
Created July 9, 2017 21:42
bash profile
# A list of all directories in which to look for commands,
# scripts and programs
# PATH="$HOME/.rbenv/bin:$PATH" # RBENV
PATH="/usr/local/share/npm/bin:$PATH" # NPM
PATH="/usr/local/bin:/usr/local/sbin:$PATH" # Homebrew
PATH="/usr/local/heroku/bin:$PATH" # Heroku Toolbelt
# Uncomment to use GNU versions of core utils by default.
# See scripts/mac/homebrew_install_core_utils.sh in the Installfest.
@jlr7245
jlr7245 / steps.md
Last active July 7, 2020 21:36
git prompt

MAKING YOUR COMMAND LINE PRETTY

Check to see if you have bash or zsh.

  • Type echo $SHELL into your terminal.
  • If it says /bin/bash, you have bash.
  • If it says /bin/sh, you have zsh.

IF YOU HAVE BASH

@jlr7245
jlr7245 / readme.md
Created September 29, 2017 15:37
AR METHOD PRACTICE!
  • Create a new Teacher.
  • Create a new Course. (Remember, you must assign it to a teacher!)
  • Create a new Student. (Remember, you must assign them a course!)
  • Find Jason's first course.
  • Find the number of students in all of Joe's courses combined.
  • Find the student with the top grade in Ari's first course.
  • Select all the students who have Kate as a teacher.
@jlr7245
jlr7245 / version-1.js
Last active February 27, 2018 00:52
flashcards
const db = require('../db/config');
const Flashcard = {};
Flashcard.findAll = () => {
return db.manyOrNone('SELECT * FROM flashcards');
};
Flashcard.findById = id => {
return db.one(
@jlr7245
jlr7245 / readme.md
Last active November 28, 2018 17:01
sample problem writeup

I am having trouble getting the image to appear when I click on the button.

Here is what I would like to happen:

  • The user can click on the button.
  • When the button has been clicked on,
    • an image of a dragon appears.

Here is what is currently happening:

  • The button shows up on the page and the user can click on it.
  • However, when the button has been clicked on, nothing shows up.
@jlr7245
jlr7245 / feywild.md
Last active May 26, 2020 00:59
feywild

Setup: the party has to follow a path set for them by a fey prince exactly. If they fall away from the path, they will be set upon by unimaginable horrors immediately, or something. (My players are risk-adverse and like rules.)

I rolled 1d20s on my own and I had the players roll the 1d8.

1d8 ENCOUNTERS
1 A night hag telling fortunes (winter court) — a forest made of literal bones. I