Skip to content

Instantly share code, notes, and snippets.

View andrewjmeier's full-sized avatar

Andrew Meier andrewjmeier

View GitHub Profile
@andrewjmeier
andrewjmeier / round1.json
Last active April 25, 2020 14:49
Trivia Template
{
"title": "General Knowledge",
"questions": [
{
"id": 1,
"question": "What year did the iPod Mini come out?",
"answer": "2004",
"points": 1
},{
"id": 2,
@andrewjmeier
andrewjmeier / pre-commit.sh
Created March 26, 2018 22:27
Ruby/JavaScript git pre commit hook
#!/bin/sh
# To enable this hook, rename this file to "pre-commit".
###############################################################################
# Forked from https://gist.github.com/stuntgoat/8800170
# Git pre-commit hook for finding and warning about print statements in Ruby
# and JavaScript code.
#
@andrewjmeier
andrewjmeier / UITableViewTemplate.swift
Last active May 31, 2017 17:46
UITableViewDelegate/DataSource template
// Not all methods in the protocols, but the ones that I find useful the most. (commented out methods are optional.)
// MARK: UITableViewDelegate
extension MyViewController: UITableViewDelegate {
// MARK: Configuring a Table
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
return tableView.dequeueReusableCell(withIdentifier: "cell")!
}

React-Gist-Slideshow

A React component to show your gists in a slideshow

$ npm install react-gist-slideshow