I have recently learned about git rm --cached. It’s a very good tool, as it removes a file from tracking, without removing your local copy of it. However, be warned that if you use git pull in another working copy, the file will be removed from there! If you …
read more-
-
Registering an enum type in GLib’s type system
I faced a problem in my GLib self-teaching project, wMUD today. I wanted to register a signal for a GObject, whose handler should accept two enum parameters for which I had to register a new GEnum type in the GObject type system. However, the documentation on this feature (thanks for …
read more -
Development man pages on Fedora
If you use Fedora (like me), and can’t find the development manual pages for e.g. printf(3) (like me), just yum install man-pages (like me).
read more -
Changing the session cookie’s name in Symfony 2
I have a development server, on which I have several Symfony 2.x projects under the same hostname in different directories. Now I’m facing a funny problem which is caused by that the cookies Symfony places for each of my projects have the same name.
To change this, you …
read more -
SmsGateway and SmsSender
-
How to start becoming a web developer
A friend of mine asked me today how to become a web developer. It took me a while, but I made up a checklist. It’s short, but it’s enough for the first steps.
First of all, learn English
Well, if you read this, maybe this was a bad …
-
Why you should always test your software with production data
I’m writing a software for my company in PHP, using the Symfony 2 framework. I’ve finished all the work, created some sample data, it loaded perfectly. Now I put the whole thing into production and tried to upload the production data into it. Guess what… it didn’t …
read more
« Page 3 / 3