Uncategorized
Ruby on Rails strftime() options
Format
Meaning
%a
The abbreviated weekday name (“Sun”)
%A
The full weekday name (“Sunday”)
%b
The abbreviated month name (“Jan”)
%B
The full month name (“January”)
%c
The preferred local date and time representation
%d
Day of the month (01..31)
%H
Hour of the day, 24-hour clock (00..23)
%I
Hour of the day, 12-hour clock (01..12)
%j
Day of the year (001..366)
%m
Month of the year (01..12)
%M
Minute of the hour (00..59)
%p
Meridian indicator (“AM” or “PM”)
%S
Second [...]
How to send SMS Text Messages with Twilio from Rails
It was kind of confusing to find a straight forward example on how to send a text message through Twilio using Rails. Here is a step by step guide I wish I had.
Sign up for a free account with Twilio. You will get a good amount of free credit to play around with.
Install the Twilio [...]
Smart Way Around IE CSS Hacks & Conditional Stylesheets
If you are ever bothered by adding hacks to your css or including your ie css styles in multiple style sheets than do I have a solution for you.
It’s so simple and awesome.
Step 1) Surround your html tag with conditional statements like so:
<!–[if lt IE 7 ]> <html class=”ie6″> <![endif]–>
<!–[if IE 7 ]> <html class=”ie7″> [...]
JQuery Toggle Hide and Show Link
Even if you’re new to JQuery it’s always mind-boggling how easy it is to do pretty cool UX stuff with it.
Here’s you you make a link that shows and hides content on you page:
$(”#toggle_link”).toggle(
function() {
[...]

