I hereby claim:
- I am kentsalcedo on github.
- I am kentobento (https://keybase.io/kentobento) on keybase.
- I have a public key ASCzpDeD0JbUXX3x9UFTKgT2VqQl71OrU3nGiPikbnFHigo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
In your command-line run the command: brew update
brew install postgresql
One of your clients have contacted you with a problem. Their Users have figured out that their chat messages aren't filtered and they can say anything that they want. The CEO dislikes the slang terms being used on the internet and wants to implement a system which will remove certain words and replace them.
Your task is to build middleware for Express which will search through a message's contents and replace certain words with ones that are more, family-friendly. You have been given a set of words to which have been blacklisted.
You will build a small project which will test your middleware.
##Tower Of Hanoi
According to legend, there is a temple in Hanoi where are located sixty-four golden rings of graduated sizes and three diamond towers. Each day, the monks of the temple move a ring from one tower to another according to the rule that only one ring may be moved each day, that a single move consists of taking the highest ring from one tower and placing it on another tower, and that no ring may be placed on top of a smaller ring. The rings and towers were placed at the beginning of the world, and the monks have toiled through the ages to move all the rings from the designated starting tower to the designated finishing tower, at each day making the move that minimizes the total number of moves required. The world will end when the monks complete their work.
The objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules:
Only one disk can be moved at a time.
Each move consists of taking the upper disk from one of the stacks and placing it on to
###The Ask Good morning team! We have been asked to implement a better button for our marketing landing pages in the hopes it leads to more conversions. We currently do one off landing pages for inbound marketing to lead customers to our main brand site. The CEO is demanding that we increase our number of conversions this year and we want something a little more enticing to get users to click.
###Your Challenge Please mock up a simple app with a nice big blue button that when a user hovers over the button grows by 5px in all directions and changes from the dark blue we have on the site to...idk something..."warmer". We also are not sure of the color or sizes we will end up deciding on so the implementation needs to be flexible. Please mock up a prototype for us so we can sell more widgets!!
Any other styling is ok too since you guys are the web masters so impress us.
Thaaaannnks :D
##Memoize Me
We are going to be building an in-memory cache to improve performance and extend the getElementById()
and querySelector()
functions of the DOM. Querying the DOM for elements can be an inefficient operation and if we are finding elements in the DOM repeatedly we would like to improve performance but we also don't want to clutter our codebase with many variables to hold references to the various elements we will use and to keep things a bit more dynamic.
##Your Challenge Write a module that anyone can add to their project and call your module's functions instead of the native DOM functions.
This Gist outlines the gulp workflow that will:
public/
This Gist also assumes you already know how to install npm modules, gitignore, create directories and create files via the command line.
A new alien species has moved to earth and they only speak pig-latin! The president has called you and says that they need your help!
Your mission is to create a module that is capable of taking an english sentence and translating it into pig latin. We must also be able to understand what our new alien friends are saying, so the module needs to be able to convert pig-latin back to english.
TL;DR: Create a module that translates a string into Pig Latin, and is capable of translating Pig Latin back into in the native language.
##How Pig Latin Works Basically, the Pig Latin system used here works as follows:
###Business Objective Good morning team! We just got a request from the new CMG(Chief Marketing Groovru) that he wants to start A/B testing every element across the entire site for user interaction. We are going to need you to create a script that can be included in an HTML page that tracks every click on a page and reports what element was clicked so that we know at a micro level how users are interacting with our new optimized, user-friendly, uber-engagement platform.
###Your Task Mock up a simple HTML page with a bunch of different elements on the page and create a script that tracks every single element clicked and the number of times it was clicked. We will worry about saving this to our analytics database later, we just need a way to prove that it works.
Thaaannnks :D
###Console History Sim Stack Trace Challenge
Using a linked list, we are going to demonstrate a use case for a linked list and simulate a stack like you see in a stack trace (similar to what you see in your console when an error occurs), that replays the history of what we typed.
save
and dump
.