Sunday, March 04, 2018

"The Devoted Friend" by P. Craig Russsell.

"The Devoted Friend" by P. Craig Russsell.

"The Devoted Friend" is a darkly comic short story for children by the Irish author Oscar Wilde. It was first published in 1888 in the anthology The Happy Prince and Other Tales, which in addition to its title story also includes "The Nightingale and the Rose", "The Selfish Giant" and "The Remarkable Rocket".

The two main characters in "The Devoted Friend" are a poor man known as little Hans and a rich Miller. The Miller claims to be a devoted friend of little Hans. In truth, he selfishly takes advantage of little Hans at every opportunity. Little Hans always does everything that the Miller asks him to do because he does not want to lose the Miller's friendship or offend him. Little Hans' desire to remain the Miller's friend ultimately proves fatal for him.


"The Devoted Friend" takes the form of a "story-within-a-story". The main narrative is told to a Water-rat by a Linnet. The Water-rat chastises a Duck for allowing her children to misbehave. When the Duck responds that she is a good parent, the Water-rat says that he knows nothing about family life because he is single. He goes on to say that he is not interested in love but thinks that, "there is nothing in the world either nobler or rarer than a devoted friendship". When the Linnet asks the Water-rat what he would expect of a devoted friend, he replies, "I would expect my devoted friend to be devoted to me". In an attempt to show the Water-rat the foolishness of what he has said, the Linnet tells him the story of little Hans and the Miller.

During the spring, summer and autumn, little Hans makes a living by selling the flowers and fruit from his beautiful garden. During the winter, he struggles to survive. Hugh the wealthy Miller, who owns several cows and sheep in addition to his profitable mill, claims to be a good friend of little Hans. He often goes to see him from spring to autumn, always helping himself to a lot of little Hans' flowers or fruit when he visits him. The Miller never goes to see little Hans during the winter, claiming that he is certain that little Hans would not like to be bothered during that difficult time of year.

 the Miller visits little Hans. He finds out that, in order to have any money for food during the winter, little Hans was forced to sell several of his possessions, including his wheelbarrow. The Miller tells Hans that he will give him his old wheelbarrow, which is in very bad condition with one side completely missing. Hans replies that he can repair the wheelbarrow because he has a plank of wood in his house. The Miller says that the plank is exactly what he needs to fix the hole in the roof of his barn. The Miller goes on to ask Hans to fill a large basket with flowers. The Miller tells Hans that it would be unfriendly to refuse him the flowers or the plank since he has promised him his wheelbarrow.

The following day, the Miller tells little Hans to take a sack of flour to market for him. The next day, he tells Hans to fix his barn roof. The day after that, he tells Hans to drive his sheep to the mountain. Each day, the Miller has another task for little Hans which takes Hans all day to perform. The Miller always tells Hans that it would be unfriendly of him to refuse and reminds him that he has promised to give him his wheelbarrow. Little Hans has no time to tend to the garden which he depends on to make a living.

On a stormy night, the Miller comes to little Hans' house. He says that his son is injured and tells little Hans to fetch the doctor. He refuses to lend Hans his lantern because it is a new one. Again, he reminds little hans that he has promised to give him his wheelbarrow and that it would be unfriendly to refuse to help him. Little Hans follows the doctor back to the Miller's house. However, since Hans does not have a lantern and it is raining so heavily that it is difficult to see, Hans gets lost. He wanders onto the moor and drowns in a pool.

The Miller concludes that little Hans died because he promised to give him his wheelbarrow for free. He says, "I will certainly take care not to give anything away again. One always suffers for being generous".

After having heard the story, the Water-rat says that he feels sorry for the sensitive Miller. The Linnet points out that there is a moral to the story which the Water-rat has failed to understand. The Water-rat is horrified when he finds out that the story was supposed to have a moral and leaves in disgust.

Wednesday, November 08, 2017

Visual Studio 2015 Keyboard shortcuts Ctrl+Shift+R Find relapse

T to access the Find/Replace in Files dialog box, choose Find and Replace on the Edit menu (or CTRL+SHIFT+F). When you choose Find All, a Find Results window opens and lists the matches for your search.

Keyboard shortcuts Ctrl+Shift+R and Ctrl+Shift+P are assigned to the Record Macro and Run Macro commands if they are not used in your Visual Studio keyboard scheme. If they are used, but you want to reassign them to Visual Commander, you can manually assign them in Visual Studio keyboard options for the VCmd.RecordMacro and VCmd.RunMacro commands.
There is only one macro - recording the new macro overwrites the previous one. If you want to save the macro for future regular use, you can manually copy its code to a new command or use the explicit Save Macro as Command menu item.
You can record Find Next and Find Previous commands from the Find and Replace dialog: Find and Replace dialog in Visual Studio 2013

