Skip to content

Tagged "Code"

  • Lehigh Valley Ruby Meetup Notes 2011/03/02

    #Code #ruby #meetup

    Notes from the March second LV Ruby Meetup group. We built an 'IdeaShouter' app with haml, sass, and compass. By the end of these notes you should have built one too. Companion code can be had on github.

  • Basic Cryptography With PHP - shift and unshift

    #PHP #cryptography #Code

    I just started reading Dan Brown's, "Digital Fortress" which is an excellent read so far. Early on in the novel, we are introduced to some very basic cryptography. Nothing like the FBI Cryptography Challenge, mind you. This is much simpler. So, what is the cypher? It's simple. Just shift each letter of the "clear text" message by minus one. So, 'a' becomes 'z', 'b' becomes 'a', 'c' becomes 'b', and so on. First, we'll need a script to encrypt the message. We'll also need a script to decrypt the message just for good measure. So I give you, shift.php and unshift.php.

  • Gracefully Degrading AJAX with PHP and jQuery

    #PHP #tutorial #Code #jQuery #AJAX #JavaScript

    The intention here is to augment the form rather than force it into behavior we want.