Determining if classes are compiled for a specific Java version
Thu, Dec 17 2009 12:20 AM
| Software Development, Java
| Permalink
There are situations where a developer may need to make 'darn sure' that all the classes they have compiled into jars, wars, ears, etc are all of a specific version or lower in order to make sure that a deployment doesn't blow up when it gets to the target system (QA, PRODUCTION, etc), especially when the developer uses a higher version of Java than the target systems use.
Comments
Setup a twitter feed that contains your friend's facebook and flickr status'
Tue, Dec 8 2009 09:09 AM
| General Technology
| Permalink
I like to have all my status updates (twitter, facebook and flickr) 'in one place', and have not found a software package that does this and keeps them in sync across multiple machines and my mobile device (iPhone). However, I have recently converted to a 'twitter-only' approach using Echofon (they have a client for everything, even a Firefox plugin). In doing so, I want to also capture any facebook
Plesk -- how to uncompress the backup files to extract specific contents
If you use Plesk for your web hosting, chances are you probably backup your data using the plesk utilities. There is also a pretty good chance that at some point you'll want to be able to extract some of that backup without doing a plesk restore.I give you:mkdir tmpcat plesk_backup_file plesk_backup_file.001 plesk_backup_file.002 | zcat | ripmime-1.4.0.9/ripmime -i- -dtmp/Yes ... make sure you have
Enable Emoji on your iPhone for FREE if you know a developer
Wed, Jan 28 2009 12:40 AM
| development, iphone
| Permalink
If you want to enable Emoji on your iPhone and you know a developer ... ask him to whip up a quick application with this code in it:NSString *filePath = @"/private/var/mobile/Library/Preferences/com.apple.Preferences.plist";NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:filePath];[plistDict setValue:@"1" forKey:@"KeyboardEmojiEverywhere"];[plistDict writeToFile:filePath
Access your maven2 artifact version from your code
It's nice for the version of your Java application to be available to yourself, or a user of the application for that matter. It's easy to include the maven2 artifact version in your code by creating a properties file in your resources directory (remember to turn filtering == true in your pom.xml), that looks something like this:MyClass.properties:applicationVersion=${pom.version}Now write a snippet
Using findbugs contrib with maven2
Tue, Dec 2 2008 05:22 PM
| findbugs, Software Development, Maven2
| Permalink
If you would like to use the fb-contrib library with the findbugs-maven-plugin, but don't want to depend on the path for every machine it builds on, add the fb-contrib library to your maven repository and then use the following pom snippet to achieve a maven2 like dependency for the library.pom.xml:...<dependencies><dependency> <groupId>com.mebigfatguy</groupId> <artifactId>fb-contrib</artifactId>
Comments (3)
Connor And Riley as ROCK STARS
Connor and Riley decided to be rock stars today and sing a few songs on karaoke. Youtube links below!
Connor's school picture --- nice tongue
Hehe ... Connor decided to really draw attention to his snaggle tooth in his school picture!
environment plist doesn't work in Leopard from Spotlight ...
Sat, Oct 11 2008 02:59 PM
| Software Development
| Permalink
So environment.plist doesn't work for applications launched from Spotlight in Leopard... this is frustrating, especially when you like to launch say Xcode or IntelliJ from within Spotlight. ARRRRRGH. I've finally given up and gone straight to my launchd.conf.So here is my newly created /etc/launchd.conf that solves my issues:setenv PYTHONPATH /opt/local/lib/python2.5/site-packagessetenv M2_HOME
Comments (1)
Testing Out Lifecast
Mon, Sep 29 2008 09:01 PM
| Permalink
This is a simple update. I'm testing out the iPhone application Lifecast. It can publish to blogger accounts or tumblr accounts. My blog can now be added too from anywhere, AND it updates my Twitter as well (through twitterfeed). Sweet.Posted with LifeCast