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
<style> | |
div.innerpreview | |
{ | |
height: 350px; | |
width: 350px; | |
position: float; | |
background-color:white; | |
border: 1px solid #E3E3E3; | |
border-radius: 5px 5px 5px 5px; | |
/* Rotate 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
<?php | |
/** | |
* A ZendFramework-ish filter for PHP_Beautifier | |
* | |
* This file have to go in: | |
* /path/to/pear/php/Beautifier/Filter/ | |
* | |
* Use it in conjunction with Pear() and NewLines() filters: | |
* php_beautifier --input "/path/to/your-file.php" --filter="Pear() zfish() NewLines(after=T_DOC_COMMENT)" | |
* |
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
#!/usr/bin/perl | |
####################################################################### | |
#Basic perl script to update <lastmod> in an XML sitemap. # | |
#Works by seaching for .html files nested in <loc> and then comparing # | |
#to the file. It then inserts the date in the <lastmod> tag. # | |
# # | |
#This code is not subject to copyright and is free to use # | |
# # | |
#Eliot Brown 25/10/2011 # |