Skip to content

Instantly share code, notes, and snippets.

J Silverstein jlr7245

Block or report user

Report or block jlr7245

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jlr7245
jlr7245 / readme.md
Last active Nov 28, 2018
sample problem writeup
View readme.md

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.
View version-1.js
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
Created Sep 29, 2017
AR METHOD PRACTICE!
View readme.md
  • 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.
View steps.md
  • Run brew update
  • Run brew install bash-git-prompt
  • Add the following to your ~/.bash_profile (anywhere in the file):
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then
  __GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share
  source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
fi
View bash-profile.sh
# 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 / readme.md
Created May 24, 2017
express auth stepbystep
View readme.md

Express Auth Step-by-Step

Setup

Install the necessary dependencies.

  • passport
  • passport-local
  • bcryptjs
  • cookie-parser
  • dotenv
View web-type-lecture.md

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
You can’t perform that action at this time.