Skip to content

Instantly share code, notes, and snippets.

View Ricardowec51's full-sized avatar

Ricardo Wagner Ricardowec51

  • rwagner.it
  • Guayaquil, Ecuador
View GitHub Profile
@Ricardowec51
Ricardowec51 / downtime.py
Created January 4, 2021 18:28 — forked from waleedahmad/downtime.py
Python script to monitor your internet down time
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
import csv
import sys
import time
import socket
import datetime
@Ricardowec51
Ricardowec51 / post_install.sh
Created January 3, 2021 19:38 — forked from waleedahmad/post_install.sh
Ubuntu post installation script for installing software of your choice.
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
else
#Update and Upgrade
echo "Updating and Upgrading"
apt-get update && sudo apt-get upgrade -y