Sunday, February 26, 2017

Packaging InDesign Files (detailed instructions)

Many new InDesign users have discovered “the hard way” that simply e-mailing their InDesign file to someone will not allow that person to properly use their file. Their InDesign file depends on fonts and linked graphics that must be sent along with it in order for it to work properly.Fortunately, InDesign has a built-in Package utility that creates a folder with a name of your choice, puts a copy of your document into the folder, and then copies all necessary fonts and images into the folder as well. Generally you will create a package, zip it up, and then send it to whoever needs it. Simple, right?
Here are detailed instructions:
  1. Open your INDD file in InDesign.
  2. If possible, resolve any errors concerning missing links or fonts.
  3. Go to File: Package.
  4. Click the Package button at the bottom of the Summary window (This window was called the preflight window in older versions).
  5. Click continue on the “Printing Instructions” window (most people ignore these instructions).
  6. Browse to where you’d like to create the package folder (desktop would be fine) and enter the name of the folder.
  7. Make sure that the “Copy Fonts,” “Copy Linked Graphics,” “Update Graphic  Links in Package,” and “Include Fonts and Links from Hidden….” are all checked. Other boxes should be unchecked.
  8. Click the package button.
  9. Find the new folder that InDesign created and verify that it contains copies of all required files.
  10. Right-click the folder and choose “Compress” (Mac) or “Send to ZIP” (Windows, might be something different but similar depending on what software you have installed). This will zip it up.
  11. If the file size is less than 10MB, you can probably safely e-mail it. If it’s more, then you should use some other method (DropBox, FTP, YouSendIt, web server, etc.) to share the file.

Sunday, February 19, 2017

recover memory card data

فری ہیں اور انٹرنیٹ سے باآسانی ڈاﺅن لوڈ کئے جا سکتے ہیں۔ "CG Security" کمپنی کا "PhotoRec" سافٹ وئیر بہترین آپشن ہے جو ونڈوز اور میک دونوں کیلئے دستیاب ہے لیکن اس کا انٹرفیس تھوڑا سا مشکل ہے تاہم ایک اور کمپنی "piriform" کا سافٹ وئیر "Recuva" اس کے متبادل کے طور پر استعمال کیا جا سکتا ہے جس کا انٹرفیس انتہائی آسان ہے لیکن یہ سافٹ وئی صرف ونڈوز آپریٹنگ سسٹم کیلئے دستیاب ہے۔
پہلا سٹیپ:۔ اپنا میموری کارڈ کمپیوٹر کے ساتھ کنیکٹ کریں اور "PhotoRec" سافٹ وئیر کو لانچ کریں۔ دوسرا سٹیپ:۔ اپنے کی بورڈ پر موجود ”ایرو کیز“ کو استعمال کرتے ہوئے فراہم کی گئی لسٹ میں سے اپنا میموری کارڈ سلیکٹ کریں۔( اگر آپ کو میموری کارڈ ڈھونڈنے میں پریشانی ہو رہی ہے تو آپ اس کے سائز کا اندازہ لگا سکتے ہیں)۔ صحیح ڈرائیو لیٹر ڈھونے کے بعد ”اینٹر“ پریس کریں ۔ آپ کے سامنے ایک نئی سکرین آ جائے گی۔

تیسرا سٹیپ:۔ اب آپ اس سکرین پر موجود آپش "FAT32" کو سلیکٹ کریں ۔
چوتھا سٹیپ:۔ آپ کے سامنے اسی ونڈو پر مزید دو آپشنز "Free" اور "Whole" آ جائیں گی۔ اگر آپ ڈیلیٹ شدہ مواد واپس لانا چاہتے ہیں تو "Free" آپشن پر کلک کریں اور اگر آپ کا میموری کارڈ کرپٹ ہے تو "Whole" آپشن کو سلیکٹ کریں۔

