Archive for May, 2009

Enable webcam using ActionScript2

var testcam = Camera.get();
testvideo.attachVideo(testcam);

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Uncovering my face to community

I started changing my avatar to my real photo on forums, blogs, messengers etc. as a part of avoiding anonymity confusions. Read somewhere, it is needed for self marketing. Anyway my avatar will still continue valid
Here is my current avatar/logo. I use this for more than 2 years now. Not sure whether this [...]

Leave a Comment

Get IP location from ASP.NET, PHP, etc.

Just found this free service http://ipinfodb.com/ip_location_api.php
XML API:
To get City precision:
http://ipinfodb.com/ip_query.php?ip=your_ip_address
To get Country precision: (claims this is more faster than above)
http://ipinfodb.com/ip_query_country.php?ip=your_ip_address
Get more details about xml api here: http://ipinfodb.com/ip_location_api.php
JSON API:
To get City precision:
http://ipinfodb.com/ip_query.php?ip=your_ip_address&output=json
To get Country precision:
http://ipinfodb.com/ip_query_country.php?ip=your_ip_address&output=json
Optional call back:
http://ipinfodb.com/ip_query.php?ip=your_ip_address&output=json&callback=myfunction
Get more details about json api here: http://ipinfodb.com/ip_location_api_json.php
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Comments (4)

Learn to “steal”

This is a piece of interesting robbery story I witnessed recently. Today I thought to share with my readers since I laughed sometime because of this. Here it goes:
One or two years back we found that my company’s official website (the company I work for) is copied by some company (Sun Tiara) in Bangalore (India). [...]

Leave a Comment

Bing! Bing! Bing!

What is bing?
Answer: Microsoft’s new Search.
URL: http://www.bing.com (well, you need to wait more)
Bing is specifically designed to build on the benefits of today’s search engines but begins to move beyond this experience with a new approach to user experience and intuitive tools to help customers make better decisions, focusing initially on four key vertical areas: [...]

Leave a Comment

My StackOverFlow answering status

A member for 2 months and as of now I have 573 reputation, 1 silver badge, 8 bronze badges and 95 tags in StackOverFlow. Cool
 

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Windows and iPhone development with emulator

Just happened to read this interesting blog.
May be the question of ‘How to develop iPhone application on Windows’ is there from the release of iPhone itself. As said in that blog, you can find much questions about iPhone on StackOverflow.
Usually I do (most people do… i would say) Windows Mobile Programming with the help of [...]

Leave a Comment

My 786th post on MyTechnopark.com

Today I reached 786th post in MyTechnopark forums.

No idea what is the importance of 786. But I see some people running to get this number as their vehicle registration number, phone number etc.
Well, I hope it is kinda some lucky number
VN:F [1.1.6_502]Rating: 5.0/5 (1 vote cast)

Leave a Comment

How to open Windows Task Manager from command line?

Apart from Ctrl+Shift+Esc, you can invoke task manager from command line also.
On Start –> Run –>
Type: taskmgr

VN:F [1.1.6_502]Rating: 5.0/5 (2 votes cast)

Leave a Comment

Get Windows Edition information from SQL Server

One way is to extract from @@VERSION.
Another way is to use exec master..xp_cmdshell ’systeminfo’
One more way will be to use a CLR Function (or stored procedure). Sample below:

using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
 
public partial class UserDefinedFunctions
{
[Microsoft.SqlServer.Server.SqlFunction]
public static SqlString Function1()
{
[...]

Leave a Comment