Skip to content

Instantly share code, notes, and snippets.

View chloecorfmat's full-sized avatar
🐘
Learning, learning, always learning !

Chloé Corfmat chloecorfmat

🐘
Learning, learning, always learning !
View GitHub Profile
@raelgc
raelgc / Email Server (Linux, Unix, Mac).md
Last active December 10, 2024 15:58
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP 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

@liamcurry
liamcurry / gist:2597326
Created May 4, 2012 19:56
Vanilla JS vs jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})