Web-Safe fonts and FREE Web fonts
Web-safe fonts are present on most computer systems and are used on websites so that the content is displayed as closely as possible to the intentions of the designer. If a font is not present on a...
View ArticleOptimize the use of a GUID or UUID as a primary key or index in MySQL
I recently had an internal PHP/MySQL project where I wanted to use a GUID as the primary key, but at the same time keep it as fast as possible too look up data based on that GUID. From my research on...
View ArticlePreviewing LaTeX PDFs in Vim with vim-latex-pdf
I’ve been in geek-love with two things recently: Vim and Markdown. I do all my note-taking and list-making with Markdown. And I’m totally head-over-heels for the vim-instant-markdown plugin....
View ArticleDaily Deals at Wineflash.com
Do you like wine like we do? Are you a fan of those daily deal websites? If you are, make sure to visit http://www.wineflash.com/. This website was designed, developed and launched by Local Wisdom Inc....
View ArticleMedia Query Support for IE8
As a developer, one of my biggest headaches is Internet Explorer. Coding for earlier versions of IE typically involves adding extra CSS that targets IE8 and below. Internet Explorer 9 and 10 are huge...
View ArticleHow to swipe left or right in Chrome with a mouse for a site with jquery mobile
We’ve been working on a lot of HTML projects that end up as IPad apps recently. These HTML projects become part of a framework like PhoneGap to actually become IPad apps. When trying to test the...
View ArticleA Global Google Analytics Event Tracking Script
Anyone who’s ever needed to implement Google Analytics tracking on their website can understand how truly tedious it is having to add the onClick="_gaq.push(["_trackEvent", "[Event Category]","[Event...
View ArticleSmooth Scrolling jQuery Snippet
I just wanted to share a simple jQuery script that I found on CSS Tricks that animates the scrolling to an element that is on the same page. Simple add this to your javascript file – be sure you have a...
View ArticleCreating a custom view implementation in Android
When developing for the Android platform it soon becomes apparent that it is often easier and more efficient to create your own views rather than trying to make the standard Android components do what...
View ArticleUse htaccess to redirect to root or a maintenance page or splash page
We have a client that is decommissioning a site by replacing the whole site with a splash page that will direct the users to another site, where they can get the information they’re looking for....
View ArticleCan I Use It?
Recently, one of my co-workers ran into a really cool site called Can I use… that tells you which browser supports different types of code – all in one place. I can’t believe that I did not know about...
View ArticleExpire a Cookie in 30 minutes using jQuery
My go-to jQuery plugin for setting cookies is jquery.cookie. It’s quick, easy and lightweight. You can set a cookie with a simple script in your javascript file: $.cookie('the_cookie', 'the_value'); I...
View ArticleHow to get a trend line for a javascript graph – Linear Regression
So recently I’ve been working with the D3.js framework to create pie charts, bar graphs, and line graphs. The best description of D3 comes directly from their website : “D3.js is a JavaScript library...
View ArticlePXtoEM.com – Convert between pixels, points and EMs in CSS
I recently had the need to adjust some CSS to be able to handle large resolutions for a client IPad project we’re working on. In the process, I had to adjust the font sizes to increase as the...
View ArticleRemove Decimal from Ordered List
This quick tip came in handy for a project that I am currently working on. I needed an ordered list with no decimals after the numbers so that, instead of: 1. [Content] 2. [Content] 3. [Content] It...
View Article