Skip to content

Instantly share code, notes, and snippets.

View nphillips78's full-sized avatar

coliecoder nphillips78

  • Atlanta, GA
View GitHub Profile
@nphillips78
nphillips78 / LICENSE
Created June 14, 2018 17:20 — forked from ourmaninamsterdam/LICENSE
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@nphillips78
nphillips78 / ultimate-ut-cheat-sheet.md
Created January 29, 2018 19:29 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@nphillips78
nphillips78 / .gitignore
Created January 19, 2018 23:44 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@nphillips78
nphillips78 / sql-mongo_comparison.md
Created January 15, 2018 17:17 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@nphillips78
nphillips78 / OhShitGit.md
Created December 21, 2017 23:39 — forked from mccabe615/OhShitGit.md
Oh Shit Git

Oh shit, I committed and immediately realized I need to make one small change!

make your change

git add .
git commit --amend

follow prompts to change or keep the commit message

now your last commit contains that change!

@nphillips78
nphillips78 / OhShitGit.md
Created December 21, 2017 23:39 — forked from mccabe615/OhShitGit.md
Oh Shit Git

Oh shit, I committed and immediately realized I need to make one small change!

make your change

git add .
git commit --amend

follow prompts to change or keep the commit message

now your last commit contains that change!

@nphillips78
nphillips78 / navbar.html
Created November 29, 2017 23:44 — forked from benweitzel/navbar.html
A simple HTML and CSS navigation bar that is extremely easy to customize.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Horizontal Navigation Bar w/Rollover Effect</title>
<style type="text/css">
<!--
#navbar ul {
margin: 0;
padding: 5px;
@nphillips78
nphillips78 / navbar.html
Created November 29, 2017 23:44 — forked from benweitzel/navbar.html
A simple HTML and CSS navigation bar that is extremely easy to customize.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Horizontal Navigation Bar w/Rollover Effect</title>
<style type="text/css">
<!--
#navbar ul {
margin: 0;
padding: 5px;
@nphillips78
nphillips78 / SorterSearcher.js
Created November 17, 2017 23:49 — forked from hamannjames/SorterSearcher.js
This is a helper object I am creating that will allow for alternative sorting and searching solutions to the native JS implementation. It sets a standard, and optimizes certain actions, as well as addressing some strange native JS behavior (like treating integers as strings)
const Sorter = function (arr = [], key = null, def = null) {
state = {
arr,
key,
def
}
const proto = {
type: 'Sorter',