Loading

post

How to Let a Bash Script User State the Number of Question Fields

Now that's some title for a post. I Couldn't think how to shorten it but it is shorter than the original title I wanted to use. Anyway, a couple of weeks ago I needed to figure out how to write a Bash script that let its users state how many fields or questions the script should request information for and what those field names should be. It took less than five minutes to solve the problem but I thought I'd post my solution here in hope that someone else finds it useful or knows a better solution. Here's what I came up with. It's an input loop script that continues to request input for as … [Read more...]

post

Install FUSE into Ubuntu the Easy Way – Use a Script

Manic Miner Running on Fuse on Ubuntu

Manic Miner on Fuse Making friendly suggestions on a forum is not always a good idea: you never know where it's going to lead. When I saw a request for feature ideas for upcoming versions of FUSE, the Spectrum emulator, posted on the World of Spectrum website little did I know that one simple comment asking for FUSE to be made easier to install into Ubuntu would lead me to write an installer script. When someone on the forum wrote "hint, hint, hint: man bash. you really can contribute that bash one-liner to FUSE then. %-)" in reply to my writing "[as] much as I'd like to give FUSE more … [Read more...]

post

Really Simple Traffic Logger

Adding PHP Code to Shortcode Exec PHP

Born out of boredom, unrealized necessity and the fruit of another script, this really simple PHP counter logs page views and tracks visitors from the time they enter your site to  the time they leave it. Weighing in at slight 9.9 KiB, or 5.6 KiB when all comments are removed, it represents excellent value for a free php website traffic counter and logger. The traffic data logged by Really Simple Traffic Logger is everything you might need to see where your visitors are coming from, where they are going once they are on your site and for optionally displaying a configurable PHP counter on … [Read more...]

post

How to Install Windows Games and Apps into Linux

Last week I installed Ubuntu Linux onto my 12 year old nephew's laptop. He'd pestered me to do it for a while and this time when he came to visit he brought his laptop with him so I could get it working in ways that Windows never could. He wanted his laptop to work faster than it was with Windows and for all its hardware to work. Previously, we had to re-install Windows after it had become sluggish through software installation, removal, re-installation... As usual, Windows failed to install some of his laptop's hardware. Most importantly to my nephew, Windows failed to install his sound … [Read more...]

All original content on these pages is fingerprinted and certified by Digiprove