notbanksy's blog

Web Design, Linux and other nonsense

Essential linux commands for web developers

This list is by no means exhaustive, but it should cover most eventualities for developers using linux. If you haven’t yet tried developing a website on a linux machine, then do so immediately! Thank you.

Some of the commands included here also appear in a previous post of mine – Top Linux Terminal Tips, so apologies to those obsessive followers (you know who you are!) for this small amount of repetition.  I should also credit ErisDS for prompting this artice – pop over to her fantastic musings of ErisDS blog; there’s some great stuff there. And apologies to Eris for not covering all her suggested topics… Way too much for one post, but watch this space!

Read the rest of this entry »

Filed under: bash, linux

Php MySQL gig listing script tutorial part 2

Welcome to part 2. This part is a lot lighter than part 1; I’m sure you’ll fly through it. Basically we’re going to walk through the administrative functions of editing, cancelling and deleting gig listings. At the end I’ll list all the files needed to make the admin area actually work, such as login, logout etc. No explanation of these other files will be given as I explained in part 1. A thorough look at them can be seen in my guestbook tutorial.

If you glance back at the end of part one, I left you with the buttons to edit, delete and cancel gigs. The first function we’re going to look at is editing. Here’s the file, it’s called edit_gig.php. All the while, you’ll notice that these administrative functions always start with a check to see if the user is logged in: Read the rest of this entry »

Filed under: linux , , ,

Linux Terminal: Simple Bash HTML Gallery generator

This is where being a linux user gives you a huge advantage over those Microsoft nambies!  Ever cursed those long hours spent writing out a massive HTML document after your client has given you 125 images for a new gallery page on their site?  I know I have, and I’ve got the square eyes and caffeine addiction to prove it.  What if linux could see those images, make a note of their names, and generate the bulk of that HTML for you?  Wouldn’t that be a relief?  Not to mention a massive saving of time and money too.  Well, it can!

This idea is so simple, and so easy to execute that it’s a wonder anyone anywhere is making web pages on a windows machine!  Feel free to laugh at anyone you know who is currently doing so.

Read the rest of this entry »

Filed under: bash, linux

Top Linux Terminal Tips

What’s the best thing about linux? For me, it’s the terminal, and I think it’s a real shame how so many people shy away from linux because they’re intimidated by the terminal, or command line interface (CLI). It’s such a waste, but I also understand, because it made me nervous too in the beginning. But once you get going, it’s actually much more fun than just pointing and clicking, and of course, you are giving yourself a ‘heducation’ at the same time, innit?

So here’s a few pointers to make your GUI-free experience beautiful!

//Time’s Arrow

How many of you have read Martin Amis’s ‘Time’s Arrow’? Well, it bears no relevance to this part of my post, other than to provide a catchy title, but if you must know, it’s about a German Holocaust doctor who experiences time in reverse. Read the rest of this entry »

Filed under: linux , ,

What’s notmrsbanksy up to?

Oh man! She's gone and set herself up as a dog rescue! Mostly saving pound dogs (UK) from being put down. Once Loved Dog Rescue.


She also lists UK pound dogs on her site Pound dog rescue link.


Boson has a new home!

Boson has a new home

WOOF!