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
Exception | |
fatal | |
NoMemoryError | |
ScriptError | |
LoadError | |
NotImplementedError | |
SyntaxError | |
SignalException | |
Interrupt | |
StandardError |
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
Exception | |
fatal | |
NoMemoryError | |
ScriptError | |
LoadError | |
NotImplementedError | |
SyntaxError | |
SignalException | |
Interrupt | |
StandardError |
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
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> | |
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" | |
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> | |
<!-- See the manual page PolicyKit.conf(5) for file format --> | |
<config version="0.1"> | |
<match action="org.freedesktop.hal.storage.mount-removable"> | |
<return result="yes"/> |
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
#!/usr/bin/env ruby | |
require 'net/https' | |
require 'rexml/document' | |
require 'time' | |
@username = "" # (without @gmail.com) | |
@password = "" | |
http = Net::HTTP.new('mail.google.com', 443) |
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
#!/usr/bin/env ruby | |
require 'net/https' | |
require 'rexml/document' | |
require 'time' | |
@username = "" # (without @gmail.com) | |
@password = "" | |
http = Net::HTTP.new('mail.google.com', 443) |
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
#!/usr/bin/env ruby | |
module PwGen | |
class Password | |
include Enumerable | |
attr_reader :let, :num | |
$timestamp = Time.now.strftime("%Y %m %d %T") | |
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
#!/usr/bin/env ruby | |
module PwGen | |
class Password | |
include Enumerable | |
attr_reader :vwl, :con, :num | |
$timestamp = Time.now.strftime("%Y %m %d %T") | |
def initialize(size=6, nums=2) |
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
#!/usr/bin/env ruby | |
module PwGen | |
class Password | |
include Enumerable | |
$timestamp = Time.now.strftime("%Y %m %d %T") | |
def initialize(size=6, nums=2) | |
$size, $nums = size, nums |
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
#!/usr/bin/env ruby | |
module PwGeneRB | |
module PasswordGenerator | |
class Password | |
include Enumerable | |
$timestamp = Time.now.strftime("%Y %b %d %T") | |
@chars = ('a'..'z').to_a + ('0'..'9').to_a |
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
#!/usr/bin/env ruby | |
=begin | |
Author: Gigamo <[email protected]> | |
This script generates a passphrase consisting of <size> letters in the start | |
and <nums> numbers in the end. Every even size it will use a vowel, uneven | |
will use a consonant. |
OlderNewer