The most complete .htaccess generator ever – v0.1

.htaccess is a file used with Apache servers to set configurations on a directory level. This is particularly useful when you are setting specific configuration for different directories. It is also useful (and recommended to be used only) in case you don’t have access to the main configuration file for Apache – which is mostly the case covering websites on shared-hosting accounts.  There are a lot of tricks you can do with the .htaccess file like password protecting a directory, changing the way your hosted file extensions appear to users and even securing your WordPress website against malicious scans and requestsContinue reading “The most complete .htaccess generator ever – v0.1”

Linux permissions prettified

Even though I was using Linux for a while, I really didn’t got the idea with the file permissions clear from the beginning. Or even after a year. Changing permissions to allow certain things to happen (e.g. execute a script file) was embedded into my habits, but without really understanding what was happening. Nor did I was that interested to find out, but there is a point where you really want to know what you’re doing and not run commands just because you want “stuff working”.

Continue reading “Linux permissions prettified”

All in one PXE server

During a cool project where I was using FOG (free open-source ghost) I realized that having a PXE boot server can pose numerous advantages. I wanted a PXE boot server that included FOG and it’s capabilities along with a multitude of operating systems and utilities that can be installed / ran over the network. This can replace the need of having a X number of CDs/DVDs/USB sticks around and the best of it all, multiple PCs can be booted with the same live OS or utility at the same time. Continue reading “All in one PXE server”

Collaborative coding for beginners with Git and Eclipse

Most of my code related projects were done individually – as in , only by me. Mainly because the complexity of what I was doing wasn’t that high and the way I was doing it wasn’t the proper one. As I started bigger projects and as I began to have others collaborate with me on the same code, problems started appearing because there was no clear structure that allowed easy collaboration. To ease collaboration and make this go more smoothly we had to do some extra effort in regards to documenting what we were doing and the way we coded. Continue reading “Collaborative coding for beginners with Git and Eclipse”

What is SSH tunneling

A SSH tunnel is the SSH connection between a client and a SSH server, through which we direct our traffic. To better understand this, the diagram below illustrates it very simple. A client PC located in the US establishes a SSH connection wit SSH server located somewhere in Europe. The client PC is accessing google.com, through an SSH tunel (green line) and directly, with no SSH tunnel (blue line). When the user has accessed google.com through the SSH tunnel, google.com will process the visit as it have came from the SSH server in EU, thus resulting in google.com encountering a european IP. In the other case (blue line), the client PC is accessing google.com as normal, google.com processing its IP as originating from the US. Continue reading “What is SSH tunneling”