Skip to content

Instantly share code, notes, and snippets.

@joshholt
joshholt / JolokiaCommands.md
Created October 11, 2017 17:19 — forked from yashpatil/JolokiaCommands.md
Jolokia URLs for quick access to A-MQ statistics

This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console.

@joshholt
joshholt / hidpi.txt
Created June 19, 2013 02:24 — forked from simX/hidpi.txt
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES;
sudo defaults delete /Library/Preferences/com.apple.windowserver DisplayResolutionDisabled;
// by the way, you need to logout and log back in for this to take effect. Or at least that's what
// Quartz Debug says. Who knows, maybe it's lying?
// P.S. Go to [Apple menu --> System Preferences --> Displays --> Display --> Scaled] after logging
// back in, and you'll see a bunch of "HiDPI" resolutions in the list to choose from.
#logo {background: url(http://dl.dropbox.com/u/5268661/Eloqua.png); height: 55px; width: 125px; display:block;}
.logo { display: none; }
#header,#header-bottom,.dashboard-item-header h3 {background-color: #2d729e !important;}
#header-bottom {border-top: none;}
#header-bottom #main-nav li.aui-dd-parent {background-color: #003f67;}
@joshholt
joshholt / Compass Watch
Created November 9, 2011 03:41 — forked from techyak/Compass Watch
the alias that I'm using to watch node.js/coffeescript/compass at the same time
function nodewatch() {
find . | grep coffee$ | xargs coffee -cwl &
if [ $1 ]
then
nodemon $1.js &
else
nodemon app.js &
fi
-- http://lua-users.org/lists/lua-l/2002-04/msg00180.html
require 'socket'
local header =
[[HTTP/1.1 200 OK
Date: Fri, 19 Apr 2002 20:37:57 GMT
Server: Apache/1.3.23 (Darwin) mod_ssl/2.8.7 OpenSSL/0.9.6b
Cache-Control: max-age=60
Expires: Fri, 19 Apr 2002 20:38:57 GMT
objectA = SC.Object.create({
calledLocalObserver: false,
calledGlobalObserver: false,
calledMixedObserver: false,
locallyObservedProperty: 'beingWatched',
testLocalObserver: function() {
this.calledLocalObserver = true;
}.observes('locallyObservedProperty'),