Do you want to create an UIColor from RGB value?
Here the snipplet:
generic
[Windows] List complete command-line arguments used for each process
Hello,
I found a magic trick for windows… it use WMIC.
Using WMIC, it is possible to list out all the running processes and their parameters!
[Win] Convert .rm + .camv +.smil in AVI mpeg4
Well,
a usefully thing (for me) that convert real media files like CAMV, RM, SMIL in iPod compatible video (AVI mpeg4).
It’s a multithread windows executable easy to use.
[C#] Get Pixel Color At X,Y
Hello,
a simple trick for you to get pixel color on a particular position of your screen with Windows GDI32.dll API libs.
First of all, you need to import Win32 API:
[Shell] Argument list too long
As a Linux user, you may have to get the following error:
bash: /bin/rm: Argument list too long
There are a lot of methods to resolve this issue, but I use this stupid and simple one:
[ANSI-C] Make optimized 64bit
Un .sh come promemoria per macchine a 64bit, non si sa mai…
[Google] Pacman sulla home page
Semplicemente geniali!!!
Attivate il volume…
[C++] Coding in human language
An old snippet just for fun.
Write C++ code in human language 🙂
Magic.cpp:
#include"Magic.h"
Dear Computer
Please print "Hello World!" string
Then wait until user pressed a key
Best Regards
Programmer
Magic.h
#include<stdio .h>
#include<conio .h>
#define a )
#define Best ;
#define Computer (void){
#define Dear void main
#define key ;
#define pressed (
#define Please printf
#define Programmer
#define print (
#define Regards }
#define string );
#define Then int
#define until =
#define user getch
#define wait x
Have fun!
[C#] XML Read/Write/Append/Delete
Vediamo come creare con c# un file xml con nodi, attributi e testo in questo formato, con XmlDocument e XmlTextWriter:
[C#] Encoding Special Characters
Metodo comodo comodo per ritornare da iso-8859-1 a utf-8 una stringa corretta: