Category: Code

Coding and stuff I have written

1 4802

Get well Greg!!!

Just been informed that Greg (Shutter) the creator of Razorback Railway is currently being treated for cancer. As usual Greg is super positive and so…

Trainz TRS22
1 2495

TRS22 Summary

Please note: This is my opinion, your mileage will be different As mentioned in the shout box I went and purchased the TRS22 Plus from…

3 1675

Vale LocoOne (Norm Guy)

Was advised today that Norm has passed away peacefully during December, one of the most prolific scenario authors for the old Razorback Railway he brought…

Married Name Display Mod
0 1995

Married Name Display Mod

The married name display mod adds ‘maiden’ names to TNG displays. Someone born ‘Wilma Quartz’ marries ‘Fred Flintstone’ she would appear as ‘Wilma Flintstone (nee…

aMember
0 4329

Remove amember.css from Render

Remove the css from the generated code template, install into site.php

drop table
0 3009

Drop table like

Drop table from a database using a pattern, see the ‘like’ statement

Find & Delete
0 3255

Find & Delete

Example of how to recursively delete files

css reset
0 2781

Eric Meyer’s reset reloaded + HTML 5

CSS reset to clear all those pesky settings

File Permissions
0 2313

Set File Permissions

Most php servers require that files be ‘-rw-r–r–‘ and directories ‘rwxr-xr-x’ running the example in the directory you want will change all these recursively for…

PHP Log reporting
0 2923

Send PHP Error Logs

Check through your web sites for those pesky PHP error logs You need to have PHP writing errors to the file name ‘error.log’ Save the…