Thursday, October 3, 2013

The Best way to create a Strong named dll is as follows.

creating a strong named dll using the visual command prompt.

First open you Visual studio command prompt.

Start->All Programs -> VisualStudio 201X->Visual Studio Tools->Command Prompt.

It defaults you to a location

C:\ProgramFiles(X86)\MicrosoftVisualStudio10.0\VC>

You should navigate to that location using windows.

Find the folder VC and paste  your DLL and strong named key(if you have one) at this location.

always back up your dll file.

1. You need to either generate a strong  name key or should have  strong named key with you.

1. Generate a KeyFile

sn -k keyPair.snk 
(if you already have strong named key , Ignore this step).
This is your strong named key.
microsft generates this key uniquely , so dont worry abt it.


2. Get the MSIL for the assembly

ildasm YourDLL.dll /out:YourDLL.il

3. Rename the original assembly, just in case

ren YourDLL.dll YourDLL.dll.orig

4. Build a new assembly from the MSIL output and your KeyFile

ilasm YourDLL.il /dll /key=keyPair.snk

You will see your dll updated (timestamp will change).

In addition to the original dll ,  you will also see YOURDLL.IL and YOURDLL.RES files in the folder.

you dont need these ones , once your strong named key is generated.


Thursday, January 26, 2012

Know your limits, but never stop trying to exceed them



Kyle Maynard, 25, was born with congenital amputation that left him with arms ending at his elbows and legs that end at his knees.

“There are no worthy excuses,” Maynard said. “Scripture tells us that all things are possible through Christ who strengthens us.”

At 11 years old, Maynard began wrestling at his school. After much determination, despite initial failure, he excelled in the sport, winning 36 varsity matches his senior year of high school. He now holds national titles in weightlifting competitions and has been given numerous national awards for his achievements. When he began his weight training, he could only lift 2½-pound weights; in 2009 he bench-pressed 420 pounds.

Maynard said his parents raised him to live a normal life, and he has gone through life with few adaptations. He can type up to 50 words per minute, write, eat, drive a car, and use an iPhone without assistance.

At 18 years old, Maynard wrote his book, “No Excuses,” as a freshman in college and it became a New York Times bestseller. He has appeared on The Oprah Winfrey Show, Larry King Live, ABC 20/20, Good Morning America and The CBS Early Show and many other national networks.

Maynard began traveling all over the country to share his story, but he encountered criticism along the way and had started to let it discourage him. He said he had never quit anything before, but admitted he had become a “depressed motivational speaker” and was ready to go back home, to the comfort of his family, instead of continuing in his speaking engagements.

It was at this pivotal point in his life when he was at an airport and met injured soldiers who told him they had contemplated suicide but had seen his story on television and were inspired to continue living. Maynard was in turn encouraged by their story and decided to practice what he preached and make “no excuses.”
“The challenges you have can be the greatest gift you have been given,” he said.

Maynard currently owns and operates a fitness center, No Excuses Cross Fit, in Georgia and speaks at up to 80 events throughout the country each year.

www.kyle-maynard.com

Sunday, October 10, 2010

Google does it again.


Google's Secret Driverless Cars May Have Already Passed You on the Highway

In a blog post, Google has revealed that seven retrofitted Priuses have been cruising around California without any drivers. Well, Google employees are behind the wheel in case something goes wrong. But these cars drive themselves! Google owns the future.

According to the New York Times, the cars have already driven more than 1,000 miles "without human intervention," up and down Highway 1 and have even navigated San Francisco's notoriously winding Lombard Street. The Priuses (Prii?) use cameras, radar sensors and a laser range finder hooked up to artificial intelligence software to steer the rig, and data from Google Maps to navigate, according to the official Google blog.

Wow, what other awesome gadgets does Google have that it's not telling us about? A robot that automatically calls your Mom for you every week? Please say yes.