Monday, June 6, 2011
राजनितिक आत्महत्या
Sunday, March 20, 2011
Seven Policies (Nitis) of Chanakya from a website (Abacus)
1. “Even a pundit comes to grief by giving instruction to a stupid disciple, by investing in barren land, by maintaining a bad spouse, and by excessive familiarity with the miserable.”
2. “One should save money against hard times, save his or her spouse at the sacrifice of his or her wealth, but invariably one should save his or her soul even at the sacrifice of his or her spouse and wealth.”
3. “Do not inhabit a country where you are not respected, cannot earn your livelihood, have no friends, or cannot acquire knowledge.”
4. “Do not stay for a single day where there are not these five persons: (i) a wealthy man, (ii) a brahmin well versed in Vedic lore, (iii) a king, (iv) a river and (v) a physician” – I will read this verse as, do not stay for a single day where there are not five things: (i) a vibrant industry (a wealthy man), (ii) a good university where your child can go for education (a brahmin well versed in Vedic lore), (iii) a strong Govt., possibly democratically elected, which will enforce the rule of law (a King), (iv) a river , (v) a good health care system (a physician)
5. “Test a servant whiles in the discharge of his duty, relative in difficulty, friend in adversity, and spouse in misfortune.”
6. “Do not put your trust in rivers, men who carry weapons, beasts with claws or horns, members of a royal and political family and spouse with strong interest on your friends”
7. “Even from poison extract drug which will cure disease, wash and take back gold if it has fallen in poop, receive the highest knowledge (Krisna consciousness) even from a low born person; marry a girl possessing virtuous qualities (stri-ratna) even if she were born in a poor family and/or not so beautiful.”
Great one again :).
"A person should not be too honest.
Straight trees are cut first
And Honest people are screwed first."
"Even if a snake is not poisonous,
It should pretend to be venomous."
"The biggest guru-mantra is: Never
share your secrets with anybody. !
It will destroy you."
"There is some self-interest
behind every friendship.
There is no Friendship without
self-interests.This is a bitter truth."
"Before you start some work, always ask
yourself three questions - Why am I doing it,
What the results might be and Will I be
successful. Only when you think deeply
And find satisfactory answers
to these questions, go ahead."
"As soon as the fear approaches
near, attack and destroy it."
"Once you start a working on something,
Don't be afraid of failure and
Don't abandon it.
People who work sincerely are the happiest."
"The fragrance of flowers spreads
Only in the direction of the wind.
But the goodness of a person
spreads in all direction."
"A man is great by deeds, not by birth."
"Treat your kid like a darling for the first five years.
For the next five years, scold them.
By the time they turn sixteen, treat them like a friend.
Your grown up children are your best friends."
"Books are as useful to a stupid person
As a mirror is useful to a blind person."
"Education is the best friend.
An educated person is respected everywhere.
Education beats the beauty and the youth."
Found these on a blog "http://indianspencer.blogspot.com".
An amazing politician with lots of practical knowledge.
Tuesday, January 25, 2011
आत्ममंथन
हर वर्ष की भाति इस वर्ष भी हमने ये जरूर तय किया होगा कि इस नए साल पर हमे क्या कुछ नया करना है और कौन सी अपनी बुरी चीज़ को अपने आप से दूर करना है.
मैंने भी अपने लिए कुछ सोचा है और सोचा है देश के सारे मंत्रियो और नेताओ के लिए भी क्योंकि उन्हें तो अब पैसे और भ्रष्टाचार के अलावा और कुछ सोचने का समय नहीं है वैसे भी वो इतने बुद्धिजीवी है कि उन्हें अपने अन्दर कोई भी बुरी चीज़ नहीं दिखाई देती. इसलिए सोचने का काम केवल हम मूर्ख आम आदमियों का है !
वैसे भी वो सोच कर क्या करेंगे उनके हाथ तो माया ने रोक रखे है वो चाह कर भी कुछ अच्छा नहीं कर सकते क्योंकि अच्छा करने पर केवल जनता कि तालिया ही मिलेगी जिसका कोई मोल नहीं है और इससे उनका क्या भला इसलिए वो अपने इस अच्छे समय का पूर्ण उपयोग कर रहे है अपना, अपने परिवार का यहाँ तक कि अपने आने वाली सात पुश्तो का भविष्य अभी से सुरक्षित कर रहे है. भारत कि न्याय प्रणाली और कार्य प्रणाली को वो पूर्ण रूप से दीमक कि तरह चाट चुके है उन्हें मालूम है कि इस देश में उनके ऊपर कोई नहीं है जो उन्हें उनके कृत्य के लिए रोक सके ! लोग यदि उन्हें बुरा भला कहते है तो इसमें भी उनका यही तर्क होता है बाहर रह कर नेताओ को गालिया देना आसान है राजनीति में आओ तब पता चलेगा कि वास्तविकता क्या है !
पर उन्हें कौन बताये कि अब राजनीति कि परिभाषा और मायने पूरी तरह से बदल चुके है राजनीति में आने के लिए एक व्यक्ति के अन्दर जो गुण होने चाहिए वो एक आदमी अपने अन्दर कभी नहीं ला सकता क्योंकि उसे अपने जमीर से नीचे गिर कर वो काम करना पड़ेगा जिसके बारे में वो सोच भी नहीं सकता.
कभी सोने कि चिड़िया कहा जाने वाला ये देश अब केवल चिड़िया बन कर ही रह गया है जिसके पर हमारे देश के सरकारी अफसरों , भ्रष्ट नेताओ और महंगाई ने काट दिया है जो इस स्वछंद आकाश में उड़ नहीं सकता. ये है विश्व के सामने भारत कि सुपर पॉवर प्रस्तुति जिसके सहारे वो विकासशील देश से विकसित देश कि ओर अग्रसित हो रहा है
घोटालो और मंहगाई ने हर देशवासी को सोचने पर मजबूर कर दिया है,घोटाले भी ऐसे जिनके रकम से एक छोटा देश विकसित हो जाये,. हमारी सरकार इस सब को रोकने में पूरी तरह से विफल रही है जो प्याज कभी गरीब आदमी के लिए संबोधित किया जाता था उसे उस गरीब की थाली से खींच लिया गया है.. गरीब के जरूरत के हर सामन अब इस दाम तक पहुच गए है जिसे पाने में उसकी कमर ही टूट जाये.
आखिर कब तक एक आदमी इन नेताओ के पैसे की हवस का शिकार होता रहेगा.
शायद ये अंतहीन है... या हम खुद नहीं चाहते की इन सबका कभी अंत हो..
आपके जवाब का हमे इंतज़ार रहेगा..
Friday, September 24, 2010
Use Linq to filter UIElements in Silverlight
here are i am to share you the power of linq on general basis.
target is to hide all the popup controls in silverlight under the root control canvas.
Traditional code would be.
int count = this.RootCanvas.Children.Count;
List < Popup > list = new List < Popup > ();
for (int i = 0; i < count; i++)
{
if(this.RootCanvas.Children[i].GetType().Equals(new Popup().GetType())
{
list.Add((Popup) this.RootCanvas.Children[i]);
}
}
in linq
this.RootCanvas.Children.Where < UIElement > (popup = > popup.GetType().Equals(new Popup().GetType())).Cast < Popup > ().ToList < Popup > ().ForEach(popup = > { popup.IsOpen = false; });
Just a one line.
Wednesday, June 30, 2010
Check the entered year is Leap year or not in c# console
static void Main(string[] args)
{
try
{
Console.Write("Please Enter the Year: ");
int year = int.Parse(Console.ReadLine());
if ((year % 4 == 0) && (year % 100 != 0) || (year % 400 == 0))
{ Console.WriteLine("The year {0}, is a Leap Year", year);
}
else
{
Console.WriteLine("The year {0}, is not a Leap Year", year);
} }
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
Console.ReadLine(); }
Output is-
Create a Pyramid in C# Console
static void Main(string[] args)
{
for (int i = 0; i < k =" i;" j =" 2"> 0; j--)
{
Console.Write("*"); }
Console.WriteLine("");
}
Console.ReadLine();
}
Output is-
Monday, June 14, 2010
Search an Value in ListBox with compare to TextBox Text(Incremental Search) in C#
means when you type any character or word in textbox the matched value will be select in list box-
this 4 lines of code will remove your all headache to apply the incremental search option on listbox-
on TextBox's TextChangedEvent code like this-
private void textBox1_TextChanged(object sender, EventArgs e)
{
int index = listBox1.FindString(this.textBox1.Text);
if (0 <= index)
{
listBox1.SelectedIndex = index;
}
}
Monday, May 17, 2010
Fake Mail...| Dear ICICI Bank Member,
Recently i have received a mail from icici bank-
a new security system against Malicious Online Identity Theft.
in the new online protection System
transfers securely.
This mailbox is not monitored and you will not receive a response.
hope plenty of us are receiving these mails...i have also received these mails from punjab national bank..
please note that don't click the links or visit the sites mentioned on these mails. and in any case don't share your personal settings (e.g. account number, username , password, credit card no or telephone nos...etc )..They can use these information to hack your account and then use it for their requirements....
and thus everyone of us are well aware of the consequences of our accounts had been hacked.
One thing can also be done. Please use well and authentic clients like Google's Gmail... its good tool. try to import other account's mail to this so that most of these spam mails can get filtered by itself only.
Friday, March 26, 2010
Get L.C.M (Least Common Multiple) of two numbers in C#
static void Main(string[] args) {
int tempNum, number1, number2;
Console.Write("Enter First Number: ");
number1 = int.Parse(Console.ReadLine());
Console.Write("Enter Secnd Number: "); number2 = int.Parse(Console.ReadLine());
Console.WriteLine("\n");
for (tempNum = 1; ; tempNum++)
{
if (tempNum % number1 == 0 && tempNum % number2 == 0)
{
Console.WriteLine("L.C.M is - "); Console.WriteLine(tempNum.ToString());
Console.Read();
break;
}
}
}
Output is -
How to generate Fibonacci series in c#
static void Main(string[] args)
{
int previous = -1; int next = 1;
int position;
Console.WriteLine("Enter the position");
position = int.Parse(Console.ReadLine());
for (int i = 0; i < position; i++)
{
int sum = next + previous; previous = next;
next = sum;
Console.WriteLine(next);
}
Console.ReadLine();
}
Output is -
Reverse a String in C#
static void Main(string[] args)
{
Console.Write("Enter String: "); String temp = Console.ReadLine();
Console.WriteLine("\n");
int len = temp.Length;
char[] arr = new char[len];
for (int i = 0; i < len; i++)
{ arr[i] = temp[len - 1 - i];
}
Console.WriteLine(arr);
Console.Read();
}
Output is -
Wednesday, March 17, 2010
मूर्ति और मुद्रा
आइये अब हम बात करते है उत्तर प्रदेश की मुख्यमंत्री सुश्री मायावती के बारे में, कहा जाता है की स्त्रियों को गहनों से बहुत प्यार होता है परन्तु इन्हें गहनों का शौक नहीं अब बात ये आती है की अगर इन्हें गहनों का शौक नहीं तो फिर किस चीज़ का शौक है तो जनाब इन्हें शौक है मूर्ति और मुद्रा(धन) का जिसे अगर मै अपनी भाषा में कहू तो ये शौक नहीं सनक है..
आजकल लखनऊ शहर में जितनी हाथियों की मूर्तिया लगी है उन्हें देखकर मुझे तो यही डर लगता है की कही लखनऊ का ये एतिहासिक और गौरवमयी नाम बदलकर हाथीनगर ना कर दिया जाये , विकास की उपेक्षा कर पार्को के सौन्दर्यीकरण पर विशेष ध्यान दिया जा रहा है जिसके पीछे इनका अपना तर्क ये है की हम गरीब और मजदूर तबके के लोगो को रोज़गार दे रहे है
भला इस तरह के आंशिक कार्यो से मजदूरों के किस भविष्य का निर्माण हो पायेगा..पार्को और मूर्तियों पर हो रहे फिजूलखर्ची की जगह अगर उन पैसो को समुचित जगह पर उपयोग किया जाये जिससे रोज़गार की समस्या से जूझ रहे पढ़े लिखो और मजदूर तबके के लोगो का भला हो सके तो मै समझता हूँ की ये एक प्रशंशनीय कार्य होगा ! पर इन समस्याओ की तरफ किसी का भी ध्यान नहीं जाता सब एक दुसरे की टांग खीचने में लगे हुए है जनता के पैसो का इस तरह से दुरूपयोग किया जा रहा है जिसे करने का इन्हें कोई हक नहीं है
अभी हाल ही में लखनऊ में संपन्न हुई बसपा की रैली में मायावती को पहनाई गयी हार की बड़ी चर्चा रही और हो भी क्यों नहीं करोड़ो रुपये के नोटों से बनाये गए हार की चर्चा नहीं होगी तो फिर किस चीज़ की होगी, विपक्षी पार्टियो को तो मौका मिल गया अपनी भड़ास निकलने का हर कोई अब उस हार के पीछे पड़ा हुआ है हर कोई जांच की मांग कर रहा है की पार्टी के पास इतने पैसे आये कहा से कही ये सरकारी पैसो का दुरूपयोग तो नहीं है..
वास्तविकता तो बस इतनी है की जिसके भी हाथ दुसरे की कमजोरी लगती है वो उसी की ढपली बजाने लग जाता है, कोई भी किसी प्रकार का मौका हाथ से नहीं जाने देता वही कार्य आजकल विपक्षी दल कर रहे है..
पर अब सोचने और जागने की बारी हमारी है हमे १ सही आदमी की खोज करनी होगी..
Thursday, March 11, 2010
opensource alternative to timesnapper freeware...
Use PixTimeSheet and JPixTimeSheet to:
* Keep track of your time using the screenshots.
* Make sure no one is using your computer without your knowledge
* Ideal for program testers and development shops to see how to reproduce a bug in their program products.
download jpixtimesheet form here
download pixtimesheet from here
Thursday, December 31, 2009
नव वर्ष की शुभकामनाये..
Wednesday, December 30, 2009
नैतिकता
समय के साथ जैसे जैसे परिवेश बदला वैसे ही नैतिकता का पाठ भी बदलता चला गया, अब तो शायद हम ये भी भूल चुके है की असल में नैतिकता कहते किसको है! वैसे अगर देखे तो जो थोड़ी बहुत नैतिकता लोगो के अन्दर बची हुई है वो केवल दूसरे लोगो को सिखाने के लिए ही है, भले ही वो हम खुद पर लागू करते हो या न करते हो पर हमेशा दूसरे लोगो पर थोपने की कोशिश जरूर करते है!
अब बात करते है नैतिक उत्तरदायित्व की एक परिवार के मुखिया का नैतिक उत्तरदायित्व क्या है.? यही की उसके परिवार के हर सदस्यों की सारी जरूरते पूरी हो, किसी को भी किसी प्रकार का कष्ट न हो और इसी नैतिक उत्तरदायित्व की पूर्ति के लिए वो हाड तोड़ मेहनत करता है बदले में उसे अपने परिवार और समाज से सम्मान और इज्जत मिलती है, इसी बात को अगर हम बड़े स्तर पर सोचे तो हम एक परिवार है और हमारे द्वारा चयनित ये नेता हमारे परिवार के मुखिया हम ने इन्हें मुखिया क्यों चुना ? जिस से ये हमारे परिवार के हर सदस्यों को एक साथ ले चले उनकी छोटी बड़ी सारी जरूरतों को पूरा कर सके और और परिवार के सदस्यों के बीच कोई मतभेद हो तो उसका निवारण कर सके, ये इनका नैतिक उत्तरदायित्व है पर क्या ये अपने नैतिक उत्तरदायित्व की पूर्ति कर पा रहे है ?
अगर ये कर पा रहे होते तो हम आप इस विषय पर मंथन ना कर रहे होते पर ऐसा क्यों है इसका यही कारण है की ये समाज के लोगो को अपना परिवार नहीं समझते इन्होने अपना परिवार सीमित कर रखा है ये केवल उस सीमित परिवार के बारे में ही सोचते है केवल उन्ही का भला चाहते है ...
इनकी कर्तव्यनिष्ठता और नैतिकता केवल परिवार का मुखिया बनने तक ही सीमित होती है उसके बाद इस नैतिकता का कोई मतलब नहीं रह जाता इनकी सत्ता की लालसा ही इनकी नैतिकता को ख़त्म कर रही है जिसको जितना ही मिले उनता ही कम है बल्कि और ज्यादा पाने की कामना मन में बनी रहती है, ये दौड़ कभी न ख़त्म होने वाली दौड़ है जिसमे मंजिल कभी भी निश्चित नहीं होती बस दौड़ते ही जाओ जब तक आप दौड़ सकते हो !
हमारे सामने तो सबसे बड़ी समस्या ये है की हम उन्हें इस भूलती नैतिकता का पाठ कैसे सिखाये ?
आप हमे अपने विचार जरूर बताये...
Monday, December 28, 2009
We chase for what we don't have..
It depends on why our (Human) nature is just like this.
A pretty example can prove this easily. When we have our parents caring for us and being possessive for us we loose interest in them and despite of this we start taking interests in those objectives which we don't have like bikes, cars, houses, money, girl friends etc. But we often forget and take the things we have as for granted. And sometimes it becomes too late when we realize that the granted things are not their to be remained with us. And that condition makes us the most miserable.
You can ask it to yourself. Until we don't have teeth we will not give them the values they have simply because they are there for granted. We will never give value to our own self in front of money because we often took ourselves for granted. And when we fall on bed with severe disease... We start taking our care as that is the moment we take ourselves not granted and start taking care of ourselves.
Is this good..? Ask yourself.
I have learned from my living experiences that don't take anything for granted. May be at times you can take them for granted but this should be rare as we often don't realize that the things we take for granted are the things we are heavily depending on.
So its better to be early than be late....
Give values to what you already have and start praising what you have... and then make you mind clear to what you want in future. .....
"Think about it".
Wednesday, December 23, 2009
गरीब की दाल....
अगर यही हाल रहा तो आने वाले दिनों में महंगाई की समस्या और जटिल होती जाएगी जिस से पार पाना आसान न होगा !