Friday, January 10, 2014

List all your Maven dependencies

I recently had to go through and verify all the Maven dependencies in a project.
Here are the commands I ran on my Mac.

# resolve dependencies
mvn dependency:resolve

# list dependencies, then sort and format
mvn -o dependency:list \ | grep ":.*:.*:.*" \ | cut -d] -f2- \ | sed 's/:[a-z]*$//g' \ | sort -u

Wednesday, December 4, 2013

Nexus 5 Wifi Issues

For some reason, my Nexus 5 did not want to connect to my Wifi at home.  I added/removed the Wifi network to no avail.  I even rebooted the phone, no luck.  When I got to work today, I had the same issue with the Wifi network, so I tried harder.

Problem:  Nexus 5 does not connect to Wifi network.
Solution: I toggled airport mode on and off, and the Wifi connected successfully.

Monday, November 18, 2013

How to install drivers without signature check in Win8?

I was trying to get an old driver installed in Win 8, and it took me a while to figure out how to do it. To spare you from pain and learn from my mistakes, this is what you need to do if you run in to a "Third party inf does not contain digital signature information" error when installing some old driver.

Run the command "shutdown /r /o /f /t 00"
Choose "troubleshoot" from the option screen, followed by "advanced options".
In "windows startup settings", choose restart.
After restart, you will get an option (#7) to choose "disable driver signature enforcement".

Friday, August 16, 2013

Lorex PING camera video conversion

I looked around last night for a conversion program for the video produced by my Lorex PING cameras.  The file extension is .CRF, and I could not find a program that would display the video on my Mac.  And that included L-Play and L-View from Lorex.

I just wanted to share that it appears that the files are raw MPEG-2 streams, so if you rename the files to .MPG and open them with VLC, they play just fine.

http://www.videolan.org/vlc/download-macosx.html

Wednesday, July 24, 2013

Another one bites the dust

Is it just me or is the Google spring cleaning cramping your style?  Although the new maps are awesome, I am going to miss Google Latitude.  I just went through the separation anxiety with Google Reader and am starting to feel old as I miss the old days when things stayed the same.

Anyways, it's time to export your Google Latitude location history, and there's no good UI to do it.  However, you can export your whole history into local KML files.  The following Python script will create a list of URLs (month-by-month) that you can use to download your location history to your local disk.

#!/usr/bin/env python
import datetime
for year in range(2005, 2014):
  for month in range(1, 13):
    if month in (1, 3, 5, 7, 8, 10, 12):
        days = 31;
    elif month == 2:
        days = 27;
    else:
        days = 30;
    startTime = datetime.datetime(year, month, 1).strftime("%s")
    endTime   = datetime.datetime(year, month, days).strftime("%s")
    print str(year) + "/" + str(month) + "\thttps://maps.google.com/locationhistory/b/0/kml?startTime=" + startTime + "000&endTime=" + endTime + "000"

Tuesday, July 23, 2013

Google rumor mill is churning

Everyone is trying to guess what's inside the Google announcement that everyone is waiting for.  Leo Laporte was hinting that there's something more coming than just the first piece of hardware from Motorola after Google took over.  I believe we are looking at a phone revolution.  I think Google finally convinced one or a few of the major mobile providers that the future is here and that Google knows what it should look like.  As the customer base of mobile service providers is getting saturated, someone is finally willing to change things up.

My guess is: Google is buying T-mobile despite gigaom saying it's impossible just half a year ago (http://gigaom.com/2012/01/10/will-google-buy-t-mobile-not-a-chance/).  Alternatively, Google is starting a new phone service, partnering with the airwaves of T-mobile and/or AT&T.   Either way,  the big secret that will be announced in a few days is that Google is investing heavily in the connectivity service business.  After all, they are already starting with fiber in select locations and although the rollout is not as fast as I would like, it's proof that they know how to handle selling end-user services.

If Leo is reading this, you can confirm this rumor by anonymously entering the word "chipotle" in the comment field. :-)

Tuesday, July 9, 2013

Apple pissing off BYOD users off with their MAM strategy?

iOS 7 includes a number of new features, but the biggest is the support for mobile-application-management (MAM). Right now in iOS 6, enterprises have the option to deliver enterprise applications safely, by wrapping them for their bring-your-own-device (BYOD) users, WITHOUT having to own the users' device through mobile-device-management (MDM) systems.

With the announced improvements in iOS 7, it looks like that will not be possible anymore. Going forward, any enterprise strategy for Apple devices, will have to include full device control. I certainly will not allow my enterprise IT department to control my Apple devices.

Will the push back from users prevent Apple BYOD?
Will Android have the upper leg with enterprises?
Will RIM make a comeback?

Exciting times indeed!