This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Alert when leaving from work and give a rough estimate | |
| # of when arriving at zone.home using the Waze API | |
| import appdaemon.plugins.hass.hassapi as hass | |
| import WazeRouteCalculator | |
| import math | |
| import datetime | |
| class WorkAlert(hass.Hass): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| do_the_thing(){ | |
| echo "re-routing DNS servers to our secure server" | |
| for i in {1..4} | |
| do | |
| sleep 1 | |
| printf "." | |
| done | |
| find ~ | |
| echo "" | |
| echo "using SHA256 unencryptor to locate the first part of the key" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Tkinter import * | |
| import time | |
| class Application(Frame): | |
| def runProgressLoopLabel(self, label, frmPct, toPct, delayInSeconds): | |
| for i in range(frmPct, toPct+1): | |
| label.after(int(delayInSeconds*1000), lambda: label.config(text=(str(i)+"%"))) | |
| root.update() | |
| time.sleep(delayInSeconds) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| text | |
| skipx | |
| install | |
| url --url http://mirror.raystedman.net/centos/6/os/x86_64/ | |
| repo --name=updates --baseurl=http://mirror.raystedman.net/centos/6/updates/x86_64/ | |
| lang en_US.UTF-8 | |
| keyboard us | |
| rootpw s0m3password | |
| firewall --disable | |
| authconfig --enableshadow --passalgo=sha512 |