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]