This file contains hidden or 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 | |
| //made up x start positions... obviously, I think they are a pixel offset? | |
| //days | |
| $text = $interval->format('%D'); | |
| imagettftext ($image , $font['size'] , $font['angle'] , 10 , $font['y-offset'] , $font['color'] , $font['file'], $text ); | |
| //separator | |
| $text = $interval->format(':'); |
This file contains hidden or 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 | |
| /* | |
| ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
| :: Formerly known as::: | |
| :: GIFEncoder Version 2.0 by László Zsidi, http://gifs.hu | |
| :: | |
| :: This class is a rewritten 'GifMerge.class.php' version. | |
| :: | |
| :: Modification: |
This file contains hidden or 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
| <li data-row="1" data-col="1" data-sizex="1" data-sizey="1"> | |
| <div data-id="disqus_comments" data-view="Number" data-title="Comments" data-moreinfo="This Month" style="background-color:#427EB4;"></div> | |
| <i class="icon-comments icon-background"></i> | |
| </li> |
This file contains hidden or 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
| gem 'garb', :git => 'git://github.com/Sija/garb.git' |
This file contains hidden or 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
| hr.✁ { | |
| border-style: dashed; | |
| border-width: 3px 0 0; | |
| height: 2px; | |
| margin-top: 20px; | |
| width: 90%; | |
| } | |
| hr.✁:before { | |
| content: "\2701"; /* snip */ | |
| display: block; |
This file contains hidden or 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:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.7.2",function($,L){$.fn.referrer%20=%20function()%20{%20%20%20%20return%20$(document).prop("referrer").toString();};alert($().referrer());}); |
This file contains hidden or 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.fn.referrer = function() { | |
| return jQuery(document).prop("referrer").toString(); | |
| }; | |
| //usage: | |
| jQuery().referrer() |
This file contains hidden or 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 if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; | |
| endif; ?> | |
| <?php if ($tabs): ?> | |
| <div id="drupal-control-bar"> | |
| <?php endif; ?> | |
| <?php if ($tabs): print '<ul>' . $tabs . '</ul>'; | |
| endif; ?> | |
| <?php if ($tabs2): print '<ul class="tabs secondary">' . $tabs2 . '</ul>'; | |
| endif; ?> |
This file contains hidden or 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
| @mixin sunburst($color) { | |
| $color2: darken($color, 15%); | |
| background: -webkit-gradient(linear, 90deg, 90deg, color-stop(50%, transparent), color-stop(50%, $color2), color-stop(100%, $color2)), | |
| -webkit-gradient(linear, 82deg, 82deg, color-stop(50%, transparent), color-stop(50%, $color), color-stop(100%, $color)), | |
| -webkit-gradient(linear, 67deg, 67deg, color-stop(50%, transparent), color-stop(50%, $color2), color-stop(100%, $color2)), | |
| -webkit-gradient(linear, 52deg, 52deg, color-stop(50%, transparent), color-stop(50%, $color), color-stop(100%, $color)), | |
| -webkit-gradient(linear, 37deg, 37deg, color-stop(50%, transparent), color-stop(50%, $color2), color-stop(100%, $color2)), | |
| -webkit-gradient(linear, 22deg, 22deg, color-stop(50%, transparent), color-stop(50%, $color), color-stop(100%, $color)), | |
| -webkit-gradient(linear, 7deg, 7deg, color-stop(50%, transparent), color-stop(50%, $color2), color-stop(100%, $color2)), | |
| - |
This file contains hidden or 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 | |
| function my_module_nodeapi(&$node, $op, $teaser, $page){ | |
| $func = 'my_module_nodeapi_'.$node->type.'_'.$op; | |
| if(function_exists($func)){ | |
| $func(&$node, $teaser, $page); | |
| } | |
| } |