Retro NES Games Online

Don’t get me wrong – I love playing new games like Call of Duty where everything is dynamic, you play with friends, and nothing is quite the same each game. There is something to say about the old NES games though where you’ve made the same jump at the same time each game. Perfecting a game meant learning and practicing timing vs. anticipating change like the games now. Regardless – I ran across this site: http://www.8bbit.com where you can play some of your old favorites. For me – it is all about Contra!

My Quote for the Day…

“Don’t worry about those who talk behind your back, they’re behind you for a reason.”

I like it!

Best End of Day Ritual

I found that I am most productive within the first 2 hours of each work day so at the end of each day I like to make sure I am set up for a successful tomorrow.

One of most helpful things I have found over the past few years is to make a list for everything I need to accomplish for the next day. How to keep it real? I only use Post-It notes to make sure my list is reasonable and something I can accomplish.

It is surprisingly satisfactory to cross things off the list. When things are really crazy – lists help keep priorities in line as well.

Feeling stressed or overwhelmed in the AM? Try grabbing a Post-It note and making a reasonable list!

Don’t Be Afraid to Say No

If you spend all your time trying to make everyone happy – you are really making no one happy (including yourself). Once you realize you will never make everyone happy – you open yourself to making decisions based on fairness and reason. Don’t be afraid to say no!

What Can Siri Do For Me?

If you are like me – you have an Apple iPhone and the thought of using Siri sounds awesome but after a few smart comments trying to get her to say something funny back (because you are not sure what all you can really say/get out of Siri) – you forget about her and move on.

Apple recently updated the Siri page so now you can easily find out what you can ask her to make her as useful as you wanted her to be all this time. Enjoy!

http://www.apple.com/ios/siri/

My new favorite things to do with Siri

  • “Flip a coin”
  • “Yes or no?”
  • “Take a picture”
  • “Why did the chicken cross the road?”
  • “How humid is it in Chicago right now?”
  • “Pick a card”
  • “Call me champ” (or whatever you want to be called)

Custom Date Sort with jQuery Tablesorter and Bootstrap Table Plugin

In the past week I have dealt with two different needs to sort a table date column (using a custom date format) using a JS plugin jQuery Tablesorter 2.0 and Bootstrap Table. If you use custom date formats – the default sort will not always work. In my case – it was sorting the dates by month name alphabetically and not by date order. Here is how you can use both plugins to sort by date order:

Example date format: Jan 28-Jan 31 (date for this example was a span of dates – in which I wanted to sort by the starting date)

Custom date sort solution in two steps for jQuery Tablesorter and Bootstrap Table:

jQuery Tablesorter

  1. Add data to the table header:
    <th data-sorter="shortDate" data-date-format="yyyymmdd">Date</th>
  2. Add a hidden span before your actual date in the data that then matches the format specificed above:
    <span style="display:none"><?php echo date( "Ymd", strtotime($date) ));?></span> Jan 28-Jan 31

Very similar to the jQuery Tablesorter solution:

Bootstrap Table

  1. Add data to the table header:
    <th data-field="created" data-sortable="true">Created</th>
  2. Add a hidden span before your actual date in the data that then matches the format specificed above:
    <span style="display:none"><?php echo date( "Ymd", strtotime($date) ));?></span> Jan 28-Jan 31

Now you can easily sort any date format using these two plugins so you can format the date however you want and still be able to sort by date on that column.