Posted by ljmacphee on March 22, 2007 under how to, mysql, osx, wordpress |
Instructions for Leopard, OSX 10.5 are here
Setting up Wordpress on my home computer was supposed to be painless but did not turn out that way at all.
If you are installing Wordpress on OSX and everything is set up and working but Wordpress will not talk to the server skip right to step 10 on the instruction page. Or better go to MySQL Reference for OSX there are a few solutions on that page. I took the easy one.
Another great set of instructions for setting up Wordpress on OSX is Installing WordPress on Tiger. It is a very easy to follow set of instructions. I had to go look up a few things that weren’t covered there. I hope I covered everything in my directions.
10 Step Install for Wordpress on OSX 10.4
Posted by ljmacphee on March 8, 2007 under linux, osx, perl, tools |
This is a tool that enters a sub-directory and reads and changes one string to another.
I use it when I make major updates to my website or am updating links. I can have it search for the old link and replace it with the new link. (or any other piece of text you’d like to change).
It puts the altered files in the working directory and leaves the originals unchanged. It also prints to the screen the file name and line number of any changes made.
findAndReplace.pl
Posted by ljmacphee on March 7, 2007 under how to, linux, osx, perl, tools |
If you have a directory of files with the same substring sayjoke1.html, joke2.html, joke3.html … and you want to rename themriddle1.html, riddle2.html, riddle3.html this tool does that.
It is a PERL script, it will ask you for the old and new strings and changethe files in the directory in which the script is located.
chgfilename.pl
Posted by ljmacphee on March 6, 2007 under how to, linux, osx, perl, tools |
I have two older scripts for grabbing your ip and emailing it to you. Getip.pl and Getip2.pl And today I put together Getip3.pl.
The first script is the bare minimum needed and works on Linux. Just change it to put in your email address and run it as a cron job.
The second script works on Windows or Linux and is more robust than the first one. Again change the email information and then run it as a cron script under Linux or in the Windows scheduler if you are running Windows.
The third script works on OSX. Change the email to and from addresses. Install it as a cron job to have it run automatically on your computer. (MacDevCenter Cron job how to is at bottom of the page )