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
import os | |
import datetime | |
import time | |
execute_after_minutes = 17 | |
command = 'shutdown /h' | |
# 'shutdown /s' #shutdown | |
# 'shutdown /h' #hibernate | |
def now(): | |
return datetime.datetime.now() |
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
# Copyright © 2013 Ishkov Dmitry <[email protected]> | |
# This work is free. You can redistribute it and/or modify it under the | |
# terms of the Do What The Fuck You Want To Public License, Version 2, | |
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
require 'open-uri' | |
require 'nokogiri' | |
require 'typhoeus' | |
def make_name link |
NewerOlder