Umer Rasheed

Latest technology news, tips and tricks for programmers.

What are MIME Types?

MIME actually stands for “Multimedia Internet Mail Extensions” initially started to solve the problem of email attachments but now web browsers are using it to communicate with Web Server files.

Web Browsers does not recognize the file by using its extension. Sometime we even do not need to specify the extension. Browser basically go and see content-type of that file. Content-Type  tells browser that what type of file content it contains.

Following are some examples.

Content Type extension description
text/html .html Web Page
image/png .png PNG image
image/jpeg .jpeg JPEG image
application/x-silverlight-app .xap Silverlight xap file

Filed under: Web/HTML, , , , , , ,

Nexus One in Pakistan

i am desprately waiting for Nexus One in Pakistan. If anyone want to sale or have any info..  please comment along with the price 🙂

Filed under: Phone, , , , , , , ,

Running processes in LINUX / UNIX

We can use following command to see all the running processes

# ps aux | less

Filed under: LINUX / Solaris / UNIX, , , , , ,

Landscape view of marghalas

This pic is taken from my office roof. What a view!!!!

Filed under: Pictures, , ,

Got my iPhone 3G 16GB

Today i got my iPhone 3G 16GB.  It’s full with great capabilities.. Screen resolution is extremely good.  Simply a great phone..

Filed under: Uncategorized, , ,

Announcing VS2010 / .NET Framework 4.0 Beta 1!

To read more check out This Site

Filed under: .NET, Microsoft, , , , ,

Statement on the Assassination of Martin Luther King, Jr.

Statement on the Assassination of Martin Luther King, Jr.

Indianapolis, Indiana
April 4, 1968

I have bad news for you, for all of our fellow citizens, and people who love peace all over the world, and that is that Martin Luther King was shot and killed tonight.

Martin Luther King dedicated his life to love and to justice for his fellow human beings, and he died because of that effort.

In this difficult day, in this difficult time for the United States, it is perhaps well to ask what kind of a nation we are and what direction we want to move in. For those of you who are black–considering the evidence there evidently is that there were white people who were responsible–you can be filled with bitterness, with hatred, and a desire for revenge. We can move in that direction as a country, in great polarization–black people amongst black, white people amongst white, filled with hatred toward one another.

Or we can make an effort, as Martin Luther King did, to understand and to comprehend, and to replace that violence, that stain of bloodshed that has spread across our land, with an effort to understand with compassion and love.

For those of you who are black and are tempted to be filled with hatred and distrust at the injustice of such an act, against all white people, I can only say that I feel in my own heart the same kind of feeling. I had a member of my family killed, but he was killed by a white man. But we have to make an effort in the United States, we have to make an effort to understand, to go beyond these rather difficult times.

My favorite poet was Aeschylus. He wrote: “In our sleep, pain which cannot forget falls drop by drop upon the heart until, in our own despair, against our will, comes wisdom through the awful grace of God.”

What we need in the United States is not division; what we need in the United States is not hatred; what we need in the United States is not violence or lawlessness; but love and wisdom, and compassion toward one another, and a feeling of justice toward those who still suffer within our country, whether they be white or they be black.

So I shall ask you tonight to return home, to say a prayer for the family of Martin Luther King, that’s true, but more importantly to say a prayer for our own country, which all of us love–a prayer for understanding and that compassion of which I spoke.

We can do well in this country. We will have difficult times; we’ve had difficult times in the past; we will have difficult times in the future. It is not the end of violence; it is not the end of lawlessness; it is not the end of disorder.

But the vast majority of white people and the vast majority of black people in this country want to live together, want to improve the quality of our life, and want justice for all human beings who abide in our land.

Let us dedicate ourselves to what the Greeks wrote so many years ago: to tame the savageness of man and make gentle the life of this world.

Let us dedicate ourselves to that, and say a prayer for our country and for our people.


Filed under: Latest, , , ,

Protected: Contact Umer Rasheed

This content is password protected. To view it please enter your password below:

Filed under: Latest, , ,

Eid Milad-Un-Nabi Greetings

I convey my cordial & sincere greetings to all on the occasion of Milad-Un-Nabi, the auspicious day on which Prophet Hazrat Mohammad Sahib made his descent on earth.

Filed under: Latest, , ,

Killing a process by port number in LINUX

To find a process id by port use this command

lsof -i:<port>    e.g. lsof -i:7001

If the process is running using the above port. It will show you the list. Note down the process id

To kill the process by force use this command

kill -9 <process id >   e.g. kill -9 7001

Filed under: Latest, , , , ,

RSS Enjoy Silverlight Articles

  • An error has occurred; the feed is probably down. Try again later.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1 other follower

September 2019
« Apr    

Flickr Photos

Blog Stats

  • 3,477 hits

Top Clicks

  • None