Skip to content

Instantly share code, notes, and snippets.

View AlexMunoz905's full-sized avatar
🏢
Working from office

Alexander Muñoz AlexMunoz905

🏢
Working from office
View GitHub Profile
@AlexMunoz905
AlexMunoz905 / ip_changer.sh
Last active May 11, 2021 00:09
Bash IP Changer
#!/bin/bash
# Changes the IP to what you specify.
# I made this for my ESXi VM templates.
echo -n "Set IP to: ";
read IP
sudo rm -rf /etc/netplan/00-installer-config.yaml
sudo echo "
# IP changed by ip_changer.sh script!
@AlexMunoz905
AlexMunoz905 / hostname_changer.sh
Last active May 5, 2021 14:55
Bash Hostname Changer
#!/bin/bash
# Changes the hostname to what you specify.
# I made this for my ESXi VM templates.
echo -n "Set hostname to: ";
read hostname
sudo rm -rf /etc/hostname
echo $hostname >> hostname_temp
sudo cp hostname_temp /etc/hostname
@AlexMunoz905
AlexMunoz905 / HtmlTemplate.html
Created January 30, 2017 03:19
The HTML5 template on alex-munoz.net
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>