Skip to content

Instantly share code, notes, and snippets.

View maestrofx's full-sized avatar
🎯
Focusing

Franheit Sangapta maestrofx

🎯
Focusing
  • Root in the shell!
  • Jakarta, Indonesia
View GitHub Profile
@maestrofx
maestrofx / static_ip_trusty.sh
Created December 11, 2015 08:35
trusty static ip
#!/bin/bash
# This is a bash script to set a static IP.
# Tested in Ubuntu 14.04, added more
readInfo() {
read -p "Type static IP (eg - 10.10.10.2) : " staticip
read -p "Type Default Gateway (eg - 10.10.10.1) : " gateway
read -p "Type Netmask (eg - 255.255.255.0) : " netmask
read -p "Type DNS (eg - 8.8.8.8) : " dns
}
@maestrofx
maestrofx / cheatsheet - docker.md
Created November 30, 2015 09:51
cheatsheet - docker

add here