This file contains 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
#!/usr/bin/env ruby1.9.1 | |
# encoding: utf-8 | |
require 'rubygems' | |
require 'nokogiri' | |
require 'mechanize' | |
def get_password | |
puts "Password please:" | |
system "stty -echo" |
This file contains 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
#!/usr/bin/env ruby1.9.1 | |
# coding: utf-8 | |
if ARGV.empty? | |
STDERR.puts "Usage: fajrant hours" | |
exit(-1) | |
end | |
begin | |
hours = Integer(ARGV[0]) |
NewerOlder