June 2010
1 post
Torn
I am so torn between writing on tumblr and installing Wordpress back onto my personal blog. I would like to keep my tumblr blog more about programming and my personal blog more about what is going on.
I guess the first thing to do is to start writing again. That would be better then trying to figure out where to put everything. Now I am off to work.
March 2010
3 posts
5 tags
Javascript, line breaks, single quotes
If you are going to assign a string with line breaks into a variable with single quotes, because maybe it contains double quotes then at the end of each line before a line break escape it like the following code with an \
<script>
var new_html = ‘\
<div id=”hello”>\
<p>This is the new data</p>\
</div>\
’;
</script>
This...
4 tags
Page Accessed By jQuery or Http?
Here is a little code snippet I have been working with to integrate into the cms I am building with Codeigniter. It is used to determine if the controller is accessed by jQuery ( an ajax request ) or by a normal http request.
/* Access()
* returns http if requested by http request
* returns ajax if requested by ajax request
*/
function access()
{
if( isset(...
The man who stops advertising to save money is like the man who stops his clocks...
– (via dr1v3n)
January 2010
4 posts
4 tags
4 tags
Testing Driving Sleep Cycle iPhone App
Sleep Cycle: an iPhone app that tracks your sleep cycles and wakes you at your lightest phase. http://www.lexwarelabs.com/sleepcycle/ (via @plasticmind)
I will be testing this very interesting little app out for the next week or so and will post my findings here. I will be very happy if this helps me sleep better, wake up better and even be able to wake up without an alarm like I would in high...
Codeigniter has a Cart Class!?!
I am hoping here in the next couple weeks to a month I will get the chance to use the new cart class Codeigniter has in an application. I will document my experience here when I begin.
6 tags
Magento E-commerce oh how I $*%^@(* hate you
I really hate the over complicatedness of Magento … but I have not found a better e-comerce solution yet. So we have a classic Love/Hate relationship. Oh how I love the word classic. Have you seen The Hangover? “That’s Classic” was heard through out the entire movie by Allan. Anyway, the whole point of this little post was to rant about how much I hate and love Magento and...
November 2009
1 post
Linking phone numbers on an iPhone website
I have began to create a website for a client as an iPhone site. Here is a simple way to link to a phone number as if you were creating a book now link.
<a href="tel:+1-800-555-5555">
<img src="/images/book_now.jpg" alt="Call 1-800-555-5555" />
</a>
October 2009
5 posts
Year One
Finnaly getting a chance to watch Year One. I will let you know what I think of it.
The Spill Canvas - All Over You →
Listening to The Spill Canvas - All Over You
“All Over You” Yeah he’s a looker, but I really think it’s guts that matter most. I displayed them for you, strewn out about from coast to coast. I am easily make believe, just dress me up in what you want me to be. I’ll take back what I’ve been saying for quite some time now. I gotta feel you in my bones again,...
tumblr
Testing out the tumblr blog system!
September 2009
1 post
Tumblr? Is this just another waste of “social time”