Computing / Miscellaneous — 2 comments
22
Sep 08
I recently came across an interesting web tool: voobys.com. I’ve tried out its service for YouTube video downloads — the procedure is pretty brilliant.
Say I wanted to download the video in http://youtube.com/watch?v=F2TSy0Z5qTEw. I’d just have to replace the string “youtube” (as in “youtube.com”) in the URI with “voobys” (for “voobys.com”) and go to that URI. For this example, the resulting URI would be http://voobys.com/watch?v=F2TSy0Z5qTEw. This page will then contain a hyperlink with which I could download the video.
Convenient, portable, and easy to remember. A pretty creative solution, huh. There is a potential issue with terms of use, but that’s another topic.
Computing — 3 comments
09
Aug 08
A second plugin to GitHub today.
validates_as_phone is a Ruby on Rails plugin that provides strict validation for phone numbers. At the moment, only phone numbers in Australia are supported. This will still be extended to support classifications and areas in the future.
validates_as_phone
==================
Strict validation module for phone numbers that supports classifications and areas.
= General usage
== Installation
You can install the plugin the traditional way. Go to your application root
and do:
script/plugin install git://github.com/kristinalim/validates_as_phone.git
== Validate your model attributes
Example:
class Person < ActiveRecord::Base
validates_as_phone :phone, :allow_blank => true, :set => true
end
= License
Written by Kristina Lim (http://i-think.com.ph/kristina/)
Copyright (c) 2008 Syndeo Media
http://syndeomedia.com
= Contributing
If you wish to contribute to the project, you may contact the author through:
'kristinasyndeomediacom'.insert(8, '@').insert(20, '.')
= Acknowledgements
This plugin is named after the validates_as_phone plugin of Jerrod Blavos
(http://code.google.com/p/validates-as-phone/). Admittedly, this plugin was
built over the latter, but as the purposes of this plugin is more complex than
that of the minimal one, practically all of the code has been written over by
now.
Computing — 1 comment
09
Aug 08
I pushed schedule_attribute to GitHub early today.
The Ruby on Rails plugin schedule_attribute provides support to ActiveRecord for a Data Definition Language (DDL) for schedules.
schedule_attribute
==================
Provides support to ActiveRecord for a Data Definition Language (DDL) specific to schedules.
= Language
A datetime pair comprised of the start datetime and end datetime is defined with two lines. At the moment, only one option is available.
== Weekly Schedule
mon 09 00 ==> Monday, 7 AM
01 17 00 ==> Monday, 5 PM
1 00 00 ==> Monday, midnight
2 05 00 ==> Tuesday, 5 PM
5 09 00 ==> Friday, 9 AM
0 09 00 ==> Subday, 9 AM
= General Usage
== Installation
You can install the plugin the traditional way. Go to your application root and do:
script/plugin install git://github.com/kristinalim/schedule_attribute.git
== Specifying the Attributes for Schedule
In your models, you can do:
class Person < ActiveRecord::Base
schedule_attribute
ffice_hours, :type => :weekly
end
== Checking if a Datetime is Within the Schedule
person.within_schedule?(:weekly,
ffice_hours, Time.now)
= License
Written by Kristina Lim (http://i-think.com.ph/kristina/)
Copyright (c) 2008 Syndeo Media
http://syndeomedia.com
= Contributing
If you wish to contribute to the project, you may contact the author through:
'kristinasyndeomediacom'.insert(8, '@').insert(20, '.')
Personal — 1 comment
06
Apr 08
My dad caught Sony Cybershot DSC-S700 on a big sale a couple of weeks ago, so now, both my eldest sister and I have a digital camera too. I played with white balance (First thing I checked out.
Thanks, Mutya.), effects, scene modes, and other configurables today, and it seems there will be a lot of photographs of practically anything under the sun coming.
(Irrelevant: My parents do not play favorites, my other sister got hers some time ago. And we got other things that time, alright? Although gifts are not important.)
Computing / Personal — No comments
06
Apr 08
I could be quite sloppy with my dealings on the Web. You guessed it, I have never bothered to investigate OpenID until today, for reasons I will not disclose just yet.
OpenID is a shared identity service, which allows internet users to log on to many different web sites using a single digital identity, eliminating the need for a different user name and password for each site. OpenID is a decentralized, free and open standard that lets users control the amount of personal information they provide.
[SOURCE: http://en.wikipedia.org/wiki/OpenID]
I looked into a couple of OpenID providers and even ended up creating an account on some, but eventually decided to settle on Personal Identity Provider (PIP) of VeriSign Labs.
Personal Identity Provider brags an extensive trust and information management tool, giving flexibility to share which information with whom. I especially wanted its support for the Simple Registration Extension, which allows data on the provider to be used for registration on other websites. I assume it also uses certificates for sensitive transactions, so we are assured private information are secure. Multiple identities and the ability to create custom attributes are definitely pluses.
Personal Identity Provider appears to have the whole deal, so I jumped right in. Guys, my OpenID URL: http://kristinalim.pip.verisignlabs.com.