Posted
on October 1, 2012, 2:06 pm,
by admin,
under
Java.
I have been struggling with this error a lot of times. The solution is rather simple. Open the MANIFEST.MF file of your .jar file and add these lines:
Implementation-Vendor: Sun Microsystems, Inc
Implementation-Title: Java Runtime Environment
Implementation-Version: 1.6.0
The reason behind this error is simple. ImageIO needs to read some of these parameters. And if they aren’t set you get a null pointer exception.
Posted
on July 23, 2012, 12:23 pm,
by admin,
under
development.
Problem with this error message in Eclipse or SpringSource STS?
This compilation unit is not on the build path of a java project
Solution:
Run this command in the root of your project folder.
mvn eclipse:eclipse eclipse:clean
Re-import your project and everything should be working as before. Read more here.
Posted
on May 29, 2012, 1:50 pm,
by ScratchMyTail,
under
Design.
I just discovered an awesome font service provided by Adobe, Typekit. Step 1: Register you’re web page. Step 2: Select the fonts you want to use. Step 3: Include the font-family you wish to use in your CSS files. Choose from hundreds of expensive typefaces for free. Choose a non-free subscription ang get a lot more. Genious!
Looking for a domain lookup service? Trigger you’re requests to this URL: http://domai.nr/api/json/info?q=apple.com. All answers will be in JSON.
Posted
on May 4, 2012, 1:55 pm,
by ScratchMyTail,
under
development.
I’m currently looking into Cocoa development in Lion. I came over this site listing a lot of nice UI elements and methods. Most are also hosted on GitHub.
Posted
on May 4, 2012, 7:57 am,
by ScratchMyTail,
under
Linux,
MongoDB.
If you want to install MongoDB on your Linux machine you should not use the default package handler. Instead download the tarball from this site. I tried installing MongoDB from my repositories at first, then I found out later that I had to manually install it to get it working with MongoTemplate in Spring. When you install the database, remember to create the folder /data/db on your system. All the dbs you create are stored there:
$ sudo mkdir -p /data/db/
$ sudo chown `id -u` /data/db
Read more about the issue over at StackOverFlow.
Posted
on January 17, 2012, 10:20 pm,
by ScratchMyTail,
under
Hardware.
I have been having a lot of trouble getting Battlefield 3 stable on my computer. I’ve been experiencing triangular artifacts acting wierd, and most annoying, regular crashes. I have a Gainward Geforce 580 GTX graphics card. The solution that worked for me was simply to clock down the card from 783MHz to 583 MHz. I used a program called EXPERTool to do this. EXPERTool is developed by Gainward and is recommended for use on their card. There are several other methods of underclocking a graphics card. Search for it on Google, add your graphics card name on to the search string.
Tags:
580 gtx,
artifacts,
battlefield 3,
bf3,
crash,
fix,
gainward,
gainward 580 gtx,
no error,
problem,
triangular artifacts No Comments »
Posted
on October 19, 2011, 3:57 pm,
by ScratchMyTail,
under
Android.
Found a nice tutorial on how to create section/grouped-based listviews for android. Article written by Jeff Sharkey.
Posted
on August 26, 2011, 12:48 pm,
by ScratchMyTail,
under
Android.
After a lot of struggling and frustration getting Android SDK, Maven and Eclipse working together I have decided to create the ultimate tutorial. I have not found a single page online describing how all the pieces should work together. I have only found bits and pieces of information at various sites. So this should be a post merging it all together. Read on if you want to know how I got it working. My goal is to create a post containing everything from installation requirements to getting the first project up and running.
Read the rest of this entry »
Tags:
adt,
android,
eclipse,
import.android.r,
m2e-android-integration,
m2eclipse,
maven,
setting up android and maven,
setup,
springsource,
sts,
tutorial 3 Comments »