پانچواں سٹیپ:۔ اب یہ سافٹ وئیر میموری کارڈ کی سے ملنے والی فائلز کو سیو کرنے کی جگہ منتخب کرنے کو کہے گا۔ لہٰذا آپ کی بورڈ پر موجود ایرو کیز کے استعمال سے مطلوبہ جگہ کا انتخاب کریں اور پھر کنفرمیشن کیلئے "C" کا بٹن دبائیں۔ یہ سافٹ وئیر ریکوری پراسیس شروع کر دے گا اور زیادہ سے زیادہ 30 منٹ میں یہ عمل مکمل ہو جائے گا تاہم سکیننگ کا وقت میموری کارڈ کے سائز پر منحصر ہے۔ امید ہے کہ اس آپشن کے استعمال سے آپ کا اہم ڈیٹا، تصاویر یا ویڈیوز واپس مل جائیں گے۔

Monday, July 11, 2016

آپ کے بارے میں وہ اہم ترین بات جو آپ کی چھوٹی انگلی کی لمبائی سے پتہ لگایا جاسکتاہے

لندن (مانیٹرنگ ڈیسک) اگر آپ کو خود ک سمجھنا چاہتے ہیں یا کسی اور کی شخصیت کے بارے میں جاننا چاہتے ہیں تو اس کیلئے کسی دست شناس یا نجومی کے پاس جانے کی ضرورت نہیں بلکہ اپنا ہاتھ پھیلائیے اور اپنی چھوٹی انگلی پر ایک نظر ڈالیے ، آپ کو بہت کچھ معلوم ہو جائے گا ویب سائٹ ویب سائٹ راکٹ نیوز کی رپورٹ کے مطابق کوریا میں کیے گئے شخصیات کے تجزیات میں معلوم ہوا کہ چھوٹی انگلی اور اس کے ساتھ والی انگلی (جسے انگوٹھی والی انگلی بھی کہا جاتا ہے ) کی لمبائی کا تناسب انسانی شخصیت کے بارے میں حیران کن معلومات دیتا ہے دونوں انگلیوں کی لمبائی کاتناسب کچھ یوں ہوسکتا ہے ۔
پہلی صورت :
تصویر Aمیں دکھائے گئے ہاتھ کی چھوٹی انگلی کی لمبائی انگوٹھی والی انگلی کے پہلے جوڑ کے بالکل برابر ہے اس لمبارئی کی چھوٹی انگلی رکھنے والے ذہین اور حصے مزاح سے بھرپور شخصیت کے مالک ہوتے ہیں اور اکثر محفل کو زعفران بنائے رکھتے ہیں یہ لوگ اپنا معافی الزمیر بیان کرنے میں بھی قدرت رکھتے ہیں اور اپنے خیالات اور جذبات دیانتداری کے ساتھ کھل کر بیان کرتے ہیں یہ لوگ اکثر تنہائی سے خوفزدہ ہوتے ہیں اور ان کی کوشش ہوتی ہے کہ دوستوں عزیزوں کے ساتھ زندگی کا لطف اٹھائیں ۔

دوسری صورت:
اگر آپ کا ہاتھ تصویر B میں دکھائے گئے ہاتھ جیسا نظر آتا ہے یعنی چھوٹی انگلی کی لمبائی انگوٹھی والی کے پہلے جوڑ سے زیادہ ہے تو آپ ایک شفیق اور سخی دل کے مالک ہیں اور عموماً آپ کو بھی دوسروں سے محبت اور شفقت ملتی ہے آپ اپنے جذبات کو خوب اچھی طرح سمجھتے ہیں اور بوقت ضرورت باآسانی بیان بھی کر سکتے ہیں آپ لڑائی جھگڑے سے دور بھاگتے ہیں اور ہمیشہ ہم آہنگی کیلئے کوشاں رہتے ہیں آپ پر تنقید کرنے والے غالباً آپ کی نرم مزاجی اور امن پسندی کی کوششوں کو سمجھ نہیں پاتے ۔

تیسری صورت:
اگر آپ کی چھوٹی انگلی کی لمبائی انگوٹھی والی انگلی کے پہلے جوڑ سے کم ہے جیسا کہ تصویر C میں دکھایا گیا ہے ، تو آپ اپنے راز اپنے دل میں رکھنے والے شخص اور اکثر اپنے من کی بات کہنا مشکل کرتے ہیں آپ جنہیں پسند کرتے ہیں ان سے بھی اپنے دل کی بات کہنے میں مشکل محسوس کرتے ہیں دوسروں سے آپ کی توقعات بہت زیادہ ہوتی ہیں لیکن اکثر بعض اوقات مایوسی کا سامنا کرنا پڑتا ہے آپ دوستوں کا خیال رکھنے والے ہیں اور ان کی مدد کی ہر ممکن کوشش کرتے ہیں آپ کو دوسروں کے ساتھ تعلقات بنانے میں بہت زیادہ سوچ بچار نہیں کرنی چاہیے اور زندگی کو بھرپور اور پرجوش بنانے کیلئے کوشاں رہنا چاہیے۔

