Archive for the ‘Others’ Category



25
Nov

[GPU] Install Cuda Opencl on Ubuntu

The steps to install cuda, opencl for nvidia gpu on ubuntu.
Click to continue…

13
Oct

[Qt][OpenMP][MPI] mpi/openmp qt creator .pro flag

Add the right options to your .pro to compile with openmp or mpi under Qt creator.

Click to continue…

5
Oct

[C++] MinMax algorithm with noughts and crosses game (understand min-max heuristic)

Here is an example of min-max algorithm.
Click to continue…

16
Jun

Bash-Linux Counting lines of files in subdirectories

Because it took me 5 minutes to make the right command (do we use a pipe or not, do we put \ at the end or not, etc….), I write it here (for me like a post-it):

find . -type f -exec wc -l {} +

So this command will take every files in all directories (current and sub dir) and count the lines.

16
Nov

EviMoX – Script to control your mouse and your keyboard on Windows

Many years ago, I developed a software to control/simulate the mouse/keyboard by creating some macro. This software was called Evimox (the first).
Today, I develop something more useful and easy to use: EviMoX. It is a freeware (donationware) to run scripts and control your computer very easily.
It can also be a fun way to use programming if you are new to this.

Click to continue…

22
Oct

Picmiz ! Resize Pictures with tags – Redimensionnement avec Tags

Picmiz ! Is a software I developed quickly for my girlfriend who wanted to tag several (hundreds of) pictures. So I developed Picmiz quickly the interface is minimalist and not so beautiful… any way it does what it was made for!
Click to continue…

22
Sep

C – From Matlab To C – Some useful functions

Here are 3 basics functions that can be useful if you are translating matlab functions to C language.
Click to continue…

28
Mar

Silverlight – Indent XML (HTML) in Silverlight or C#|Silverlight – Indenter du XML (HTML) en ligne (C#)

Here is C# sample to indent XML/HTML-like code. I present 3 solutions :

  • One from Microsoft (but doesn’t completely work for me)
  • One very simple
  • Another one if the XML source is “destroyed”

Voici un exemple en C# pour indenter du langage type XML/HTML. Je présente 3 solutions :

  • Une de microsoft (qui ne marche pas completement pour moi)
  • Une pour du code simple
  • Une dernière pour du code compliqué et destructuré

 

Click to continue…

28
Mar

.Net – Compile C# at runtime|.Net compiler du C# a l’execution

I do not remember where I found this code, but it is very interesting :
you can compile C# in an assembly and then use it as you like.

Voici du code qui permet de compiler du C# a l’execution. L’assembly est gardé en mémoire (mais pourrait etre mis dans un fichier) et est directement utilisable.

Click to continue…

26
Feb

O(n) – Algorithms/Computational complexity, may I help you?

When I had started to learn Software development I learned about computational complexity. Since this time I did not use it any more. But, it is good to refresh your knowledge sometime (and why not to avoid failing an interview).

Click to continue…

Celadon theme by the Themes Boutique