0.01
Generators for creating an 18F-flavored Rails app
2020
2021
2022
2023
2024
2025
0.01
Generate a 4 word password from words of size 3-8 characters, with
frequencies in the 30th-60th percentile. This range gives a nice set
of uncommon but not completely alien words.
$ chbs generate --verbose -W 3..8 -P 30..60
Corpus size: 6396 candidate words of 33075 total
Entropy: 48...
2020
2021
2022
2023
2024
2025
0.01
adiwg-mdcodes provides code lists for use with editors of ISO 19115-1, ISO 19115-2, ISO 19110, and mdJson compliant metadata. Some codelists include extensions added by the Alaska Data Integration working group (ADIwg).
2020
2021
2022
2023
2024
2025
0.01
Temporally Ordered IDs. Generate universally unique identifiers (UUID) that sort lexically in time order. Torid exists to solve the problem of generating UUIDs that when ordered lexically, they are also ordered temporally. I needed a way to generate ids for events that are entering a system with ...
2020
2021
2022
2023
2024
2025
0.01
color-tools is a Ruby library to provide RGB, CMYK, and other colourspace support to applications that require it. It also provides 152 named RGB colours. It offers 152 named RGB colours (184 with spelling variations) that are commonly supported and used in HTML, SVG, and X11 applications. A tech...
2020
2021
2022
2023
2024
2025
0.0
This gem makes updating specified number fields by ActiveRecord in unusual way.
Instead of generating sql script to update value in usual way like this:
UPDATE users
SET money = 10
WHERE id = 1;
It replaces it with
UPDATE users
SET money = money + de...
2020
2021
2022
2023
2024
2025
0.0
Miscellaneous methods that may or may not be useful.
sh:: Safely pass untrusted parameters to sh scripts. Raise an exception if the
script returns a non-zero value.
fork_and_check:: Run a block in a forked process and raise an exception if the
process returns a non-zero value.
do_and_exit, do_...
2020
2021
2022
2023
2024
2025
0.0
# Assuming that today is 1/27/2012
now = Time.new(2012,1,26)
puts now.to_meaningful # "1 day ago"
2020
2021
2022
2023
2024
2025
0.0
**openMeta** in Ruby (support ruby 1.8, ruby 2.0 with RubyCocoa 1.2.0, and MacRuby). This gem ports [openmeta]( http://code.google.com/p/openmeta/ ) API to ruby using framework.
To work with ruby 2.0, update RubyCocoa to 1.2.0.
2020
2021
2022
2023
2024
2025
0.0
extends the Object type with the tasty 'in?' method, which returns true if an object is included
in a list or other enumerable value. So you can do this:
1.in? [1,2] # => true
3.in? [1,2] # => false
2020
2021
2022
2023
2024
2025
0.0
An implementation of AES-CMAC for 128, 192, and 256 bit keys as specified in NIST SP 800-38B and RFC 4493, capable of streaming processing.
Also included is an implementation of AES-CMAC-PRF-128 as specified in RFC 4615 and of CMAC-96 as specified in RFC 4494.
2020
2021
2022
2023
2024
2025
0.0
== FEATURES/PROBLEMS: FiscalCode.calc will throw an ArgumentError Exception if it cannot do the calculation, for example because day,month and years are not in the proper range (1-31,1-12,0-99), or because the city cannot be located in the city database. == SYNOPSIS: Use: FiscalCode.calc(nam...
2020
2021
2022
2023
2024
2025
0.0
Miscellaneous methods that may or may not be useful. sh:: Safely pass untrusted parameters to sh scripts. fork_and_check:: Run a block in a forked process and raise an exception if the process returns a non-zero value. do_and_exit, do_and_exit!:: Run a block. If the block does not run exit!, a...
2020
2021
2022
2023
2024
2025
0.0
* http://www.rubysideshow.com/ * http://rubysideshow.rubyforge.org/wrong_answer/ == DESCRIPTION: 30 seconds after requiring wrong_answer, 1% of your comparisons will return false when it should have been true, or true when it should have been false. == FEATURES/PROBLEMS: * Sleeps for 30 secon...
2020
2021
2022
2023
2024
2025
0.0
Welcome to the "Knuckleheads" game, a (slightly enhanced version of the) fully functional text driven game written in Ruby 1.9 and used as a teaching aid for the excellent web-based Ruby course administered by Pragmatic Studios. W00t! W00t!
Before playing, fill the default csv file "players.cs...
2020
2021
2022
2023
2024
2025
0.0
An efficient solution to use when it is undesirable to expose internal database
ids, IdShuffler converts integers like 123 into strings like 'q34nr1', and
vice-versa, using a very lightweight integer scrambling algorithm plus
'Crockford 32' encoding. It is built as a native C extension and so is...
2020
2021
2022
2023
2024
2025
0.0
Float and Integer will be converted to whole number, that is 0,1,2,3,4... , when you give a negative num, it will be 0. Also when you give 1.1 => 1 by Float#to_i
2020
2021
2022
2023
2024
2025
0.0
A YARP theme for Rabbit (http://rabbit-shocker.org/) with lots of turquoise.
Optimized for 16:9 (use with `--width=1600 --height=900 --paper-width=1600 --paper-height=900`).
Heavily inspired by the "debian" theme.
2020
2021
2022
2023
2024
2025
0.0
keeping track of time in a textfile. now web app, no mouse clicking. No GUI
is as easy as "12:13-17:34", and no time tracker i know of allows you to
add interrupts like: '0:13 pause: phone call with mum'
2020
2021
2022
2023
2024
2025
0.0
This is a very simple text based black jack game.
To use: install the gem, type in 'black_jack' to start running the program.
There are several commands in the game:
"deal" deals the deck
"hit" gives another card
"stay" allows the dealer to start playing
"quit" quits the game
Some known limit...
2020
2021
2022
2023
2024
2025