Wednesday, May 18, 2016

How to show line break from textarea in php mail

Normally we just get the textarea message filed and put in our Email function, but when Email receive the textarea message filed show as continue without any New Line / line brack /
, so in this atrical i will describe you the simple code to get correct format for the textarea message filed.

PHP Function:  nl2br() 
full Function we use:  nl2br(htmlspecialchars()

Wednesday, April 27, 2016

MS Access connection with ASP.NET C# / Gridview bind with Access / Remove HTML tags


Here I will explain the below programming

1 )How to make connection with MS Access  in ASP.NET
2) Date bind gridview with Dataset from MS Access.
3) Remove HTML tags from the database filed.
(It will removed all HTML tags from the database filed and show as text only in Grid.)

Neelofar Abbasi (L), Ishrat Hashmi and Haseena Moin

Neelofar Abbasi (L), Ishrat Hashmi and Haseena Moin

Monday, April 18, 2016

9 Things That Will Happen When You Eat Black-Spotted Bananas

1. You’ll Have Added Protection Against Cancer
2. You’ll Be Cured Of Heartburn
3. Your Blood Pressure Will Be Regulated
4. You’ll Be Less Depressed
5. You’ll Relieve Constipation
6. You’ll Experience An Instant Boost Of Energy
7. You’ll Find It Easier To Deal With Ulcers
8. You’ll Fight Anemia
9. You’ll Find Relief Against Menstrual Pain


1. You’ll Have Added Protection Against Cancer

Researchers have found that spotted bananas contain a compound called Tumor Necrosis Factor (TNF) that destroys cancerous tumors. Consumption of such spotted bananas, therefore, can help in the prevention of cancer.

2. You’ll Be Cured Of Heartburn

Bananas are excellent natural antacids that help to counter indigestion. They are easily digested, and thus do not contribute to further stomach distress. Instead, the discomfort dissipates after you eat a banana. So, instead of popping a pill for your indigestion and heartburn, eat a banana for instant relief.

3. Your Blood Pressure Will Be Regulated

To maintain your blood pressure, you must have good potassium levels in your blood, and that can be supplied to your body by spotty bananas. They are rich sources of potassium and have a low sodium content, which can cause spikes in blood pressure levels.

4. You’ll Be Less Depressed

Bananas contain tryptophan, an amino acid. Your body utilizes this amino acid in the manufacturing of serotonin, a neurotransmitter that is closely linked to the state of mind, as well as to sleep. Thus, bananas help you achieve a sense of calm, as well as help you get sound sleep.

5. You’ll Relieve Constipation

The fact that bananas can help to relieve constipation is well known. They add to the bowel bulk and ease the flow of motion due to their fiber content. So, the next time you are experiencing digestive or bowel-related problems, just try eating a banana as your go-to home remedy!

6. You’ll Experience An Instant Boost Of Energy

Bananas have high caloric value, making them an excellent source of instant energy. So, the next time you need a push after a grueling workout session, have a banana. The potassium present in bananas prevents your muscles from cramping. Other minerals and nutrients will help you gain prolonged physical endurance. We aren’t kidding — it’s a proven fact.

7. You’ll Find It Easier To Deal With Ulcers

Ulcers are synonymous with acute discomfort and strict restrictions on diet. This is because spices and many other edibles can aggravate your condition and cause further irritation. However, bananas have a softer texture that quickly passes through your digestive tract and provides much-needed nutrition.

8. You’ll Fight Anemia

Bananas are abundant sources of the mineral iron. Iron is one of the main components of your red blood cells that are responsible for the transport of nutrition and oxygen through your body. Bananas supplement your body’s iron requirement, thus reducing occurrences of anemia, which is marked by low iron count and diseased red blood cells.

9. You’ll Find Relief Against Menstrual Pain

The potassium present in spotty bananas helps to ease muscle cramps due to menstrual cycles. Bananas are also a rich source of vitamin B6 that reduces the chances of bloating and water retention during your period.
Bananas are an excellent addition to your diet. Make sure you eat them just as they begin to spot — don’t wait until they have completely become black. This state implies a reduced level of beneficial antioxidants and other nutrients. Perfectly ripened (and slightly spotted) bananas will digest easily and provide you with plenty of health benefits. So, have a banana every day for a better and healthier life!