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
puts '--start' | |
profile = Selenium::WebDriver::Firefox::Profile.new | |
driver = Selenium::WebDriver.for :firefox, :profile => profile | |
timeout = Thread.new(Time.now + 7) do |end_time| | |
while Time.now < end_time | |
Thread.pass | |
end | |
puts '--execute' |
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
driver = mysql | |
connect = host=127.0.0.1 dbname=postfixadmin user=postfixadmin password=MYPASS | |
default_pass_scheme = SHA512-CRYPT | |
password_query = SELECT username, password FROM mailbox WHERE username='%u' |