Skip to content

Instantly share code, notes, and snippets.

View nated668's full-sized avatar

Nate Davidoff nated668

  • Columbus, OH
View GitHub Profile
@nated668
nated668 / react-phone-book.js
Created May 6, 2021 14:24 — forked from roshanlabh/react-phone-book.js
Coderbyte - React Phone Book [solution]
import React, { useState } from "react";
import ReactDOM from "react-dom";
const style = {
table: {
borderCollapse: "collapse",
},
tableCell: {
border: "1px solid gray",
margin: 0,
@nated668
nated668 / 1_slower_sprite_file.scss
Created January 2, 2020 19:10 — forked from chriseppstein/1_slower_sprite_file.scss
This gist demonstrates how a generated sprite file can be optimized to shave some time off your compile.
@import "compass/utilities/sprites/base";
// General Sprite Defaults
// You can override them before you import this file.
$emblem-sprite-base-class: ".emblem-sprite" !default;
$emblem-sprite-dimensions: false !default;
$emblem-position: 0% !default;
$emblem-spacing: 0 !default;
$emblem-repeat: no-repeat !default;
@nated668
nated668 / mochatutorial.md
Created June 26, 2019 15:56 — forked from soheilhy/mochatutorial.md
Mocha Tutorial

Testing Node.JS applications using Mocha

Mocha is a unittest framework for Node. In this document, we explain how you can test your javascript code and also your HTTP servers.

Installing Mocha

Use npm to install Mocha:

npm install mocha