Jump to content
Tuspe Design Oy
A collection of tutorials about things I've learned or discovered. Most of the tutorials are easy to read and to learn.
Change number in file with Bash script
My goal was read the number in the file, and if the number is smaller than three add one to it, and if bigger reset the number to one. Write new to the file.
How to create a simple contact form
HTML Forms are one of the main points of interaction between a user and a web site. This tutorial teaches you how to make one.
Flickr photo albums on ProcessWire
A tutorial how to set up Flickr photo galleries on ProcessWire. I modified Sergio's photo downloading script and made Photobox effect for galleries.
Offsetting anchor links with fixed header
How to leverage browser caching
Page load times can be significantly improved by asking visitors to save and reuse the files included in your website.
Use rsync to sync local and remove files
Rsync is a powerful tool that facilitates the transfer and synchronization of data between both local and remote systems.
How to automatic backup data in Linux
Backups are one of the most important things when running a server and these scripts help backup your important data automatically.
Animated smooth scrolling effect
Every one-page website needs animated smooth scrolling effect, and this script will rock your site.
Add or remove class on vertical scroll
Add images to Drupal Views Search Page
Drupal Views is a powerful tool for all kind of mixed results but how to add images to Views' Page when url have '?'. Blocks can't help you, but PHP can.
The 10 most common mistakes with PHP
Are you guilty of one of these common PHP mistakes? Refer to this list next time you’re debugging PHP code.
A beginner's guide to Drush
Drush is a command-line shell and scripting interface for Drupal. This tutorial help you understand how Drush works and how it makes your life easier.
How to parse an XML Flickr feed
This simple XML Flickr feed parser fetch newest photos and show them with links and thumbnails.
A beginner's guide to MySQL / MariaDB
A basic tutorial how to take control of MySQL / MariaDB server, how to make a database and a user, and how to store information in the MySQL database.
Parse an XML document with PHP
A simple PHP script which can store an XML document as a file to the server and use it for the website. Replaces file older than 24 hours.
How to set up TeamSpeak 3 server
Tutorial how to set up and run a TeamSpeak 3 server as service on Linux.
How to generating SSH keys
SSH keys serve as a means of identifying yourself to an SSH server using public-key cryptography and challenge-response authentication.
How to create a simple popup