Skip to content

Instantly share code, notes, and snippets.

View ingenieromora's full-sized avatar
🧠
Playing with A.I.

Leandro Mora ingenieromora

🧠
Playing with A.I.
View GitHub Profile
@ingenieromora
ingenieromora / 0_reuse_code.js
Created December 16, 2016 19:42
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
@ingenieromora
ingenieromora / manage-etc-hosts.sh
Created December 14, 2015 20:46 — forked from irazasyed/manage-etc-hosts.sh
Bash Script to Manage /etc/hosts file for adding/removing hostnames.
#!/bin/sh
# PATH TO YOUR HOSTS FILE
ETC_HOSTS=/etc/hosts
# DEFAULT IP FOR HOSTNAME
IP="127.0.0.1"
# Hostname to add/remove.
HOSTNAME=$1