Salagir's Blog

Bon le blog est devenu tout simple tout moche, mais j’ai passé 24h à le mettre à jour. Il a peu de visites. Son ancien design n’était pas foufou. On va en rester là, hein. C’est surtout du texte après tout.

Année : 2009

  • Remplir une forme dessinée avec Photoshop

    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…

  • Where does my Nickname « Salagir » come from

    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…

  • Make comics balloons with Photoshop

    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…

  • Faire des bulles (phylactères) avec Photoshop

    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…

  • Convert HTML into BBcode

    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…

  • Displaying a progress bar

    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…

  • Time Functions: Displaying rounded and international

    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…

  • Translation SQL table and translation system

    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…

  • List all 404 errors from a Apache server

    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…

  • Rangeur de backups

    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…