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 / 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
@sgnl
sgnl / client.js
Created January 9, 2016 21:51
Process & Net client starter pack
const Net = require('net');
// Server is actually this client
const Server = Net.connect({host: 'localhost', port: 6969}, function() {
process.stdin.setEncoding('utf8');
Server.setEncoding('utf8');
process.stdout.write('SGNL: ');
process.stdin.on('data', function(data) {
Server.write(data);