Tuesday, September 30, 2008

Customize Your Project Build Process : Visual Studio Hacks

Customize Your Project Build Process : Visual Studio Hacks
While the Visual Studio build process is familiar for all .NET developers, not everyone realizes the build customization capabilities that can be accomplished with just a little work. You can easily put together tasks that occur before, after, and even during a build.

Saturday, September 27, 2008

Tetris AI

Tetris
This article describes how a computer can play the classic video game Tetris by getting information about the board, determining good actions, and performing those actions.
This article includes software capable of playing Tetris in real time.
The software includes the best real-time Tetris-playing algorithm in the public domain.

Thursday, September 25, 2008

Sending SMS using emails

T-Mobile:phonenumber@tmomail.net
Virgin Mobile:phonenumber@vmobl.com
Cingular:phonenumber@cingularme.com
Sprint:phonenumber@messaging.sprintpcs.com
Verizon: phonenumber@vtext.com
Nextel: phonenumber@messaging.nextel.com
US Cellular: phonenumber@email.uscc.net



SunCom: phonenumber@tms.suncom.com



Powertel: phonenumber@ptel.net



AT&T: phonenumber@txt.att.net



Alltel: phonenumber@message.alltel.com



Metro PCS: phonenumber@MyMetroPcs.com

Tuesday, September 23, 2008

Good awk tutorial

AWK Tutorial with Examples, AWK Reference
AWK Tutorial, Learn AWK

The awk utility interprets a programming language that makes it possible to handle simple data-reformatting jobs easily with just a few lines of code.

Very good SED tutorial with examples

SED Tutorial with examples
SED Tutorial

* The sed utility is an "editor"
* It is also noninteractive. This means you have to insert commands to be executed on the data at the command line or in a script to be processed.
* sed accepts a series of commands and executes them on a file (or set of files).
* sed fittingly stands for stream editor.
* It can be used to change all occurrences of "SAD" to "SED" or "New York" to "Newport."
* The stream editor is ideally suited to performing repetitive edits that would take considerable time if done manually.

Friday, September 12, 2008

good ffmpeg tutorial

ffmpeg audio/video manipulation
This tutorial should enable you to install ffmpeg and the auxiliary libraries that will give ffmpeg support for various codecs. It'll then go on to explain the basics of what a video file is, how it's created by ffmpeg and how a media player takes it apart again to display the picture and give you the sound. Next, you'll find out how to influence the way the data is produced. Finally, I'll deal with more advanced topics such as merging several sources and introducing time differentials.

Thursday, September 11, 2008

HOWTO: Compile the latest ffmpeg and x264 from source - Ubuntu Forums

HOWTO: Compile the latest ffmpeg and x264 from source - Ubuntu Forums
ffmpeg is a versatile video tool used to encode and convert a multitude of video and audio formats. x264 is a library used to encode H264 video and creates excellent looking video usually superior to xvid and other popular codecs. x264 is used by Avidemux, GordianKnot, VLC Player, MEncoder, and Handbrake.

Although ffmpeg and x264 are available in the Ubuntu repositories, you may need to compile from source. For example, the ffmpeg-user mailing list requires that you use the latest ffmpeg svn before asking for help. Since ffmpeg and x264 are updated frequently, you may also like to have the bleeding-edge for encoding videos. Also, ffmpeg in the Ubuntu repository may not support all of the codecs and formats that you may need.

This tutorial was tested on a command-line install of Ubuntu Hardy Heron (8.04) on a Pentium 4 3.0 GHz with 2 GB RAM using ffmpeg and x264 source files retrieved on May 7, 08. It was also tested in a standard Hardy Heron installation in VirtualBox.

Friday, September 05, 2008

How to configure Pidgin to work with Google Talk

How to configure Pidgin to work with Google Talk >> T & T >> The Tech Bytes
Pidgin (earlier Gaim) is a multiple protocol Instant Messenger client which can be used to chat using MSN, Yahoo, AIM and many other protocols. But most people do not know that you can use Pidgin to chat with Google Talk users.

Pidgin supports a protocol called XMPP (Extensible Messaging and Presence Protocol). XMPP is the core protocol of the Jabber protocol and GTalk is also based on the Jabber protocol. So it is quite easy to make Pidgin to work with GTalk.

Thursday, September 04, 2008

Ubuntu Linux runlevel configuration tool to start service

Debian or Ubuntu Linux runlevel configuration tool to start service
rcconf is Debian runlevel configuration tool. Rcconf allows you to control which services are started when the system boots up or reboots. It displays a menu of all the services which could be started at boot. The ones that are configured to do so are marked and you can toggle individual services on and off. If rcconf is not installed use apt-get command:
# apt-get install rcconfOR$ sudo apt-get install rcconf Now run rcconf and just follow on screen instructions:
# rcconf