Reply
jQuery/js lightboxes
http://leandrovieira.com/projects/jquery/lightbox/ is very good and simple to set up, but only for image gallery lightboxes.
http://colorpowered.com/colorbox/ is almost just as simple to set up but can do modal type boxes, so rather than images only on the lightbox you can make it show a <div>’s contents.
Quick php script to convert old urls to new urls for .htaccess redirection via csv
quick and dirty script to convert something like this:
http://oldsite.com/foo-stuff.htm,http://newsite.com/foo/ http://oldsite.com/foobarrrrr-stuff.htm,http://newsite.com/foobarrr/ http://oldsite.com/order-page.htm,http://newsite.com/shopping/
to something like this
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^foo-stuff.htm$ http://newsite.com/foo/ [R=301,L]
RewriteRule ^foobarrrrr-stuff.htm$ http://newsite.com/foobarrr/ [R=301,L]
RewriteRule ^order-page.htm$ http://newsite.com/shopping/ [R=301,L]
</ifModule>
get it at github
no public version. just edit the source code & run on a server. only a single file. don’t use on real sites etc. full of potential bugs.
July 2011 Links/Pages
Hello World
Testing out the wp plugin Syntax Hylighter Evolved.
<?
include('test.php');
$world = array(' world');
echo "hello{$world[0]}";
?>
Actually seems pretty good.