Thursday, October 31, 2013

30 Technologies in 30 Days at whyjava.wordpress.com

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 whyjava.wordpress.com

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/add-user.sh --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", http://note-to-self.baker.com/.  This blog post has a solution for 17, and this post has one for 18.

Tuesday, December 18, 2012

find and mv files in bash

I thought I would document this shell command for posterity's sake.  My bash skills are sketchy so I will need to look it up again.

I downloaded a few zip files this morning and needed to move them to a new directory.  Moving them to a new directory from the command line was trivial:


for i in $(find . -type f -newermt 2012-12-18); do cp $i /[NEW DIRECTORY PATH/; done;