Simple CSS shiny progress bar technique

I’ve recently come up with a simple way to make a decent looking, css colorable progress bar/meter out of a couple divs and an image. This is what mine looks like:

Text Here!

Read More »

Hobbes the firecat is gone :(

My found main coon, Hobbes, is gone. He was a cool cat. He was crazy and had one of the best personalities of any cat I have even known. His greatest strength was probably the cause of his downfall. Everything was his buddy. He didn’t know coyotes should be avoided. They were just another animal to hang out with.

Read More »

HTML2Markup: Convert HTML to Textile in C#

Are you making an application where you want to allow users to chose between either the most awesome textile markup language or an RTE for content editing? Are you building said applicaiton in C#? A little while ago, I needed to do this as well. I approached it the same way as a few folks before me. I decided to always save the content in the DB as textile then convert back and forth as necessary. For an RTE to work in this environment, you will need a fancy-pants html-to-textile parser to convert the HTML before database insertion.

Read More »

CSS Round Corners

Note: this post has been moved from the yosle.com blog, which I am in the process of taking down.

Round corners. Something that should be easy, right? Not so much. It seems they were left out of the CSS (less than 3) specification. No matter, there are a couple of ways to hack them out and make them look good. Basically there are two techniques: layering a few empty tags, and using images. There are some ways to do it with javascript as well, but I wont cover them because javascript is unnecessary. The layering technique is the most concise and clean, IMO, so that’s what this post will focus on.
Read More »

Simple web sites with django == win

Last night I put the main benogle.com site up. I have been looking for an easy way to create a simple website for a while. All I wanted was a couple things: quick setup with low cruft, pages editable from the browser, and quick, easy extension with god like power. Making a website is such a common occurrence, you’d think there would be a whole heap of options available that are stupid easy to use. I bet you are thinking, “gee, there are tons of CMS apps out there!” You’re right. I have used Typo3, textpattern, WordPress, and I have evaluated even more of them. Each one has been too heavy. They want to do too much in all the wrong places. On top of that, extension requires digging through their obscure plugin API and scouring their forums for something that should be simple. Oh, the pain.

I am happy to say that I have finally found a solution: Django. While I am sure it excels in building large-scale apps, it has been a completely perfect tool for creating a simple website such as benogle.com. I am surprised that, despite having never used Django before, it took a little over 6 hours (spread over several days) to construct, plus a couple hours for writing content. Wow! It took longer to build the theme for this WordPress blog! I recently built a site with about the same complexity for a family member with textpattern. I have four to five times more time and effort in it.

Read More »