Javascript, JQuery, Passwords, Etc.

No Gravatar

(If you want to skip to the good part of this post, head to here!)

I have been busy the past few weeks! I decided that I wanted to try and learn a bit about Javascript and JQuery, so I took it upon myself to write a couple of Web Apps. The first was a little private Web App that I made for my wife and daughter. We’ve recently begun using a “Happy Ticket” reward system, where she accumulates the tickets based on her good behavior. What the Web App does is serve as a bank for her tickets so that we don’t have to keep track of paper tickets. The app provides the ability to:

  • Bank tickets by Laura and I. Banking tickets requires a user account and passcode that is entered to authenticate that it is either Laura or I banking the tickets. It also records the GeoLocation at the time for future use.
  • Spend Ticket by Andi. There is an interface for Andi to select the number of tickets that she wants to spend with a slider, and then she puts in her passcode to authorize the spending. I am also recording the GeoLocation information of these transactions so that in the future if she does not remember a transaction, I will not only be able to show here when it was made, but also where. Since she is the only one with the ability to spend tickets, she can’t claim that we spent them. :-)
  • Basic Reporting. Right now, the reporting is limited to an AJAX interface that shows you the transaction records in reverse chronological order. Each time you push the “Show more” button, it appends the next five entries to the display. Right now it only shows who made the transaction, the date/time and whether it was a debit (shows as green) or a credit (shows as red). In the future I would like to add a way to also see on a map where the transaction took place.

“I Can Haz PW?” Web App & Extension

The other app that I wrote is public and available for use. It started out as an iPhone web app for my “I Can Haz PW?” website. It ended up being a Web App for just about any modern mobile device, such as an iPhone, iPad, Android, etc. It also works in a normal desktop browser. If you are using an iPhone or iPad with Safari, you can visit http://icanhazpw.info/ and it will detect your browser and forward you to http://m.icanhazpw.info/. All other mobile browsers can try and going directly to http://m.icanhazpw.info/. If you install it on your iOS device as a Home Screen Web App, it should also be available to you when you are not connected to a network or the Internet.

I also took the code that I wrote, and bundled it into a Google Chrome extension. This allows you to quickly generate a random password from the Chrome web browser without having to leave the page that you are visiting. You can find the extension here: http://icanhazpw.info/chrome/ICanHazPW_v1.crx.

If anyone encounters any problems with either the WebApp or the Chrome Extension, send me an email at “javier dot g dot ayala at me dot com”.

Javier

I Can Haz Password?

No Gravatar

Last night, a site that I helped write in Python (prior to 2005) was moved to a new server. It came as a surprise to no one that the site broke as a result of the move. The old server was likely RHEL 2.1. The new server is likely RHEL 5 or 6. Python versions are different, and I don’t even know if they copied over the custom module stuff that we did back then.

In any case, the site itself was old and outdated, and hadn’t been updated in 6+ years. Who cares, right? Well, apparently, there were a large number of users that had been using a Javascript password generator that had been located on the site for whenever they needed to generate random passwords. (It’s actually the same Javascript used on this very site.)

This dilemma got me thinking about other easy ways to get a random password. So I decided to do something about it. My efforts have produced the site which I now announce to you!:

http://icanhazpw.info

The ICanHazPW site is a simple site that returns a randomly generated password when the site is accessed via a browser, or a command-line interface such as “curl” or “wget”. All passwords generated will contain a mixture of Uppercase and Lowercase letters, numbers, and special characters. By default, the site will return a password with a length of 8 characters. You can easily change the length requested by prepending either “12″ or “16″ as the sub-domain name:

12.icanhazpw.info returns 12 characters

16.icanhazpw.info returns 16 characters

If anyone has any comments, or questions about this site, please email admin icanhazpw.info.

Javier

M.I.A.

No Gravatar

I know. I know. Where have I been? It’s been like a year since my last post. Well, the last year has been quite….how shall I put it….busy. In the past year, I have marked my 11th anniversary at Rackspace, and I graduated with an Associate’s Degree from San Antonio College. The biggest change is that Laura is currently 36 weeks pregnant with a baby boy whom we will be naming Rylan Elias Ayala! He is expected anytime between this very moment, and Tuesday July 19th.

I hope to post more developments of Rylan’s birth and first few days here on this blog. Stay posted!

Javier

Posted from .

Twitter Weekly Updates for the week ending 2010-04-16

No Gravatar

Twitter Weekly Updates for the week ending 2010-04-09

No Gravatar

Twitter Weekly Updates for the week ending 2010-04-02

No Gravatar

Twitter Weekly Updates for the week ending 2010-03-26

No Gravatar

Twitter Weekly Updates for the week ending 2010-03-19

No Gravatar

Twitter Weekly Updates for the week ending 2010-03-12

No Gravatar
  • What better way to end the week then with an ear infection… #
  • Happy Birthday to the best wife a guy could ever ask for! My beautiful, Laura! #
  • On my way to San Fran! (@ Denver International Airport (DEN) w/ 15 others) #
  • I just unlocked the "Swarm" badge on @foursquare! #
  • I'm at San Francisco International Airport (SFO) (SFO, Millbrae) w/ 57 others. #
  • I'm at Powell Cable Car Turnaround (1 Powell St, at Hallidie Plaza, San Francisco). http://4sq.com/8hJgql #
  • Treating my wife to her first In-N-Out Burger! (@ In-N-Out Burger) http://4sq.com/4YMNjz #
  • I'm at Alioto's (8 Fishermans Wharf, Jefferson & Taylor, San Francisco). #