Salagir's Blog

Old name was: "Why do witches burn?"

This is french section. Go to English version

Archive for 2009

Remplir une forme dessinée avec Photoshop

Le jeudi, octobre 1st, 2009

Aujourd’hui mes petits amis, on va colorier un dessin en « lignes claires » en niveau de gris. je veux dire par là, un dessin que vous avez encré sur papier et scanné, ou dessiné directement à la tablette graphique, mais pas un noir et blanc : en niveau de gris afin d’avoir, avec une définition plus […]

Read the rest of this entry »

I am often asked where my nickname comes from. Here’s the explanation. From now on, when you ask me, you shall cowardly forward you here. I don’t know for English people, must most French make the mistake, the « g » of Salagir is pronounced like in « git », not like in « geek ». Long ago, when I was […]

Read the rest of this entry »

Make comics balloons with Photoshop

Le mercredi, août 12th, 2009

Translation of my tutorial on how to make a speaking balloon on your comics easily. In your image, create a layer on the top, fill it with white paint, and name it « balloons ». Then, go to the menu Layer > Vector Mask > Hide All After, take the Ellipse tool tips in the vector drawings […]

Read the rest of this entry »

Il est temps de buller. Je vais dévoiler mon plus grand secret après la recette de l’œuf sur le plat à la Salagir : comment faire efficacement des bulles dans vos BD. Dans votre dessin, créez tout en haut un calque à remplir de blanc au pot de peinture, et nommez-le « Bulles » ou « Balloons » qu’on […]

Read the rest of this entry »

Convert HTML into BBcode

Le mercredi, avril 8th, 2009

BBcode is the syntax used in phpBB forums and some other websites with edit forms, due to it’s simple and intuitive syntax, opposed to that stupid wiki code no one ever gets. If, like me, you ever wanted to post the content of an html page, this Perl script is for you. It takes a […]

Read the rest of this entry »

Displaying a progress bar

Le dimanche, mars 1st, 2009

Ok, it’s not really a bar. Draw something, being careful of the width of your command-line terminal, is tricky. But, you’ll get the display of the percentage of progress of the script and the time that is probably remaining. Example. You have a script doing 20,000 times about the same thing. You want to know […]

Read the rest of this entry »

Be careful, this is the translation of two French articles and it’s long. Today we will be writing time in a way that is comfortable for a human reader. Who want to read, « Only 0h 00mn 18s left » at the end of a count that began an hour ago? Before, strftime() was enough. Now, time […]

Read the rest of this entry »

Translation SQL table and translation system

Le mardi, février 10th, 2009

This is a short, non-interesting article about a translation system. Nothing new or original here. I put here because my next article will use it and it’ll be a very long one. I a few month, I’m gonna talk a lot about translation. I’ve made many things about it, especially for automatic translations. Here, it’s […]

Read the rest of this entry »

List all 404 errors from a Apache server

Le lundi, janvier 26th, 2009

This is not the only solution to know if your website got dead links. For example, Awstats will tell you them too, but only from on site at the time. Also, online dead link finders are you friends, like W3C Link Checker. My solution works directly on the server, and also find the errors that […]

Read the rest of this entry »

Rangeur de backups

Le lundi, janvier 26th, 2009

Vous me croyiez mort ? C’est que vous n’avez pas beaucoup suivi mes autres sites alors… Puisque je n’ai pas fais de mise à jour ici depuis la mort soudaine de mon serveur, parlons de backups. Bon, backuper c’est super facile. En gros j’utilise trois façons : Pour une BDD : mysqldump [infos cnx] |gzip […]

Read the rest of this entry »