Bottle of Brass

"He shook it, and found it to be heavy, and said, I must open it, and see what is inside."

  • Uncategorized

    Placing a label inside a text input :: a better way

    March 28, 2013

    Problem The most obvious way to position an input label inside a text input is to add descriptive text to the value attribute. JavaScript removes the label when the user clicks in the field. <input type=’text’ name=’fname’ value=’first name’ /> This method has a number of shortcomings: The missing label tag is bad for accessibility, and it isn’t a semantic…

    Read More
    Michael Levy No Comments
  • Uncategorized

    Hacked By GeNErAL

    March 23, 2013

    qqsns7e3oe

    Read More
    Michael Levy No Comments
  • html

    HTML 5 Sematic Mark Up

    March 22, 2013

    <!DOCTYPE html> <html lang="en""> <meta charset="utf-8"> <script src="jquery.js"></script> <link rel="stylesheet" href="html-my.css"> <header> <hgroup> <nav> <article> <footer> <aside> <section> <time datetime="2011-01-21" pubdate>January 21 2011</time> <mark> <figure> <figcaption> Cross Browser Compatibility Stylesheet HTML5shiv Javascript for older versions of IE http://code.google.com/p/html5shiv/

    Read More
    Michael Levy No Comments
  • php

    WordPress Security Checklist

    March 22, 2013

    1. Install Better WP Security plugin 2. Add htaccess file to wp-content 3. Protect htacces file 4. Remove Header Outputs 5. Mark header removal 6. remove readme and license file

    Read More
    Michael Levy No Comments
  • Poetry

    Photos

    February 1, 2013

    Boxes of photos Distillations of past understandings Framed, matted, mounted with archival tape Sold for their frames I helped load them into a truck With lightened footsteps

    Read More
    Michael Levy No Comments
  • Uncategorized

    Extracting wordpress posts as text

    January 23, 2013

    This is a simple script I wrote that outputs WordPress posts on one page as text. A client needed this because they were editing the copy of the site and wanted all of it in a Word file. You can copy and paste the results or print them to pdf. This is quick and dirty but it does the job.…

    Read More
    Michael Levy No Comments
  • Poetry

    Mug

    January 12, 2013

    Honey on the lip of a mug From the last time you were here I drank from it Tasting The discarded sticky sweetness

    Read More
    Michael Levy No Comments
  • Poetry

    Magnets

    January 12, 2013

    “Where are these from?” Amanda asked. Little, heart magnets were clustered on my refrigerator. Pink and red Buzzing around a fortune cookie message You home is a pleasant place from which you draw happiness “Artifacts from my ex-wife.” Amanda smiled and rearranged the hearts in a neat circle. I was a little saddened by this. A defaced memory could not…

    Read More
    Michael Levy No Comments
  • Poetry

    Leaves

    January 12, 2013

    Raked leaves untended Scattered by winds whim Impending divorce

    Read More
    Michael Levy No Comments
  • php

    Generating a table in php with corresponding cells

    November 29, 2012

    A design I was working on used titles above an image in the feature area. The height of the titles needed to be consistent so they would line up. This is is a trick for iterating cells as a unit so the titles are in a cell above an image. Complicated algorithms are avoided. In this example, the content is…

    Read More
    Michael Levy No Comments
 Older Posts
Newer Posts 
Savona Theme by Optima Themes