I hereby claim:
- I am tomkap on github.
- I am tomkap (https://keybase.io/tomkap) on keybase.
- I have a public key whose fingerprint is C1E8 A9FE 1D62 EEFD 7339 B74E 0D87 54B0 D20E F68B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| from xml.dom import minidom | |
| from urllib import urlopen | |
| site = 'http://www.nafpaktia-weather.gr/tmp/database.xml' | |
| site_data = urlopen(site).read() | |
| xmldoc = minidom.parseString(site_data) | |
| tags = ['city', 'date', 'time', 'temp']; | |
| for tag in tags: | |
| value = xmldoc.getElementsByTagName(tag) | |
| print('%s => %s') % (tag.upper(), value[0].firstChild.nodeValue) |
| #!/usr/bin/env bash | |
| # 1) visudo: | |
| # %sudo ALL=NOPASSWD: ALL | |
| # 2) user | |
| # # usermod -a -G sudo username | |
| # 3) .conkyrc: | |
| # ${execi 28800 ~/i3/debian_updates.sh} | |
| sudo apt-get -qy update > /dev/null | |
| NUMOUPD=$(sudo aptitude search "~U" | wc -l) |
| #!/usr/bin/env bash | |
| # .conkyrc: | |
| # ${execi 28800 ~/i3/weather.sh} | |
| METRIC="metric" && UNIT="C" | |
| GEOLOC=$(curl -s ipinfo.io) | |
| LATLON=$(echo $GEOLOC | jq -r '.loc') | |
| LAT=${LATLON%,*} | |
| LON=${LATLON#*,} | |
| WEATHER=$(curl -s http://api.openweathermap.org/data/2.5/weather\?lat\=${LAT}\&lon\=${LON}\&units\=${METRIC}) |
AdobeTracking.pageName = 'Mr. Robot : S2 Easter Egg Sites : Ransomware : Home';On load, this page displays a countdown timer starting at 24:00:00. When time is over, the following "hidden" message is revealed: