#PHP
43 postsWebsite theme update
Why I rebuilt blog.abluestar.com on a fresh Jekyll theme, plus a 20-year history of my CMS choices from plain HTML to static sites.
Read postDay 1 - Fractal Triangle
A laser-cut fractal triangle of 96 small, 36 medium, and 9 large triangles in 3mm birch ply, assembled with 250+ zap straps.
Read postThe Giant Claw Game! - Relay H-Bridge and Circuit Design
Building a relay H-bridge for the Giant Claw gantry motors after the L298 driver could not handle the current.
Read post2013 Goals and Resolutions
Goals for 2013: weekly blog posts, 300 geocaches, learn Rails, build a card game, and add more home sensors.
Read postNiceDog nano php web framework
Trying out NiceDog, a single-file PHP nano framework, fixing a few bugs and writing the missing example project.
Read postWordpress Post via email (wp-mail.php)
Switching from the abandoned Postie plugin to WordPress built-in wp-mail.php for post-by-email, with notes on the rate-limit hack.
Read postWhat I did in 2010, Year end review
Year-end review of 2010: lockpicking, QR tags, GPS tracking, wheatpaste Marios around Vancouver, time-lapse videos, and SkyZoo.
Read postArduino Infrared, Blue Robot challenge, Burning man and superman
Working on the VHS Blue Robot IR beacon challenge, plus notes on WordPress 3.0, Burning Man, and upcoming Vancouver events.
Read postPHP email template
A tiny PHP pattern for loading an email body from a template file and substituting variables before sending.
Read postIn search for a bug tracking system
Comparing Mantis, Redmine, Bugzilla, and Trac for a new development project, and why Trac won on simplicity.
Read postFatal error: Call to undefined function: php_info() in /home/*/public_html/info.php on line 2
A quick fix for a PHP fatal error caused by calling php_info() instead of phpinfo().
Read postCakePHP - Security.level
Why CakePHP was logging users out at random, and the Security.level setting that fixed the session regeneration.
Read postCakePHP - Disable validation in controler
A one-line CakePHP trick to skip model validation in a controller so you can update legacy records full of bad data.
Read postCakePHP - Search bar
A CakePHP snippet that wires a search box to a paginated index, matching the query against story titles and author names.
Read postCakephp - Add meta tags to views
How to inject per-view meta keywords and descriptions into a CakePHP layout using $scripts_for_layout and the HTML helper.
Read postCakephp - Session->setFlash is not working any more.
Fix for missing CakePHP setFlash messages after 1.2: the template needs an explicit session check and flash call.
Read postCakephp - Using the same view for multiple controler functions
How to reuse one CakePHP view across multiple controller actions by disabling autoRender and calling render() with the template path.
Read postTroubleshooting CakePHP
A running list of CakePHP 1.2 fixes, starting with HtmlHelper::file moving to FormHelper.
Read postTesting writing from Windows Live Writer
First impressions of Windows Live Writer as a desktop blog client for WordPress, with categories, live preview, and source editing.
Read postWordpress, Creating a RSS feed for each category.
The undocumented WordPress URL pattern for getting a per-category RSS feed: /?feed=rss2&cat=ID.
Read postWhat time is it
A PHP script that auto-generates 79,206 timezone-comparison pages for cities like Vancouver, Paris, and New York.
Read postInsert new post in to wordpress from php
PHP snippet that builds a post object and calls wp_insert_post to add a new entry to WordPress 2.5.1.
Read postHow to install PHPBB 3.0.1
Step-by-step install guide for phpBB 3.0.1 on an Apache/MySQL host, written for COMP2920.
Read postHow to block spam on a wordpress Blog
Five-step walkthrough for turning on Akismet in WordPress to kill almost all comment spam.
Read postPHP strip non alphanumeric
A small PHP function that strips every non-alphanumeric character out of a string with preg_replace and ereg_replace.
Read postHow to access Facebooks data
Walkthrough of the Facebook REST API using PHP to pull friends, check pairs, and look up user info.
Read postHow to make a facebook applcation.
Step-by-step build of a hello-world Facebook app with the PHP5 API, from app registration to login.
Read postSMF - Redirect after reply or post
How to make Simple Machines Forum send users back to the topic after posting instead of dumping them on the board index.
Read postRemoving the Nofollow link
Why the WordPress DoFollow plugin and its public user list make blogs an easy target for comment spammers.
Read postResize thumbnails in Wordpress
Two recipes for changing WordPress's default upload thumbnail size, one for pre-2.1 and one for 2.1+.
Read postWordpress robots.txt
A line-by-line walkthrough of my WordPress robots.txt file and why each Disallow rule exists.
Read postDel.icio.us bookmarks 2007-05-04 - 2007-05-15
Del.icio.us bookmarks 2007-05-04 - 2007-05-15
Read postRandom drinking game generator
A small script that pulls rules from a database of card-and-dice drinking games and spits out a random one.
Read postDel.icio.us bookmarks 2007-04-24 - 2007-05-04
Weekly del.icio.us dump: RSS tips, a Vancouver clean-up event, the TeRK robot kit, and a WordPress theme generator.
Read postWhere does this IP Address come from
A PHP script that looks up an IP against ISP allocation data to guess the visitor's rough geographic location.
Read postImageManager 2.0
ImageManager 2.0 is a Wordpress plugin that lets bloggers resize, crop, rotate, flip, or scale uploaded images in place.
Read postThis Weeks Del.icio.us bookmarks 2007-04-02
Weekly del.icio.us dump on guitar stompboxes, an RGB mood lamp, ferrofluid Morpho Towers, Game of Life, and the Translink bus-stop hack.
Read postThis Weeks Del.icio.us bookmarks 03/28/2007
Weekly del.icio.us dump covering a Van de Graaff generator, an LED sequence learner, GPS loggers, password crackers, and more.
Read postWeekly post of del.icio.us book marks to wordpress
A modified herebox.org script that pulls new del.icio.us links into Wordpress once a week as draft posts with tag links.
Read postExtracting the IPTC data from an image in PHP
How to pull Picasa captions and other IPTC metadata out of an image in PHP using iptcparse and iptcembed.
Read postPhoto Gallery that does not require a MySql database
An IPTC mod for Enhanced Simple PHP Gallery so it reads Picasa titles, no database needed, just upload and go.
Read postSubscribe to Comments
A Wordpress plug-in that emails readers when someone replies to a post they commented on, installed with two file uploads.
Read postAudio Player Wordpress Plugin
The 1pixelout WordPress audio player plugin, a simple start/stop streaming player that also works outside WordPress.
Read post