Blog

Syncronizing your usb and hard disk with Unison

Today I decided to automate the tedious process of syncronising my SD card and hard drive (for example to get files to an e-book reader faster and be able to read from it more often (which is way better than straining your eyes reading from a monitor)). The good thing is that you can later use the same technique to sync USBs, external hard drives, even remote machines via ssh or ftp – you just tweak the paths.

First I thought of Linux’ rsync command, but Unison is suggested as a bit more user-friendly and abstract program that achieves the deed. Here’s how you do it.

Continue reading Syncronizing your usb and hard disk with Unison

Dynamic web page construction in Ubuntu – Part 1: installing a LAMP server

Introduction

In this topic (which will span through several posts) I will share my experiences in creating a dynamic web page on the example of www.epska.org, the site I am currently building on my own from scratch (unlike this blog, which is done using the Drupal CMS). It is dynamic on several levels: 

1. content is separated from design using a .css file
2. navigation menu, header and footer are separated from the content of the page by using the php include function.
3. content is dynamically extracted from a MySQL database

The business

In this first part, we will install and set up a working localhost server – for debugging or (in case you have your own server) actual hosting of the web site.

Continue reading Dynamic web page construction in Ubuntu – Part 1: installing a LAMP server

How to set up an OJÄB VPN connection in Ubuntu GNU/Linux

1. Required packages

You’re gonna need “network-manager-pptp” package installed.
If you can connect to the Internet somewhere else (like in a Coffee
bar or sth) open Synaptic package manager, search for and install the
“network-manager-pptp” package (or enter “sudo apt-get install
network-manager-pptp” from a terminal).

If you don’t have Internet available anywhere you can also find
this package on the Ubuntu install CD if my memory is good (somewhere
buried in the folders).

Continue reading How to set up an OJÄB VPN connection in Ubuntu GNU/Linux

First post

In the long tradition of first posts this one is not much of an exception.

The general information about me and my blog can be found in the oh-so-wierdly-named “about” section.

In the blog I will write about my findings in the world of hacking (i.e. becoming more efficient through programming, using useful programs and/or discovering new technologies), in the manner of so many other blogs. Because I depend on information from sources like these a lot, this is my way of saying “thank you” to the community.

I also hope to make several hobby sections soon with photography, music and videos.

Well, so much for my first post. I shall get to some fixin’ up of the design now, so that everything’s nice’n’shiny by the time people get to actually read this 🙂