Pages

Monday, July 23, 2012

Google Webfonts

Sometimes we would like or blogposts to stand out in one way or the other. By using google webfonts we can make our posts look a bit more interesting, or even handwritten. We can do this globally, on our entire blog, or we can make just a few paragraphs handwritten.

Like this handwritten note.

We can also use more than one font in the same blogpost.

Here's a simple primer for how to accomplish this.

Saturday, July 21, 2012

Linux Tutorials

Linux has become the preferred OS for me and my company. Not only for the fact that it is free, but also because of the possibilities it gives us.

For a small company as ours Linux is the perfect solution. It provides us with a stable and secure platform for our servers running mail, webserver, fileserver, printserver, automated backups and a lot more.

Of course we need to know a thing or two about installing it and setting up the various components . And I am always looking for more information on how to configure and setup different parts of Linux and other Open Source Software.

Recently I found out that linux.org had redesigned their site and of course I had to take a look at it.

Friday, July 20, 2012

Can git help me?

Sometimes I work on creating my own project management system. More than once I have been thinking about making it into a github or sourceforge project hoping that soemone will find it interesting enough to join in on developing.

I still think it is too much of a specialized project and because of this I have decided to continue the work myself so I can streamline it the way I want it for our company.

This means I need to try new features or another approach for a certain problem. And sometimes it works as expected but sometimes I have been reverting to my previously backed up file. (I.e. copying from another folder.) I have used bazaar in the past but decided I would take a look at git since I have heard so much good thingds about it.

Wednesday, July 18, 2012

Next AUTO_INCREMENT number in mySQL

Here's a quick little tip if you are going to add a new item in a mySQL table and would like to know the next AUTO_INCREMENT value.

Simply query the mySQL-server for the next value in your table like this:

SELECT AUTO_INCREMENT FROM information_schema.TABLES 
WHERE TABLE_SCHEMA='<DB_NAME>' 
AND TABLE_NAME='<TABLE_NAME>

Replace <DB_NAME> and <TABLE_NAME> with the appropriate DB-schema and table name on your own mySQL server.