Skip to content

Instantly share code, notes, and snippets.

View ikariwill's full-sized avatar
🏠
Working from home

Willian Silva ikariwill

🏠
Working from home
View GitHub Profile
# To build a prod version of the app, then just need to run:
ionic build --prod && npm run postbuild
@ikariwill
ikariwill / connection-monitor.py
Created August 13, 2018 02:11 — forked from JakeSidSmith/connection-monitor.py
Little python program for logging internet connection
import urllib2, time, socket
from datetime import datetime
previous_state = 'Monitoring started'
current_state = 'Monitoring started'
readable_time = None
time_now = None
disconnected_time = None
def start_monitoring():