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
dave@daveubuntu:/usr/lib/jvm/java-6-sun/bin$ cd ~/src/checker/ | |
dave@daveubuntu:~/src/checker$ sudo python build/build.py build | |
[sudo] password for dave: | |
"hg" pull --update -R build https://bitbucket.org/validator/build/ | |
Not trusting file build/.hg/hgrc from untrusted user dave, group dave | |
Not trusting file /home/dave/src/checker/build/.hg/hgrc from untrusted user dave, group dave | |
warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting) | |
pulling from https://bitbucket.org/validator/build/ | |
warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting) | |
searching for changes |
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
/* | |
Lighweight Concertina Plugin | |
<ul class="concertina"> | |
<li> | |
<h2>header</h2> | |
<div>content</div> | |
</li> | |
<li> | |
<h2>header</h2> | |
<div>content</div> |
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
/* | |
concertina | |
---------------------------------------------*/ | |
.concertina { | |
clear: both; | |
margin: 12px 0 30px 0; | |
padding:0; | |
border-bottom:1px solid #d9d9d9; | |
} | |
.concertina:after { |
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
h1 { color: green; } |
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
/** | |
* Move in a circle without wrapper elements | |
* Idea by Aryeh Gregor, simplified by Lea Verou | |
*/ | |
@keyframes rot { | |
from { | |
transform: rotate(0deg) | |
translate(-150px) | |
rotate(0deg); |
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
/** | |
jQuery.collapseContainer v0.1 | |
Dave Taylor http://the-taylors.org | |
@license The MIT License (MIT) | |
*/ | |
/*global define,require */ | |
(function($){ | |
'use strict'; |
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
<div id="scene"></div> | |
<script id="world" type="text/x-tmpl"> | |
<span class="box"> | |
<i class="front"></i> | |
<i class="back"></i> | |
</span> | |
</script> |
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
/** | |
* Converts a string to Title case | |
* eg: hello how are you -> Hello How Are You | |
* @return {String} | |
*/ | |
String.prototype.toTitleCase = function(){ | |
return this.replace(/\w\S*/g, function(txt){ | |
return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); | |
}); | |
}; |
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
given([ | |
"1234", | |
"^", | |
"<xss>", | |
"^", | |
",", | |
"' --", | |
"\"" | |
]) | |
.it('the name should be invalid', function(name){ |
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
/** | |
* A jquery plugin to prevent a form being submitted twice | |
* | |
* You'd use this on the form itself | |
* $('form').preventDoubleSubmit(); | |
*/ | |
;(function($) { | |
function submitHandler(e) { | |
var $form = $(this); |
OlderNewer