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
ack imagemagick little-cms2 python | |
apple-gcc42 jasper make readline | |
bazaar jbig2dec mercurial scons | |
cmake jpeg mysql sphinx | |
gdbm libgpg-error ossp-uuid sqlite | |
gettext libksba pidof tbb | |
ghostscript libtiff pkg-config wget | |
git little-cms postgresql |
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
{ | |
"auto_indent": true, | |
"color_scheme": "Packages/User/Tomorrow-Night.tmTheme", | |
"draw_indent_guides": true, | |
"font_face": "Monaco", | |
"font_size": 15.0, | |
"ignored_packages": | |
[ | |
"[]" | |
], |
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
<script type="text/javascript"> | |
function removejscssfile(filename, filetype){ | |
var targetelement=(filetype=="js")? "script" : (filetype=="css")? "link" : "none" //determine element type to create nodelist from | |
var targetattr=(filetype=="js")? "src" : (filetype=="css")? "href" : "none" //determine corresponding attribute to test for | |
var allsuspects=document.getElementsByTagName(targetelement) | |
for (var i=allsuspects.length; i>=0; i--){ //search backwards within nodelist for matching elements to remove | |
if (allsuspects[i] && allsuspects[i].getAttribute(targetattr)!=null && allsuspects[i].getAttribute(targetattr).indexOf(filename)!=-1) | |
allsuspects[i].parentNode.removeChild(allsuspects[i]) //remove element by calling parentNode.removeChild() | |
} |
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
&& navigator.userAgent.match(/ipad/i) == null |
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
.answers { | |
width: 95%; | |
li { | |
width: 100%; | |
height: auto; | |
position: relative; | |
p { | |
text-indent: 0; | |
padding: 7px 0 7px 50px; | |
background: none; |
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
JavaScript | |
$(document).scroll(function(){ | |
var elem = $('.subnav'); | |
if (!elem.attr('data-top')) { | |
if (elem.hasClass('navbar-fixed-top')) | |
return; | |
var offset = elem.offset() | |
elem.attr('data-top', offset.top); | |
} |
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
ul { | |
padding: 5px 0 10px; | |
margin: 0; | |
position: relative; | |
li { | |
padding: 0 0 10px 15px; | |
&:before { | |
content: "•"; | |
position: absolute; | |
left: 0px; |
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
<!-- I got these buttons from simplesharebuttons.com --> | |
<div id="share-buttons"> | |
<!-- Facebook --> | |
<a href="http://www.facebook.com/sharer.php?u=#" target="_blank"><img src="#" alt="Facebook" /></a> | |
<!-- Twitter --> | |
<a href="http://twitter.com/share?url=#&text=Simple Share Buttons" target="_blank"><img src="#" alt="Twitter" /></a> | |
<!-- Google+ --> |
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 class="createsend-button" style="height:27px;display:inline-block;" data-listid="r/D9/341/A25/B1E7B34298A8328D"> | |
</div><script type="text/javascript">(function () { var e = document.createElement('script'); e.type = 'text/javascript'; e.async = true; e.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://btn.createsend1.com/js/sb.min.js?v=2'; e.className = 'createsend-script'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); })();</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
<?php | |
$nid = 21; /* Homepage - Block 2 – Integrated services diagram (Static) */ | |
print drupal_render(node_view(node_load($nid))); | |
?> |
OlderNewer