Wednesday, August 22, 2012

Fedora 17 - Spoof Mac Address

I am not sure if this feature it's always been there, but I have recently discovered that Fedora's connection manager allows you to set in the network configuration the desired spoofed mac address.




This is much better than changing it manually with a command like this every time:

sudo ifconfig wlan0 hw ether 00:00:00:00:00:00


If I only had this during Residence Evil period...

Wednesday, August 8, 2012

Git: I wasn't the only one...

To have mixed feelings about the tool and to find it syntax not that clear.

https://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/


Usually I have problems with syntaxes, It takes me a lot of time to remember the new ones.

Git introduces some keyword. Ok. You know that you have to put some effort to learn the new "verbs".

But just like the inconsistency around all Linux programs that share the same flags and invocation style only rarely, even Git itself show a clear lack of consistency.

Tuesday, August 7, 2012

JVM Performance Tuning Video

http://www.infoq.com/presentations/Extreme-Performance-Java#


I'd like to suggest to anyone that has to deal with Java and JEE development this video of Charlie Hunt, Architect of Performance Engineering at Salesforce.com , that give you some explanation and tips about Java memory management mechanism and tools to analyse the related data.

Saturday, August 4, 2012

Gollum Personal Wiki on Openshift

My tabs are begging me to be closed. Even Firefox asks the same.

I have decided that I need to store some of that information somewhere, and that I couldn't just rely on Bookmarks mechanism since I haven't read properly all of those pages and I wouldn't be able to search for the info I would need.


So I have decided I needed a personal wiki.

I wanted something that I could easily push on the web, on Openshift ideally.


I've found out this post:

http://www.highlevelbits.com/2011/11/my-precious-wiki.html


That suggest the usage of Gollum, a personal Wiki based on Sinatra/Rails.

You do not need to know anything about the underlying technology to deploy and use it.

When you want to use it offline, you just have to un

gollum


and the command will execute an in memory webserver that will host locally your wiki. You can start to use it, to read and write what you need and once in a while you just have to push to Openshift git repository to publish all your work online.

The tutorial is a little outdated but it's easy to understand what to change to obtain the result.

If you need any help just drop a line ;)


Note:

Fedora needs  python-pygments and python-develfor the code syntax features


Thursday, August 2, 2012

Gnome Extensions Installation Silent Error

I was one of those unlucky ones not able to install Gnome Extensions via the website, on my Fedora 17.

 I've found out I wasn't the only one but we were not a big number and there was not a clear solution to our problem.

 Apparently I have found that is somewhat related to SSL and the time set in you laptop. Yes. I do not why, but it was definitely my case.  

This is the error I was receiving:

JS ERROR: !!!   Exception was: TypeError: info is null
JS ERROR: !!!     lineNumber = '83'JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/extensionSystem.js"'
JS ERROR: !!!     stack = '"([object _private_Soup_SessionAsync],[object _private_Soup_Message])@/usr/share/gnome-shell/js/ui/extensionSystem.js:83"'
JS ERROR: !!!     message = '"info is null"'

If you are also unable to join your Google account to your Gnome 3 profile, ( Check with the Google one since the other options were working fine ) you will probably have my same problem.

For some reason that I cannot explain it seems that the clock or the timezone set on you Linux are involved in the problem.

 Try to change them switching form either network updated to something else like New York timezone and repeat the process.
It's enough to check if you can join the Google account.

As soon as you see you are able, also the extension installation is fixed.

Monday, July 30, 2012

Class Broswer Plugin for Gedit

I have just installed a useful plugin for gedit on Fedora 17:

 https://launchpad.net/gedit-classbrowser3g

It provides you a nice pane with method and classes, useful when you are inspecting a portion of code and you do not want to open it in the start to load Eclipse. To work correctly it requires ctags package to be installed too.

Give it a try!

And since it's always nice to stash information all in one place I've also added these ones:

 https://code.google.com/p/advanced-find/

 https://github.com/jonocodes/GeditSplitView

Monday, June 25, 2012

Open Shift on Feodra 17

I have just moved from RHEL 6 to Fedora 17. Not completely seamless but probably I had part in the mess. Anyway it's been quite simple and still feeling more a Windows user than a Linux one, seeing that to restore my previous programs and configurations it is just a matter of moving files, like I used to do on Windows choosing Portable Application make me feel happy (and save a lot of time)

I decided I needed to blog here since I have found a problem with Red Hat Open Shift installation procedure.

If you follow the official steps on Open Shift site you'll receive a 404 error, very disappointing.

But the bug has already been tracked:

https://bugzilla.redhat.com/show_bug.cgi?id=826808 

Anyway it seems that Fedora already includes the right packages, they are just with a slightly different name:

yum search rhc

#will lead you to: 

yum install rubygem-rhc



that will provide you the rhc command!