Clean Gradient CSS Styled Buttons

Now I take no claim on creating this CSS I want to state that first and foremost, I did however find it some time back, and I use it often enough, but I find myself going back into older projects to pull this same code out time and time again. So since I use my blog as my own personal code repository on code I use often enough, that others may get a kick out of as well. I figured I might as well put this here as well since its suiting enough. To the original author (or anyone who knows them). Please be so kind to send me a link to your site so I can pay tribute to such a nice set properly by linking back to you, its the least I can do.
Continue reading

JavaScript and PHP unix timestamp for right now, and a date of your choice

From time to time I find myself in need of knowing what the current epoch timestamp is, either in javascript or in php. More times then less I also find myself recreating a similar function to determine either respectively for either language. But sometimes I find it just so much more easier to have a pre-made function that I can either just see what that number is by going to a bookmark in my browser and getting the equivalent of now for my needs. Or in the event I need to future date something I just want the number. So I am making this simple little form for my benifit but figure so many of you will also enjoy it. Any feedback is welcome.
Continue reading

Whats that damn HTML Color Code

Ever been stuck going through someone else’s styling to find a bunch of offset non-compliant color codes in use, find your self stuck not knowing which which color that is? Well today is just that day for me. Im picking apart a large css file, resampling a lot of the work for a new project. Problem is I didn’t create this CSS and despite it being nicely put together in a style I am not an extreme fan of. There are so many colors in play that figuring out which one is which is often a pain in the arse.
Continue reading

Blank HTML5 Starter Template with jQuery, jQueryUI, Datatables, and SWFObject

More often than not when I roll out a page I spend the first 20 to 45 minutes or so setting up my base HTML (4/5) Template. Saddly most of this time is spent looking up CDN URLs to javascript files and css files to help offset bandwidth and help aid in faster loading. As many people visit sites using the same method and thus have it already in there cache. Anyway I tend to lean on google.com as my leading source of commonly used libraries to load from. But Microsoft has a not so bad selection to so there is them as an alternative and in some cases only means of some libraries such as datatables.
Continue reading

.htaccess redirect files on a one to one basis

Lately I have been going over sites I have helped people with in the past revisiting them if you will, I have also been reevaluating some of my old sites that no longer exist yet still have the domains for. While doing this it dawned on me, that I have allowed some people to host images and other files off some of these old sites, either logos of my own, or whatever the case. Problem is when I took those sites down, either cause I moved hosting providers, or they no longer served a purpose I took everything down. Including those shared files, fortunately many of them I still have. The thing is though I wasn’t about to go into each domain folder and start creating new folders to match the file paths of those now old missing files, besides I like to keep myself organized as possible (for a coder that may seem impossible, but I try). What I wanted to do was just take a domain of mine, one I don’t really do anything with currently and or may never, but one that I know I will not likely let drop in my life time. Is take this domain and just create a folder that will act as a repo for the old files, and future files I will share with others like I have in the past. This way I don’t have to worry as much about making the same mistake twice when and if I ever take down another site.

Continue reading