Showing posts with label Link. Show all posts
Showing posts with label Link. Show all posts

Tuesday, June 07, 2011

Angry Birds Video Tutorial

In the below link you can find links to video tutorials on YouTube for getting 3 star in all levels :

Angry Birds: Video Cheats for Every Level

solving puzzles always feel good so do not use this guide if you do not try enough to smash a level , my advice is use it if there is no other way :-P

Tuesday, March 03, 2009

Prey on the road


I don't know where is here maybe a protected wild park or something but it's creepy, imagine you are going to work in morning and some lions are eating a giraffe.
source: funny heaven

Sunday, November 30, 2008

Some Firsts

I was hanging around here that I found this pictures :

first mouse, invented by Douglas Engelbart


first web server at CERN where Internet begins

Monday, October 20, 2008

How to Get Office Version Programmatically

one of my friend asked me this question: how to get Microsoft Word's version installed on client system?
a few searches and here is the answer so far :
1- use this VBS code [^]:
Set objWord = CreateObject("Word.Application")
Wscript.Echo "Version: " & objWord.Version
Wscript.Echo "Build: " & objWord.Build
objWord.Quit

2- find the Word application path and check the file version (C#) [^] :
read the registry key in "Software\Microsoft\Windows\CurrentVersion\App Paths" to find winword.exe key, and then in the key find Path's value that refer to exe file of Word app.
//looks inside CURRENT_USER:
RegistryKey _mainKey = Registry.CurrentUser;
_mainKey = _mainKey.OpenSubKey(
"Software\Microsoft\Windows\CurrentVersion\App Paths\\"
+ "winword.exe", false);
if (_mainKey == null)
{
//looks inside LOCAL_MACHINE:
_mainKey = Registry.LocalMachine;
_mainKey = _mainKey.OpenSubKey(
"Software\Microsoft\Windows\CurrentVersion\App Paths\\"
+ "winword.exe", false);
}
if (_mainKey == null)
throw new Exception("it does not exist!");


MessageBox.Show(
System.Diagnostics.FileVersionInfo.GetVersionInfo(
_mainKey.GetValue(string.Empty).ToString()).FileVersion);



See the reference for complete code

3- use Microsoft.Office name space in .Net [^]

just this code :

//be aware of exceptions
MessageBox.Show(
new Microsoft.Office.Interop.Word.Application().Version);

Thursday, October 09, 2008

First Image by the GeoEye-1

GeoEye-1 is the world's highest-resolution commercial satellite sponsored by Google (the second will be launch in 2011 or 2012) it can take photos at a resolution of up to 41 centimeters. below photo taken at noon EDT on October 7 while the 4,300-pound satellite moving from the north pole to the south pole in a 423-mile-high orbit at 17,000 miles per hour, or 4.5 miles per second.


this satellite is actually designed for NGA (National Geospatial-Intelligence Agency) and the agency paid half of $502 million built satellite's cost.
it's somehow odd that even Google does SPYING on people, a search engine building spy satellites! with this you can not even be safe in your home knowing that Google in addition of other things may be standing above you right now.
having this wonderful res will make Google customers crazy (they can't have the best res, it's government restricted but a very good portion of it)


Source : http://blog.wired.com/wiredscience/2008/10/geoeye-1-super.html

Tuesday, October 07, 2008

Quotes

He, who laughs last, thinks slowest.

Everyone has a photographic memory. Some don’t have film.

A day without sunshine is like, well, night.

On the other hand, you have different fingers.

Change is inevitable, except from a vending machine.

I just got lost in thought. It was unfamiliar territory.

When the chips are down, the buffalo is empty.

Seen it all, done it all, can’t remember most of it.

Those who live by the sword get shot by those who don’t.

I feel like I’m diagonally parked in a parallel universe.

He’s not dead, he’s electroencephalographically challenged.

You have the right to remain silent. Anything you say will be misquoted, then used against you.

I wonder how much deeper the ocean would be without sponges.

Honk if you love peace and quiet.

Despite the cost of living, have you noticed how it remains so popular?

Nothing is foolproof to a sufficiently talented fool.

It is hard to understand how a cemetery raised its burial cost and blamed it on the cost of living.

The 50-50-90 rule: Anytime you have a 50-50 chance of getting something right, there’s a 90% probability you’ll get it wrong.

It is said that if you line up all the cars in the world end to end, someone would be stupid enough to try and pass them.

You can’t have everything, where would you put it?

Latest survey shows that 3 out of 4 people make up 75% of the world’s population.

The things that come to those that wait may be the things left by those who got there first.

A fine is a tax for doing wrong. A tax is a fine for doing well.

It was recently discovered that research causes cancer in rats.

Everybody lies, but it doesn’t matter since nobody listens.

I wished the buck stopped here, as I could use a few.

I started out with nothing, and I still have most of it.

Light travels faster than sound. This is why some people appear bright until you hear them speak

From : funtasticus.com

Sunday, October 05, 2008

Eid el-Fetr

Happy Fetr Celebration

Tehran - Iran
ThailandPakistan
Afghanistan
Egypt
Pakistan
Pakistan
Pakistan
Bosnia
Bulgaria
Palestine
Palestine
Iraq
Albania
Indonesia
Saudi Arabia
Saudi Arabia
Bosnia
Source : BBC news 1 & 2

Tuesday, September 30, 2008

Men of the World, Sleep Alone

Scientists at the University of Vienna discovered that sharing a bed during sleep (with or without intercourse) would drains men's brain, but women would not be affected by this sleep disorder. damn it.

See the full story at BBC

Sunday, September 21, 2008

Eight-Year of War

Today is anniversary of Iran-Iraq war, the war begins when Saddam Invades Iran in 1980 that lasts until 1988 and did what other wars did. see some photos of it in :

http://www.flickr.com/photos/vathlu/sets/72157607326514281/

Mickey Mouse must die

Some idiots make a bad face of Islam like radicals that explode themselves and kill innocent people to go to heaven or like this idiot that ordered mickey mouse to be killed what he thinks I don't know.
P.S : I can't find where I found the link but it is from one of my feeds of a Persian site

Wednesday, September 17, 2008

Quran Site

Tanzil is a good Ajax quranic project launched in early 2007 to produce a highly verified precise quran text to be used in quranic websites and applications. Tanzil project wants to produce a standard quran text and serve as a reliable source for this standard text on the web.

It Developed By Hamid Zarrabi-Zadeh an Iranian Ph.D candidate in the School of Computer Science at the University of Waterloo.those who interested in quran can check it here.

Monday, September 15, 2008

Add a Download Manager to Your FireFox

Life Hacker choosed the best download managers (consider that their idea not have to be exactly true) , and on top of them was Down Them All, a Firefox extension that add a download manager to Firefox, to get it check here.
P.S : we have all bad memories of how IE wasted our downloads by not having resume capability, I wonder why they don't improve their download manager, if you want to have built-in (I mean integrated) download manager you can use Leech Get , I'm using it and it's not so bad.

Thanks to 1fathi

Saturday, September 13, 2008

Smile

This summary is not available. Please click here to view the post.

Wednesday, September 03, 2008

Sunday, August 31, 2008

We Burned the Poop

This story is happened to many programmers, think about it carefully :

Erik was in his robe, brushing his teeth and getting ready for bed when the doorbell rang. As he walked downstairs to see who it was, he was thinking that it was odd to have a late-night guest, especially on such a rainy night.

Standing at the door was his boss, holding a large cardboard box. Both he and the box were soaked, his eyes sad and his lip quivering. He stood there, motionless for several seconds, before opening his mouth to say, "Take some CDs. Take all the CDs you want."

Erik didn't know how to respond -- he'd never seen his boss outside of work, and had never really thought of his boss as a fellow human. Seeing him looking this sad and vulnerable was weird.

"Do you want to come in from the rain," Erik began, "or ..."

Without uttering a word, Erik's boss set the box down on the porch, turned, and started slowly waddling back to his car through the pouring rain.

It was late and Erik was very tired, but the curiosity was killing him. Taking the box inside, he took one of the dozens of CDs and put it in his computer. And moments later, he discovered why his boss was on the verge of tears.

I Won't Forget
This was the mid-'90s, and the Web hadn't really taken off. Pre-installed CD-ROM drives were becoming the norm, and scores of small shops sprung up to create CD-based multimedia presentations. Erik worked as a VB developer on a small team that cranked out these CDs at an alarming rate.

They were producing these CDs so fast that there wasn't really any time for luxuries -- like testing -- that most teams take for granted. Instead, they'd FedEx a CD to their client and have them send back an Excel spreadsheet of bugs and changes. At the time, it was impractical to send a 10MB file over the Internet, let alone a 650MB one.

Another casualty of the process: there wasn't any time to set up source control. Instead, the latest files would be kept by the lead developer in the most secure location possible -- on his workstation in a folder on his desktop. Check-outs consisted of saying, "Hey, Gary, can I have the latest version of Project X?" Check-ins worked the same way, "Hey, Gary, here's the latest version of Project X." Sometimes Gary would remember to back the files up on a CD-R, but that didn't happen often.

During the hectic shuffle of coding blitzes and cramming CDs into cardboard sleeves, several of the more ambitious developers worked out some reusable tools to get things done faster. Erik's friend, Pat, had developed some multimedia navigation controls that made it easy to produce clickable buttons that would whisk the user off to different screens, play movies and sounds, or display information.

The Big M
Erik's company had scored a project for a multinational software company called "The Big M" around the office. Almost all of the development staff was on the project, and the company would frequently name drop "The Big M" to shore up their credibility.

The Big M called the office frequently with an ever-tightening series of micro deadlines. The project lead would get chewed out by The Big M, and the team would get chewed out by the project lead. The stress kept mounting, morale kept declining, the death marches kept getting longer and no one was happy.

Except Pat, that is. He wasn't rattled by other people's expectations and kept a sunny disposition through all the crap. He had a strange sense of perspective and an immature sense of humor. Pat invited Erik to his desk to show him some new additions to his control library -- all of which were pretty slick. Erik was looking forward to using the new features.

When one button was clicked, an alert box appeared, eloquently notifying Erik to "poop."

"Uh, why does this button say 'poop' when I click it?"

"Oh, heh, that's just testing code," Pat said with a smile. "Don't worry, I won't forget to pull it out later."

Burned
Erik, sitting in his bathrobe and still holding his toothbrush flashed back to his conversation with Pat when the CD alerted him to "poop." The "poop" control had made it -- past the bugs and changes spreadsheet -- into the final CD run. The several-thousand CD run that had cost Erik's company tens of thousands of dollars.

Later that night, Erik's company had to pay for another massive (and massively expensive) run. For such a tiny company, it was a severe financial wound.

Pat's disposition was markedly less sunny the following day, and everyone had learned a valuable lesson -- don't put offensive words in your code, no matter how certain you are that you'll remember to take them out later.

That was the last time his company ever burned the poop.

Source : the daily wtf

Saturday, August 30, 2008

Quote

Pretending to happiness is more painful than bearing misery.

from : http://cutlas.wordpress.com