Pages

Wednesday, July 28, 2010

Want it aligned center ?

A very basic formula, center a clip relatively from another.

By the way, don't be afraid of seeing much subjects related to graphical programming :
I'm a flash/HaXe developer

Wednesday, July 7, 2010

The wind rose

How to treat a complex switch-case like, for example, for a relative placement (NORTH, WEST, SOUTH, EAST and compositions) :

// return the relative position of the specified point from (0, 0)
function String placement( int x, int y ) {

...

}

Thursday, July 1, 2010

What the f***

++++++++++
[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.
<<+++++++++++++++.>.+++.------.--------.>+.>.

Wednesday, June 30, 2010

The nearest whole part

How to get the highest multiple of n wich is under p ?

Welcome !

Welcome to daily code snippets blog !

As a developer I invite other developers to participate in a daily programing quizz,
hoping that a few minutes per day thinking about practical and theoritical programing concerns, and sharing those thoughts, would help maintain and increase our mind freshness and our programing culture.

Have a nice thinking