Count number of jobs in Hudson
Thursday, June 14th, 2012 by Jesper Rønn-JensenSmall script to count the number of jobs on a Hudson server — with JavaScript
Small script to count the number of jobs on a Hudson server — with JavaScript
For a current project, I created a tiny number formatter that inserts thousand delimiters in a string: 10000 to 10,000 etc. Just add css class=”numberformat currency” to a text field, and it will be formatted automatically. It is based on the Prototype JavaScript library. You can get it from it’s GitHub repository page. Feel free […]
I used this quick trick today to help me clean up and refactor some javascript functions today: if (“console” in window) console.warn(‘DEPRECATED function call to ‘+ arguments.callee +’\nCalled by:\n’+ arguments.callee.caller ); Which results in a fine deprecation warning in the console: There is plenty of space for improvement here. Feel free to use or tamper […]
I have for long been struggling with an internal legacy application that wraps the content page in a frameset. Very annoying because I have spent some time to reverse engineer a poor-mans API to the application. Problem: An inline “reverse” framebuster script that makes sure that everything is nicely(?) wrapped in the frameset. As you […]