Friday, December 6, 2013

Mac OS X and VIM

By default Vim on OS X doesn't have any color.  I forgot about .vimrc.

This blog post clued me in on how to set it up.  Just add the following to your .vimrc file :

set nocompatible
syntax on

Tuesday, November 26, 2013

How to increase JBoss Developer Studio or Eclipse font size in Mac OSX

I typically use JBoss Developer Studio since it has all of the JBoss plugins already installed.  All of the plugins are available for plain Eclipse, but it's nice to have them already packaged together.

I recently downloaded the Mac version, and the font sizes on a Mac are tiny.

This Mac OSX Hints post contains the instructions for Eclipse.

It is a little different for JBoss Developer Studio :

  • locate the "JBoss Developer" located in <>/studio/JBoss Developer
  • "control" + click on the "JBoss Developer" and choose "Show Package Contents"
  • this will open a folder "Contents"
  • open Contents/MacOS/jbdevstudio.ini
  • remove the line, "-Dorg.eclipse.swt.internal.carbon.smallFonts"
  • restart JBDS
Happy coding!

Thursday, October 31, 2013

30 Technologies in 30 Days at

My favorite thing about JUG meetings is getting a reasonable preview of a new technology in an hours time.  I travel a lot with work now and don't get to attend AJUG meetings as often as I'd like.   I really miss getting that monthly preview.

Shekhar Gulati is taking this concept to a new level on his blog

He is kicking the tires on a new technology every day for the next  30 days and blogging his impressions.  So far he has tackled Bower, AngularJS and Flask.

I found his posts on all 3 technologies interesting and well written.  Bower was nowhere on my radar, and I only vaguely knew what Flask was.

I will definitely be following his progress.

Wednesday, September 11, 2013

How to change the side bar fonts in Sublime Text 2

This information is available in the forums under a few posts.

The settings that need to be changed are located in Default.sublime-theme.  I'm using Fedora so the file is located at, [HOME]/.config/sublime-text-2/Packages/Theme - Default/Default.sublime-theme.

Add the font size to "sidebar_heading" and "sidebar_label."

        "class": "sidebar_heading",
        "color": [130, 130, 130],
        "font.bold": true,
        "shadow_color": [250, 250, 250],
        "shadow_offset": [0, 1],
        "font.size": 16

Tuesday, May 7, 2013

Toggle sidebar in Sublime Text

The more I use Sublime Text the more I like it. 

One thing that is missing (at least in the Linux version) is a shortcut to toggle the side bar.  The Mac version used to use "ctrl+s", but that's what I associate with saving a file.  I added a shortcut for "ctrl+b"; "b" for "bar" :

{ "keys": ["ctrl+b"], "command": "toggle_side_bar" }

To add this choose Preferences -> Key Bindings User

Be sure to add a comma to the line above as well.

Monday, May 6, 2013

Siently add a management user in JBoss EAP6/AS7

Adding a management user is required and simple to doin EAP6.  AS7 is the same even though its a dead branch.

If you need to add the user silently simply add the "--silent=true" flag to the command :

jboss-eap-6.0/bin/ --silent=true <username> <password> [ManagementRealm]

Thursday, March 28, 2013

bash: javaws: command not found...

I'm currently running Fedora 17.  I got the following error starting up a .jnlp file for a web conference :

bash: javaws: command not found...

I checked alternatives, but there was no javaws. A quick yum install solved it :

sudo yum install icedtea-web

Friday, March 15, 2013

Fedora, docking stations and external monitors

I am running Fedora 17 and using a docking station with an external monitor.  Beefy Miracle does not play well in this scenario; apparently Fedora 18, Spherical Cow, doesn't either.

I found the answer on the blog "Note to Self", blog post has a solution for 17, and this post has one for 18.