Skip to content

Instantly share code, notes, and snippets.

View kentsalcedo's full-sized avatar
🎯
Focusing

Kent Salcedo kentsalcedo

🎯
Focusing
View GitHub Profile
@kentsalcedo
kentsalcedo / redacted.md
Created January 15, 2016 04:43 — forked from sgnl/redacted.md
Redacted

Redacted

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.

Goal

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.

Blacklisted words and acceptable replacements

@kentsalcedo
kentsalcedo / postgres-brew.md
Created January 20, 2016 04:53 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the command: brew update

Installing

  1. In your command-line run the command: brew install postgresql
@kentsalcedo
kentsalcedo / keybase.md
Created November 17, 2017 22:59
keybase

Keybase proof

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: