Site Navigation

Jan 20, 2015

Good Git Resources

I have finally started to use git for all my development. Hopefully, I will create a nice cheat sheet when I am done. But for now, here are some good resources.

The documentation is pretty good, but tends to include too much information at times.

Jan 13, 2015

Managing GMail with eMail Filters and Searches

Over the Xmas break it became time to finally get my e-mail cleaned up. To do that, I needed to add filters to my accounts using two main resources.

  1. GMail Advanced Search Options - This page documents all the things your can search your e-mail for. You can search by age, name, To, From, etc… This rules can be use with filters, in many cases, to create filters. In addition, they can be used alone to help automate administrative chores.
  2. Filter Documentation - Documentation on using filters in GMail. This is pretty short but covers the basics.

So basically, you can write filters for any message that hits your Inbox. However, this is the only way a filter can be activated. You can’t, for example, clean up old messages in a folder automatically. However, you can create a search to find the old messages and then bookmark the search. This makes it easy to repeat the search and perform the task repeatedly. Although not completely automated, it still makes some of the message management pretty easy.

For example, to get a list of all messages older than 21 days in the webaffiliates folder I could write:

label:webaffiliates older_than:21d

The messages that match the search are returned. You can select the messages and perform any actions you wish.

Jan 4, 2015

Creating Thumbnails on OS X

Apple 3D Blue Logo

I needed to create some thumbnails for a project. Turns out it is really easy with Automator. Check out the explanation here.

http://alvinalexander.com/mac-os-x/batch-thumbnails-images-photos-free-mac-osx

Dec 16, 2014

Java EE 7: When to use EJB vs CDI?

Duke Waving

The question of when to use EJB over CDI came up today. This David Blevins blog post gives a very coherent explanation of when to use EJB. So I added this quick post to +1 that post.

David Blevins a developer who is part of the EJB spec team. He works for http://www.tomitribe.com/.

Dec 8, 2014

Another Bizarre Apple App Store Decision

Apple 3D Blue Logo

Panic software’s Transmit FTP app was forced to lose some functionality in its last update. (See story on 9 to 5 Mac). Apparently someone at the Apple app store thinks it a “bad” idea to transfer files from your iPhone or iPad to iCloud drive??? Pretty amazing.

If you don’t know, iCloud drive is Mac equivalent to Dropbox or Google Drive. As a user I can transfer or copy any file I want to iCloud drive. That is the whole point. To keep my data synced between devices. So why wouldn’t I want a convenient app to do the same thing on my phone? Makes no sense. Sounds like a decision made by someone who has never really used iCloud drive.

My guess is this will get reversed but not after Apple embarrasses itself again. It would seem like they could avoid the bad press if they just consulted a geek.

Dec 7, 2014

Setting Mouse or TouchPad Sensitivity in Ubuntu Linux

Problem

On Ubuntu Linux (14.04) your mouse or touch pad move too fast even though you have set the sensitivity level to its lowest setting.

Solution

Here are the steps. See the link at the bottom of this post for more details.

1) Use the ‘xinput’ command to get a list of pointing devices.

xinput --list

Virtual core pointer                  id=2    [master pointer  (3)]
    Virtual core XTEST pointer        id=4    [slave  pointer  (2)]
    A4Tech USB Full Speed             id=10   [slave  pointer  (2)]
    A4Tech USB Full Speed             id=11   [slave  pointer  (2)]

2) Use the same command to set the pointer speed. For example:

xinput --set-prop 10 "Device Accel Constant Deceleration" 4

3) To set the mouse at startup, create a shell script.

#!/bin/bash
xinput --set-prop 10 "Device Accel Constant Deceleration" 4

Your settings may vary. My trackpad and mouse required different values.

4) Use the gnome-session-properties to add the script to the list of startup scripts.

That should be it. Your pointing devices should work better now.

For more details see this link.

*