Tutorials

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.
12.02.2017 08:45 | Bash, Crontab, Linux, Server

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.
01.01.2017 08:43 | PHP, HTML, SQL

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.
10.11.2016 00:00 | PHP, Websites, ProcessWire

Offsetting anchor links with fixed header »

Using anchor links with a fixed header is a problem, as the body text may be hidden underneath the header.
04.10.2016 02:35 | Websites, CSS, HTML

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.
12.09.2016 01:20 | Websites, SEO, Cache

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.
14.05.2016 15:50 | Server, Backup, Crontab, Linux

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.
24.04.2016 11:37 | Server, Linux, Backup, Crontab, Bash

Animated smooth scrolling effect »

Every one-page website needs animated smooth scrolling effect, and this script will rock your site.
21.04.2016 19:16 | JavaScript

Add or remove class on vertical scroll »

A tutorial to show how use JavaScript and CSS to change appearance of when scrolling down on the website.
02.03.2016 01:20 | JavaScript, CSS, HTML

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, but PHP can.
01.03.2016 00:38 | PHP, Drupal

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.
21.02.2016 09:13 | PHP

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.
27.01.2016 17:01 | Drupal, Server, Linux

How to parse an XML Flickr feed »

This simple XML Flickr feed parser fetch newest photos and show them with links and thumbnails.
24.10.2015 00:58 | XML, PHP, CSS, HTML

A beginner's guide to MySQL »

A basic tutorial how to take control of MySQL server, how to make a database and a user, and how to store information in the MySQL database.
19.10.2015 23:24 | SQL, Linux, Server

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.
01.10.2015 19:57 | XML, PHP, Server

How to set up TeamSpeak 3 server »

Tutorial how to set up and run a TeamSpeak 3 server as service on Linux.
29.09.2015 23:20 | Server, 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.
19.09.2015 00:23 | Security, Server, SSH

How to create a simple popup »

Simple PHP / JavaScript popup created for Drupal but can be used with any platform. Popup works only once and again after the cookie is cleared.
16.09.2015 21:03 | PHP, CSS, JavaScript, HTML