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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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;} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nodewatch() { | |
find . | grep coffee$ | xargs coffee -cwl & | |
if [ $1 ] | |
then | |
nodemon $1.js & | |
else | |
nodemon app.js & | |
fi | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objectA = SC.Object.create({ | |
calledLocalObserver: false, | |
calledGlobalObserver: false, | |
calledMixedObserver: false, | |
locallyObservedProperty: 'beingWatched', | |
testLocalObserver: function() { | |
this.calledLocalObserver = true; | |
}.observes('locallyObservedProperty'), |