- ???
- Bidsketch
- Proposable
| var sWarning = "The elapsed time has not been updated for " | |
| + "this case!\n\n" | |
| + "Do you want to save anyway?"; | |
| var fHasEstimate = ((goBug.hrsOrigEst + goBug.hrsCurrEst) > 0); | |
| if (!fHasEstimate) return; | |
| if (!window.clickBugSubmit) return; | |
| window.clickBugSubmit = (function(fnOrig) { |
| name: Estimate and Elapsed Warning | |
| description: Warn user to enter estimated and elapsed time | |
| author: Rob Sobers | |
| version: 1.0.0.0 | |
| js: | |
| if (!window.clickBugSubmit) return; | |
| window.clickBugSubmit = (function(fnOrig) { | |
| return function(e, elForm, fXMLSubmit, sValue, bOK) { | |
| if(bOK) { |
| #!/bin/sh | |
| # if there is more than one mod-mono-server2, we need to get aggressive | |
| if [ `ps -fu fogbugz | grep mod-mono-server2 | wc -l` -gt 1 ]; then | |
| # try to stop things gracefully | |
| /etc/init.d/fogbugzctl stop | |
| sleep 1 | |
| echo "Killing all stray processes owned by fogbugz" | |
| until [ `ps -fu fogbugz | grep fogbugz | wc -l` = 0 ]; do | |
| pkill -u fogbugz |
| <link href='http://fonts.googleapis.com/css?family=Reenie+Beanie&subset=latin' rel='stylesheet' type='text/css'> | |
| <ul id="notes"> | |
| <li> | |
| <p>Push new feature to Kiln for code review</p> | |
| </li> | |
| <li class="kiln"> | |
| <p>Browse hacker news for a bit</p> | |
| </li> | |
| <li> | |
| <p>Read JavaScript: The Good Parts by Douglas Crockford</p> |
| var gistPrefix = 'https://gist.github.com/', | |
| // Cache document.write so that it can be restored once all Gists have been | |
| // embedded. | |
| cachedWrite = document.write, | |
| body = $('body'), | |
| // Map each p.gist to an object that contains the paragraph to be replaced | |
| // and the Gist's identifier. | |
| gists = $('p.gist').map(function(n, p) { | |
| p = $(p); |
| var z="https://gist.github.com/",y=document.write,x=$("body"),w=$("p.gist").map(function(b,a){a=$(a);var c=$("a",a),u=c.attr("href");if(c.length&&u.indexOf(z)==0)return{p:a,id:u.substring(z.length)}}).get(),v=function(){if(w.length==0)document.write=y;else{var b=w.shift();document.write=function(){document.write=function(a){b.p.replaceWith(a);v()}};x.append('<scr'+'ipt src="'+z+b.id+'.js"></scr'+'ipt>')}};v(); |
| .gist { | |
| color: #000; | |
| } | |
| .gist div { | |
| padding: 0; | |
| margin: 0; | |
| } | |
| .gist .gist-file { |
| body { | |
| background: #B2CCCC; | |
| } | |
| #notes li { | |
| position: relative; | |
| width: 300px; | |
| min-height: 100px; | |
| margin: 25px auto; | |
| padding: 60px 15px 15px 15px; |