Skip to content

Instantly share code, notes, and snippets.

import { scrabble, chooseRandomTiles } from ".";
describe("Pairing test", () => {
it("runs", () => {
expect(scrabble("guardian")).toBe(10);
});
it('returns a random set of tiles', () => {
const set1 = chooseRandomTiles();
const set2 = chooseRandomTiles();
@miker169
miker169 / uberflow.txt
Last active May 29, 2020 17:02
MIkes Uber Git Flow
# New story whoop
# First go to develop and pull the lastest from remote
git pull --rebase
# create a New branch from develop
git checkout -b feature/my_uber_feature
# build all the things
# looks like there are new shiny things on develop. Lets go get them
git checkout develop
git fetch
git pull --rebase
// Using Frequency Solution
// function areThereDuplicates() {
// const collection = {};
// for(let val in arguments){
// collection[arguments[val]] = (collection[arguments[val]] || 0) + 1
// }
// for (let key in collection){
// if(collection[key] > 1) return true;
button{
color: #ED652E;
background-color: #999;
};
@miker169
miker169 / snippet.html
Created October 30, 2012 23:23
simple html snippet
<div id="mikesButtonHole">
<button id="myButton"> Click Me</button>
</div>