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...]

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...]

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...]

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...]

Free PHP Random Rotation Script

Random HTML Rotation with PHP Scripts

This is a little PHP script I wrote to rotate ads, text snippets, images, web pages, links and anything else rotatable. In fact, I have two instances of it running in JournalXtra - one to display random ads in the sidebar and another to display random links in the sidebar. I've found it so incredibly useful that I thought I'd better write about it and share it. Random PHP HTML Rotation Affectionately called Randy, the PHP script performs a simple task: it reads an external file, picks a few random lines from it and serves them to a web browser. It is intended to be used to randomly display … [Read more...]

Scriptilitious – A Linux ScriptBox

Juicy Linux scripts for the mass automators

If you need a few handy Bash scripts to do a few, what should be,simple tasks then you're in the right place. Welcome to Scriptilitious, the Linux scriptbox. Scriptilitious is a plugin based Linux Bash script manager. The bash scripts included with Scriptilitious are: Auto Form Fill Auto Single Form Fill File Editor File Splitter HTML Parser Referrer Faker Site Scan Sitemap Maker Sitemap Ripper URL Extractor URL2Hyperlink The scripts work on any Linux system that has sed, awk, grep, wget, cURL, sort and expand installed in it. Each script is written in Bash and … [Read more...]

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

Invite Friends to ‘JournalXtra’

Supercharge your web design skills with JournalXtra

Buy me lunch!

I'm a cheap date. Where else can you buy lunch for a couple of dollars?

I accept Bitcoin too!

Categories

Dynamik Website Builder
WPMU DEV - The WordPress Experts
StudioPress Theme of the Month