Skip to content

Instantly share code, notes, and snippets.

game = Game.new
game.roll(1)
game.roll(4)
game.roll(4)
game.roll(5)
game.roll(6)
game.roll(4)
game.roll(5)
game.roll(5)
@BrandonKlotz
BrandonKlotz / react-technical-interview.md
Last active July 22, 2021 20:08
React Technical Interview

Create an auto complete input

We want you to create a react app that has an input. As a user types characters into the input, below the input display the matches to select. A match should occor when a user types characters that match with the beginning of the characters of a word in the word list. Don't worry about fuzzy search.

Feel free to ask any questions about the task and use your resources, there is no penalty for Googling.

  • When a user types characters in the input it should compare the user's typed characters to an array of values and display the values that are potential matches.

  • When there user has not typed any characters in the input, there should be no matches displaying below the input.

@BrandonKlotz
BrandonKlotz / buildings.svg
Created November 28, 2017 03:11
Aninated Buildings SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BrandonKlotz
BrandonKlotz / calder.svg
Last active November 28, 2017 03:10
SVG Calder Animation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BrandonKlotz
BrandonKlotz / data.js
Last active November 22, 2017 22:12
Animation using BodyMovin.JS + After Effects
var window="undefined"==typeof window?{}:window;!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof module&&module.exports?module.exports=e():t.bodymovin=e()}(window,function(){function ProjectInterface(){return{}}function roundValues(t){bm_rnd=t?Math.round:function(t){return t}}function roundTo2Decimals(t){return Math.round(1e4*t)/1e4}function roundTo3Decimals(t){return Math.round(100*t)/100}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin=t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility=t.style.webkitBackfaceVisibility="visible",t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="preserve-3d"}function styleUnselectableDiv(t){t.style.userSelect="none",t.style.MozUserSelect="none",t.style.webkitUserSelect="none",t.style.oUserSelect="none"}function BMEnterFrameEvent(t,e,r,s){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=0>s?-1:1}function BMCompleteEv
@BrandonKlotz
BrandonKlotz / frontendDevlopmentBookmarks.md
Created November 22, 2017 15:16 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.