Archive for the ‘Others’ Category
[GPU] Install Cuda Opencl on Ubuntu
The steps to install cuda, opencl for nvidia gpu on ubuntu.
Click to continue…
[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.
[C++] MinMax algorithm with noughts and crosses game (understand min-max heuristic)
Here is an example of min-max algorithm.
Click to continue…
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.
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.
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…
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…
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é
Â
.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.
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).
