Python Logging system

   Today, we will learn how to realize a simple logging system using the useful Python logging module. If you are developing big applications using Python, it may be useful to print values or messages in the console or into … Continue reading

Tagged , , , , ,

Using colors in Shell scripts

   If you are realizing bash scripts, you may have noticed that their result isn’t “colorized”. That’s why I’m going to show you an easy way to add the colors you want where you want. First, you have to declare … Continue reading

Tagged , , , , ,

Connecting to a database using C#

   Today, we will see how to connect to a database when you are programming a C# application. You will see how to realise a SQL query on this database and how to use its results. First, you must include … Continue reading

Tagged , , , , ,

NumericUpDown using ASP.NET & C#

   If you are developping an application with ASP.NET and C#, and working on Visual web developer 2005 or an older version, you won’t use AJAX controls. Which means you may need some useful items like a NumericUpDown which is … Continue reading

Tagged , , , , ,

Summarize posts on the front page of a wordpress blog.

   How to show only the beginning of posts on the front page of a wordpress blog ? Some themes seem to be doing it automatically.  However, most of them require a very simple modification. After having installed your theme, … Continue reading

Tagged , , , ,

Hello World !

Welcome on my new blog. I will add new posts soon, about computing and programming.  I will use code examples using a wordpress plugin like this : Posts will be written in both English and French, just pick your language … Continue reading

Tagged ,