Skip to content

Instantly share code, notes, and snippets.

/*
Rules:
1. Any word that starts with a vowel, add "way" to the end of the word
2. Any word that starts with a consonant, move the first letter of the word to the end of the word, and then add "ay" after that
*/
const vowels = ['a', 'e', 'i', 'o', 'u'];
const allLetters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
import store from '../store'
import VueRouter from 'vue-router'
import Firebase from '../firebaseInit.js'
import Home from '../components/Home'
import Login from '../components/Login'
import SignUp from '../components/SignUp'
import Resorts from '../components/Resorts'
import ExportJson from '../components/ExportJson'
@romines
romines / 0_reuse_code.js
Created March 24, 2016 17:49
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<div class="CodeMirror cm-s-default CodeMirror-wrap">
<div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 4px; left: 4px;">
<textarea autocorrect="off" autocapitalize="off" spellcheck="false" style="position: absolute; padding: 0px; width: 1000px; height: 1em; outline: none;" tabindex="0"></textarea>
</div>
<div class="CodeMirror-vscrollbar" cm-not-content="true">
<div style="min-width: 1px; height: 0px;"></div>
</div>
<div class="CodeMirror-hscrollbar" cm-not-content="true">
<div style="height: 100%; min-height: 1px; width: 0px;"></div>
</div>
@romines
romines / index.html
Created November 5, 2015 21:09 — forked from deltaepsilon/index.html
Firebase Chat Demo - With Auth
<html>
<head>
<title>DM4 Firebase Chat App</title>
</head>
<body ng-app="firebaseChat">
<div ng-controller="chatCtrl">
<form name="loginForm" ng-if="!authData">
<fieldset>
@romines
romines / .gitignore
Created July 13, 2015 22:25
WordPress .gitignore
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20150227
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore