Blog Archives

A Calculation of Odds in the Dice Game Langur Burja

A Calculation of Odds in the Dice Game Langur Burja Gale Richard Walker September 2017 Langur Burja, a dice game popular in Nepal and in the British navy (where it is known as Crown and Anchor), uses six identical dice, each

Posted in how-to, resources

enabling CORS on Apache

Many people struggle to get CORS (Cross-Origin Resource Sharing) enabled on their site to allow transmission of JSON, XML, or some other sort of data from one script to another, running on different domains. Simply adding Header always set Access-Control-Allow-Origin “*” 

Tagged with: , , , ,
Posted in how-to, resources, unsorted

up and running with UserSpice 4.2.4

UserSpice v.4.2.4 was released yesterday, but I had a few issues with its installation. I got the following errors: Parse error: syntax error, unexpected ‘,’ in /users/init.php on line 49 Fix: change users/init.php line 45 from: ‘host’ => ‘localhost’ to:

Tagged with: , ,
Posted in how-to

securing WordPress

Part of securing a WordPress installation is checking up on your file permissions. In order to prevent overwriting by malicious code, limit the permissions to read-only except where necessary. Here’s a good start: Relative Path Suggested permissions / 0755 /wp-admin

Tagged with: , , , , ,
Posted in how-to

essential and useful WordPress plugins I’ve tested and used

After installing and removing zillions of them, here are my faves: BJ Lazy Load Lazy loads images and other embedded media so that they are not sent to the client until the client scrolls near it. Saves bandwidth and makes

Tagged with: , , , , ,
Posted in how-to

firing background tasks in PHP

Background case madisonrightnow.com is a collection of near-real-time information about a metropolitan area. Traffic, weather, parking lot usage, and loads of web cam images are displayed on one page. Data come from a wide variety of sources: images come from

Tagged with: , , , ,
Posted in how-to

email mail merge in Office 2010 with hyperlinks

The goal of this tutorial is to perform a mail merge which includes a unique URL (web address) for each record. That way, you can send email with unique URLs for each recipient, which may be useful when sending surveys or

Tagged with: , , ,
Posted in how-to

how to fix call log popping up unexpectedly on Samsung Galaxy devices

If you recently paired a Samsung Gear smartwatch with your Samsung Galaxy phone, you may experience the phone’s call log appearing inadvertently. To fix this, open the Gear Manager app, tap Notifications, and uncheck the Smart relay feature.

Tagged with: , , , , ,
Posted in how-to
filter