Find Large Files in *NIX

I recently ran into an issue where backups for a project were taking much more space than I thought they should. I figured there was a large error log somewhere – and sure enough I was able to easily find it with the following command:


du -sh *

That command du (disk usage) along with the options -sh (s = summarize, h = human readable) will then output something like this:

7.9M	admin
700K	api
1.4G	delivery
4.0K	error_log
44K	images
4.0K	index.php
4.0K	robots.txt

From there I can then see that the big disk space hog is in the “delivery” directory. Running the command then within that directory then showed there was a huge 1.4G error log which needed addressed.

This command is very useful and will save a lot of time if you run into a similar situation as I did.

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)