Skip to content

Instantly share code, notes, and snippets.

View Petoleju's full-sized avatar

Pedro Leite Petoleju

View GitHub Profile
@Petoleju
Petoleju / 0_reuse_code.js
Created July 28, 2017 14:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Petoleju
Petoleju / vanilla-js-cheatsheet.md
Created April 5, 2017 20:16 — forked from thegitfather/vanilla-js-cheatsheet.md
Vanilla JavaScript Quick Reference / Cheatsheet
@Petoleju
Petoleju / Email Server (Linux, Unix, Mac).md
Created December 13, 2016 19:16 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only Email Server (Linux, Unix, Mac)

Setup a Local Only Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix