The past few weeks the Android community been ranting and raving over Glide, the new image loader kid on the block (well newish). It actually been around for almost a year. It was introduced in Google I/O 2014. I tried it last July, but the performance wasn’t significantly different to Picasso and the community was small, so I decided to continue using Picasso in all my projects. Yeah I know, I chose a product based on popularity :P Is that a bad thing?
So why did I decided to do the old switcheroo? I came acrossed a blog post on The Cheese Factory with some performance benchmark, and it clearly illustrated how ridiculously fastER and bettER at memory usage Glide was to Picasso.
A few months ago, I received an anonymous message on my tumblr blog about Grenada 40 project. The message didn’t have much details or contact information to get in touch with the sender. I thought it was one of those Facebook “most liked” competition where you get people to vote for you or your projects. At the time, I was swamped with work, projects, and classes. I really didn’t have free time to participate, so I didn’t made any attempt to follow up with them.
Previously I wrote Tutorial: How to use Git to deploy and update a website Pt. 1, I was able to simultaneous push my changes seamlessly from my local machine to my git server, and web server.
It worked great, and reduced my deployment time significantly. Now I am taking it a step further. I want to push two different branches to different locations on my remote server. There are two branches on my local machine Master, and Beta.
La Nerde: In Pursuit of Excellencelanerde:
Excellence is a better teacher than mediocrity. The lessons of the ordinary are everywhere. Truly profound and original insights are to be found only in studying the exemplary. Warren G. Bennis
We have become a people of mediocrity.
We have chosen to accept things as they are, to limit our aspirations, to douse the dreams of others.
If you’re not exercising this emotional muscle, you’re probably setting yourself up for failure. I’m utterly convinced that the key to lifelong success is the regular exercise of a single emotional muscle: gratitude. People who approach life with a sense of gratitude are constantly aware of what’s wonderful in their life. Because they enjoy the fruits of their successes, they seek out more success. And when things don’t go as planned, people who are grateful can put failure into perspective.
This function returns the difference between two dates in a human friendly string format. For instance, the values returned are seconds ago, 50 minutes ago, 7 hours ago, a day ago, weeks ago, years ago, and so on. It’s similar to the approach used by many social media websites.
Syntax $time = strtotime(YYYY-MM-DD HH:MM:SS)