Archive for the ‘Blog’ Category

Default Media Queries for Bootstrap 3

Friday, February 27th, 2015

I keep having to look this up online so I figure I should just post it here for reference. It’s almost been a year since my last post anyway so why not.

/*==================================================
= Bootstrap 3 Media Queries =
==================================================*/

/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

/*========== Non-Mobile First Method ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}

/*=====================================================
=            Bootstrap 2.3.2 Media Queries            =
=====================================================*/
@media only screen and (max-width : 1200px) {

}

@media only screen and (max-width : 979px) {

}

@media only screen and (max-width : 767px) {

}

@media only screen and (max-width : 480px) {

}

@media only screen and (max-width : 320px) {

}

Bitcoin explained (infographic)

Saturday, March 29th, 2014

What is Bitcoin?? If you are struggling to explain it . . . then this infographic might help.

Bitcoin Explained

What is Bitcoin?

Responsive Email Design (How to Infographic)

Wednesday, December 4th, 2013

How to Design Responsive Emails

How to Design Responsive Emails


Thanks to Litmus for this infographic.

Starbucks Brewed Tea or Coffee?

Thursday, October 31st, 2013

I’ve been frequenting Starbucks a lot lately and my default drink is the Pike Place Roast or if I feel like treating myself, I go for a non-fat latte. However, I have been telling myself for the longest time now that I should probably stop drinking too much coffee. Caffeine does help me focus sometimes but I don’t want to be dependent on the stuff, I’ve also read somewhere that it doesn’t help when your work demands creativity. Furthermore, I attended a nutrition workshop and watched a documentary where it says that coffee is actually bad for you (a blog post for another time) – that was what finally convinced me to stop, well at least for a couple of weeks to see if it makes any difference in my productivity or general well-being. So for lunch today, instead of ordering my usual cup of java, I ordered Green tea at Starbucks . . . which is kind of weird for me as I haven’t done it before. I feel as though I’m ordering something off the menu and imagine being kicked out of there because I have offended the barista.

In any case, I got my drink and sipped, it really wasn’t all that bad – I could probably get used to this, which in turn got me thinking . . . I paid around $1.95 (plus tax) for a grande, it’s the same price as a tall. The venti costs more though, which is interesting – do they put 2 tea bags in a venti cup or is this just Starbucks charging you for hot water? And then, I thought some more and got curious as to which drink makes more profit for Starbucks? Or more importantly, which one is getting ripped off more (let’s be honest, Starbucks is ripping everybody off), the coffee drinker? or the tea drinker? So I did what any normal tech-savvy person would do, I googled it. I didn’t get any answers so I decided to find out on my own.

First off, I went to the Starbucks store and looked up both products.

Starbucks Pike Place Roast Starbucks Tazo Full-leaf Tea



Starbucks Pike Place Roast 1lb. bag are selling at $11.95. Starbucks recommends that you put 10g of ground coffee for every 6oz. cup of water. There is 453g to the pound so if my math is correct – 11.95/(453/10) = $0.26/6 oz. cup. A “tall” Starbucks cup is 12 oz. so a tall medium roast costs roughly around $0.52 if you were to make it yourself. Let’s assume this is Starbucks cost to make it as well. In the store I frequent, the price of this drink is around $1.79. So Starbucks makes around $1.27(1.79-0.52) on this drink.

Starbucks Tazo Full-leaf tea bags are $6.95/15 tea bags. So flexing my math muscles again we get 6.95/15 = $0.46/tea bag. Like I mentioned earlier, a “tall” and a “grande” are the same price at my Starbucks store, and it costs $1.95. It seems that Starbucks makes $1.49(1.95-0.46) on the tea.

While it does look like the tea is costing me more, approximately $0.22 more – it lasts longer, as I usually pour a second cup of hot water on the same tea bag and it still tastes fine. Am not sure how the refill works for tea though, do they give me a new tea bag or just refill the hot water?? I’ve had free refills on my coffee before but it is very rare as you have to drink it all in-store to qualify for the free refill. For the tea, I could just grab it and go – and it’ll last me almost the entire day. It’s also good for me, so I guess I will stick with it, at least for the moment!

People Spend Less on Fathers . . .

Thursday, May 23rd, 2013

Fathers get the short end of the stick . . . according to the infographic below, on average, a person would spend $35 less on Father’s day as compared to Mother’s day. I have my own theories on why this is – firstly, since Mother’s day comes first – people would spend their budgeted amount. By the time Father’s day rolls around, you have just picked up the credit card bill and it’s on your mind while you’re out shopping for dad. Another theory I have is that moms like expensive stuff with their designer purses, shoes and clothing. Dads, on the other hand are simple beings and easily pleased. Also, since we might end up with the tab anyway, let’s just skip the presents altogether.

So, without further ado – here’s that infographic courtesy of dealnews.com:
Father's Day Infographic

Book Review: Relentless by Tim Grover

Monday, May 13th, 2013

9781476710938This is Tim Grover’s list of what he thinks will get you from being good to “great”. Tim Grover has helped several elite athletes who are already very good (mostly basketball players) become the best. To name a few, his clients include Michael Jordan, Charles Barkley, Kobe Bryant and Dwyane Wade. So obviously he knows a thing or two about what makes these athletes the best at what they do. And a lot of them have attributed their success to him, so he does have clout in this area.

When I started reading the book and got to his list, it became very clear to me how most of them are pretty obvious – such is the case with most self-help books. But it has a certain edge to it, because it is very direct and honest – and even though they are obvious, for reasons I can’t comprehend myself – most of us choose to ignore these basic principles and try to make compromises along the way. And for the first few pages, I became engrossed and truly immersed in the book but then I read further and the more I read, the more I feel like it has quite a few points that I can’t possibly agree with.

Am not sure if it was Tim’s intention to portray it that way or if it’s just my perception but he basically classifies somebody who is relentless to a guy who focuses only on this one thing – and one thing only — and that is to excel in whatever his profession is. You are so obsessed with winning that it basically just takes over your life — you form a shell around you and you use everybody else (your teammates, or co-workers) as pawns to achieve your goal. I know these people exist and for the most part, they are better at their craft than everybody else – there are quite a few who are exceptional. But all of these people are jerks, they treat everybody else as inferior to them and they generally don’t make good husbands/fathers. I’m sure Tim doesn’t intend to turn otherwise “nice” people into jerks but I feel that a few of them after reading this book will become just that.

For the most part though, I get what he is saying – You work and push yourself harder than everybody else – you hold yourself to the highest standards imaginable and you don’t let external forces get you down. Easier said than done, that is why I feel that most people will just ignore this main principle and instead, follow the other rules – such as the ffg.:

  • You have a dark side that refuses to be taught to be good.
  • You’d rather be feared than liked.
  • You trust very few people and those you trust better not let you down.
  • You don’t recognize failure, you know there’s more than one way to get what you want.
  • You don’t celebrate your achievements because you always want more.

This book is so full of cliches, it is amazing that nobody found it corny – except me. I for one, also do not agree with most of what he said regarding the list above. Yes, there would be times when you need to assert yourself and be dominant. But it really depends on the situation – you can’t expect others to respect you if do not respect them. To gain respect, you need to prove that you are worthy of it . . . Michael Jordan didn’t come out of college and start yelling out at his teammates – it took time. That is why I feel like Kobe was arrogant when he pushed both Shaq and Phil Jackson out the door — according to Tim, that is the “Cleaner” attitude. But as you recall, Kobe needed Phil Jackson to win the titles he’s won after Shaq, he really couldn’t do it himself and he had to learn that the hard way. You can’t apply the “Cleaner” attitude in all situations . . . especially to your wife, if you value your marriage.

Overall, I think it is a good book but you would have to know when to draw the line . . . Tim doesn’t offer any insight on where that line may be. In fact, if I understood him correctly, there shouldn’t even be a line . . . there are no compromises on the path to greatness . . . or to being a complete ass.

Blogging at 30000 ft above ground

Sunday, March 17th, 2013

As I write this I’m somewhere in the skies near Florida. It’s amazing how you can get internet up here . . . Just wanted to write something coz I got nothing better to do.

Infographic Wednesday

Wednesday, March 6th, 2013

I love coffee so much and the occasional tea once in a while that I just have to share this infographic . . .