Salagir's Blog

Old name was: "Why do witches burn?"

This is french section. Go to English version

Archive for the 'English Posts' Category

Bash colors

Le vendredi, mars 9th, 2018

Wanted to share this. PHP for colors when you write in CLI.

Read the rest of this entry »

Make simple Variables and Identifiers

Le mardi, décembre 10th, 2013

(This pages contains a few weird characters like kanjis that may not display properly on your computer. Don’t worry, it’s not essential to the text) (J’ai mis ce texte dans la version française aussi par flemme de le traduire. Vous y arriverez, allez-y !) Unicode is the future (even the present), but please, not in […]

Read the rest of this entry »

PHP functions reminder

Le mercredi, avril 10th, 2013

I love PHP, but when it comes to consistency, it sucks very very very hard. I’m tired of going to the (very very good) php.net site to check functions arguments and order and such, so now, all what I usually check will be here. Nothing here is « complete ». My goal isn’t to make a doc, […]

Read the rest of this entry »

Easy page setting for scenarists

Le dimanche, juin 6th, 2010

French version of this article This page is for the cartoonists who will work with me as a scenarist. I explain here my methods. When I write a page, I do it panel per panel. Each panel is separated by an empty line, and each information is on a new line. Description, each said sentence… […]

Read the rest of this entry »

Backup organizer

Le jeudi, mai 6th, 2010

Backuping data is real easy (with linux). I use three different ways: For a data base BDD : mysqldump [cnx infos] |gzip > backupbdd.sql.gz For not too numerous files, which data is important, like configuration ones: tar czvf yoyobackup.tar.gz dafiles/ For files I want to access easily and/or numerous : rsync -av me/ othercomputer:me/ In […]

Read the rest of this entry »

Photoshop Text Extractor

Le mercredi, mars 17th, 2010

While making Geek’s World, I often change the text at the last moment. As a result, the content of the .psd file was more accurate than the text in the database. Plus, I also used to translate from English to French directly in photoshop. And as I want to display the text on my webpage […]

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 »

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 »