Custom Search

Saturday, December 29, 2007

The New Google OS -- gOs

Wednesday, October 10, 2007

The Amazing Water Clock

A clock that runs on water?
Yes it's the Amazing Water Clock!

Sunday, May 21, 2006

The Code Linux

Saturday, March 25, 2006

Saturday, February 18, 2006

How do I export my display on Linux or Unix ?

If you're using a 'C' shell (csh, tcsh, etc):
On the host you're exporting to, type: xhost +
On the host you're exporting from, type: setenv DISPLAY :0.0

If you're using a 'sh' shell (sh, bash, ksh, etc):
On the host you're exporting to, type: xhost +
On the host you're exporting from, type: export DISPLAY=:0.0

How to Port Matlab Function into C++ Function or in a Standalone Application

The MATLAB Compiler and C/C++ Math Libraries make MATLAB's algorithms available outside of the interpreted MATLAB environment. The new versions of the MATLAB Compiler and C/C++ Math Libraries offer more functions, are easier to use, and work with MATLAB 5.

A good sample: link

Thursday, January 12, 2006

Howto Hide port 113 in D-Link Router

Hide Your Internet Ports From Snooping Hackers

see Link1
see Link2

Saturday, December 24, 2005

How To Load an Embedded Resource in C#

1) Add an Embedded Resource in your C# Project (ex: image1.bmp);
2) In your code use this call to load the Bitmap :

Bitmap image = new Bitmap(GetType().Module.Assembly.
GetManifestResourceStream("MyApplicationNamespace.image1.bmp"));

GetManifestResourceStream("ApplicationNamespace.
ResourceFileWithExtension").
or
GetManifestResourceStream("ApplicationNamespace.FolderName.
ResourceFileWithExtension").
Depending where the Resource File is located in your project.

Embedded Resource in C#, Bitmap sample

To Embedded a Bitmap as Resource in C# project:

1) Add existing file in your project (ex: bitmap file);
2) Select the new added file;
3) Set the Build Action to "Embedded Resource" in the properties Panel.

Saturday, August 20, 2005

First Post

The purpose of this blog is to share some of my knowledge in computer programming.