Hacks, Linux

Lenovo Z570 phy0 hard blocked solution

If you’ve had issues with wireless being grayed out and you’re unable to enable it on your Lenovo Z570 or any other box, there is a simple solution. You must reset your bios. There’s an oddity in the bios for Lenovo Z570 machines; even after unblocking all interfaces, you can still see that phy0 is hard blocked, like below: 0:…

Continue Reading

Android, Programming

How to read from the Assets folder in an Eclipse Android application

Seeing errors like these? java.io.FileNotFoundException at android.content.res.AssetManager.openAsset(Native Method) at android.content.res.AssetManager.open(AssetManager.java:315) at android.content.res.AssetManager.open(AssetManager.java:289) The problem is that Eclipse isn’t finding your file, because you may not be using AssetManager to retrieve plain-text files from the assets folder. Here’s how to fix this: Note that there is no file extension on text. When I pasted ‘text.txt’ into the Assets folder to begin…

Continue Reading

Android, Google, Programming

Which JSON library should I use in my Android and Java projects?

JSON.org is where you start; this is the prepackaged JSON found in Oracle and Open Java Development Kits. The home page is a useful resource to see all the different JSON libraries out there for all different languages. GSON is most useful for converting Java objects into their JSON representation. The Google libs can also convert a JSON representation into…

Continue Reading

Linux, Programming, Ruby, Scripting, Web development

How To Build A Ruby Server With RVM On Kubuntu 12.10

So I’m building a Ruby server right now for the first time. I’m going to list out here the resources I used as a skilled web dev to get this up and running right away. These links do assume that you know what you’re doing in the cloud, but if so, they’re the best way to get running fast. http://guides.rubyonrails.org/getting_started.html…

Continue Reading

Android

Vegan Tab with Viewsonic gTablet

I’ve obviously been busy for the last month, and the posts concerning the LadyCoders Kickstarter will appear on the ladycoders.com site. I’d really rather get back to the fun of reviewing a hardware/OS combo. About three weeks ago, I got a used Viewsonic gTablet and flashed Vegan Tab on it. I’ve never had a tablet before, and I was thrilled…

Continue Reading