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
| @timezones = [ | |
| {name: 'MIT', info: 'Midway Islands Time', seconds: -39600}, | |
| {name: 'MIT', info: 'Hawaii Standard Time', seconds: -36000}, | |
| {name: 'AKST', info: 'Alaska Standard Time', seconds: -32400}, | |
| {name: 'AKDT', info: 'Alaska Daylight Savings Time', seconds: -28800}, | |
| {name: 'PST', info: 'Pacific Standard Time', seconds: -28800}, | |
| {name: 'PDT', info: 'Pacific Daylight Savings Time', seconds: -25200}, | |
| {name: 'MST', info: 'Mountain Standard Time', seconds: -25200, country: "United States"}, | |
| {name: 'MDT', info: 'Mountain Daylight Savings Time', seconds: -21600}, | |
| {name: 'CST', info: 'Central Standard Time', seconds: -21600, country: "United States"}, |
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
| img.grayscale.disabled { | |
| filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale"); | |
| -webkit-filter: grayscale(0%); | |
| } |
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 | |
| // http://michelf.com/projects/php-markdown/extra/ | |
| require_once( dirname(__FILE__) . '/markdown-extra/markdown-extra.php' ); | |
| /** | |
| * Format posts/comments with Markdown at display time. Only process | |
| * blocks starting with \^md\s+. | |
| **/ | |
| function p2mis_comment_markdown( $text ) { |
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
| <html> | |
| <head> | |
| <title>Checkbox</title> | |
| <style> | |
| input[type=checkbox] { | |
| display:none; | |
| } | |
| input[type=checkbox] + label | |
| { |
NewerOlder