Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • Subscribe to this RSS Feed
  • Converting a .VCF file to .CSV
    07/22/2009 8:28PM

    This online utility will let you convert a set of vcards file into either a .csv, or an LDIF file that youcan use to import into Thunderbird or other mail programs.

    http://labs.brotherli.ch/vcfconvert/

  • Writing HTML E-mail
    07/17/2009 12:03PM

    Here are a few links to some guides to writing HTMLemail newsletters.

    http://www.sitepoint.com/article/code-html-email-newsletters/

    http://www.anandgraves.com/html-email-guide

  • CSS Styling for the HTML Superscript Tag
    07/13/2009 1:41PM

    Anyone who has used it knows that the default styling for the HTML <sup> tag leaves a lot to be desired.  The biggest is that it modifies the line-height of the line on which it it rendered.

    Here is some CSS that fixes that behavior:

    sup
        {
        height: 0;
        line-height: 1px;
        position: relative;
        top: -0.6em;
        vertical-align: baseline !important;
        vertical-align: bottom;
        }


  • How to search for a string in a group of text files from the Linux command line
    07/03/2009 8:29PM

    If you have ever wanted to recursively search through all of the files in a directory for a specific string, here is the bash command to do it:

    find . | xargs grep 'string' -sl

  • How to ignore a file for inclusion in an SVN repository
    07/03/2009 8:24PM

    Here is a link to a great article that explains how to set your SVN repository to ignore a file, or collection of files.

    Below is the mirrored content should the page no longer be available.

    # ---------------------------------------------------------------------
    #      Ignore all the .txt files in the /trunk/Blah/ directory
    # ---------------------------------------------------------------------
    
    # Go to the directory
    cd trunk/Blah/              # The directory with the files
    
    # Start editing the properties for the current directory
    svn propedit svn:ignore .   # Opens an editor (SVN_EDITOR, EDITOR)
    
    # Add the following value with a new line, save, and exit:
    *.txt
    
    # See that things worked
    svn propget svn:ignore .    # So you can see the properties
    svn status --no-ignore      # You should see an 'I' next to the ignored files
    
    # Commit
    svn commit -m "New Ignores" # You must commit the new property change
    
    
    # ---------------------------------------------------------------------
    #     Ignore a single file secret.txt in the /trunk/ directory
    # ---------------------------------------------------------------------
    
    # Go to the directory
    cd trunk/
    
    # Add just the single file to the current directories ignore list (like above)
    # Note the dot at the end of the command is important
    svn propset svn:ignore secret.txt .
    
    # See that things worked
    svn propget svn:ignore .    # Notice the single file was added to the list
    svn status --no-ignore      # You should see an 'I' next to the ignored files
    
    # Commit
    svn commit -m "Its secret"  # You must commit the new property change
    
Advanced Search

Categories

Archives