Saturday, 18 March 2017
Monday, 13 March 2017
Unix Program To check whether the given number is polindrome or not
Polindrome means a word or a number which gives the same value when read from both directions(either from left to right order or right to left order.
for example if we take a number 1221 it gives the same number when read from both directions.
The following is the simple unix program to check the given input is polindrome.
for example if we take a number 1221 it gives the same number when read from both directions.
The following is the simple unix program to check the given input is polindrome.
#!/bin/bash
echo -n "Enter number : "
read n
sd=0
rev=""
on=$n
while [ $n -gt 0 ]
do
sd=$(( $n % 10 )) # get Remainder
n=$(( $n / 10 )) # get next digit
rev=$( echo ${rev}${sd} )
done
if [ $on -eq $rev ];
then
echo "Number is palindrome"
else
echo "Number is NOT palindrome"
fi
Saturday, 11 February 2017
How to turn safe mode on and off in android phone
How to turn safe mode on and off in an android phone:-
If your phone has any problems like getting alow and fast battery drain and getting over heat then tha safe mode is very useful.If you boot your phone safe mode then you cannot install any third party apps in your phone.
Here is how can you turn on and off safe mode in android phones.
How to turn on safe mode:-
- Press and hold power button and click on power off button to power off the phone.
- Now release the power button and again press and hold.
- Now your device will power on and your phone logo will appers.
- Now release power button and press and hold volume down button untill your phone boots.
- Now you can see the option like boot in safe mode on bottom left corner.
- Now you can see safe mode in left bottom corner while using the phone.
How to turn off safe mode:-
- Press and hold the power button.
- Click on restart.
- Then a simple reatart can turn off safe mode in you android device
Friday, 10 February 2017
Turn your android phone into usb pendrive
You can use your android phone as usb pendrive.The following are the instructions to make your android phone as pendrive.
- First of all you need to turn on developer options in your android phone.
- If you don't know how to turn on developer options Click here
- Now open developer options and click on USB DEBUGGIND.
- Now connect your phone to pc or laptop with usb cable.
- In your phone you can find four options like usb storage,media device etc.
- Click on usb storage option.
- Now you can see one option on your phone like usb connectd,click to copy files.
- Now click on that option.
- Now you can use your android phone as USB PENDRIVE
How to turn on developer options in android phone
- First of all you need a android phone with the android version 4.0 or above
- Now go to settings.
- In the settings at last you find one option About phone.
- Now click on about phone.
- After that you will get all details of your phone like android version etc.
- Now you can see one option BUILD NUMBER.Now click 7 times on build number.
- Thats it,Now go to main settings and you can find option like developer options.
- Now click on that option and click on turn on developer options button
- Now developer options are truned on on your android device
Tuesday, 24 January 2017
Reset microsoft account password
Reset microsoft account password
Reset Microsoft Account Passowrd
First, try the easiest thing: if you remember your password but it isn’t
working, make sure that Caps Lock is turned off and that your email
address is spelled correctly.
Reset your password
If you can't remember your password, follow these steps to get into your account.
- Go to the
Password Reset Page - Choose the reason you need your password reset, then click Next
- Enter the email address you used when you made your Microsoft account.
- This could be any email address, or an email ending in a Microsoft domain like hotmail.com or outlook.com.Enter the characters you see on the screen (this lets us know you’re not a robot), then click Next.
- If you've added security info to your account, we'll send a one-time code to the alternate phone number or email address you gave us. After you enter that code on the next screen, you'll be able to make a new password.
If password reset doesn't work
Sometimes changing settings in your account can affect how you sign in,
and resetting your password won't fix it. See if one of the scenarios
below applies to you.
How to Find Your Passion for Anything
How to Find Your Passion for Anything
How to Find Your Passion for Anything
There’s a big myth in our culture: that passion can only be spontaneous.
You either love your job or you don’t. You either enjoy exercising or
hate it. You are interested in reading books or you find them boring.
That passion can’t be forced or created.
I disagree. Passion can be created. Even for things you don’t currently enjoy.
By tweaking the activities and pursuits you engage in, you can find a
passion for anything. All it takes is a bit of patience and an open
mind.
The benefit is that you end up loving the things you have to do anyways.
Exercising, learning, studying, working and almost any pursuit can be
made into a passion. And if you know how to do it, existing passions can
be turned from mildly interesting to exciting. The skill of finding
your passion is like turning up the dial for the amount of color you
experience in life.Here are some ways to find your passion
1. Get Curious – Curiosity is the basis of passion. Shake off your
current understandings and begin from the view that you are almost
completely ignorant on the subject. Then look for novelty to boost your
interest.
2. Make it a Game – Give yourself rules, objectives and strategic constraints. The more creative thinking required, the better.
3. Set a Goal – Create a specific goal along with a deadline. This can
infuse mundane activities with a sense of direction and purpose. Writing
a report goes from being just another task, to a creative challenge
that pushes you.
4. Express Yourself – Find hidden opportunities for self-expression.
This could mean inventing a style for folding clothes. Changing the
format you write code in or altering the style of your presentation.
View each activity as an act of expression and originality.
5. Focus – Cut distractions and eliminate noise. The more you focus on
an activity the better you can notice interesting qualities about it.
The only truly boring activity is the one you can’t pay attention to.
6. Jigsaw Piecing – A jigsaw puzzle has hundreds of uniquely shaped
pieces of a picture. View your activities as pieces of a larger image.
This can turn dull activities into individual snippets of a more
fascinating whole.
7. Dial Down Cravings – Have you ever noticed how the hungrier you are,
the less able you are to enjoy the taste of food? This works the same
way with passion. The more you crave a goal (instead of the process
containing the goal) the less likely you are to develop a passion for
it. Goal-setting is good. Goal-obsession is not.
8. Connect with Talents – How can you apply your existing talents to an
activity? Find ways to use skills you already have in a new endeavor. An
artistic person could draw pictures to help himself study. An athletic
person might be able to use her strength and endurance as a speaker.
9. Overcome the Frustration Barrier – If an activity is too difficult
for you to become enthusiastic about it, slow down. Worry less about
results and more about experimenting until you build up skill. Whenever I
try a new hobby, I strive to just try things out before building
skills. This keeps me from getting frustrated and ensures the process is
fun.
10. Leech Enthusiasm – Energy is contagious. If you spend time with
someone who exudes passion about a subject, some of it will rub off on
you. Seek out people who have the energy you want and get them to
describe their motivation. Often it will point you to key information
you had no idea could be so interesting.
11. Remove the Chains – Feeling forced into an activity is a sure way to
kill any passion. Instead of flowing with the task, you rebel against
it, making you miserable. Be aware of the consequences for not acting,
but remove the feeling that you don’t have a choice. You always have a
choice.
12. Tune the Challenge – For boring tasks, make them more difficult. For
frustrating tasks, make them easier. This can be done by varying the
speed or constraints you need to complete a task. Boring chores can be
made more interesting by setting a time-limit. Frustrating assignments
can be made easier by allowing yourself an awful first-draft instead of
perfection.
13. Get instruction – Finding a teacher can give you the basic level of
understanding necessary to enjoy an activity. Sometimes passion can be
drained just by not knowing the basics.
14. Humble confidence – Confidence is necessary for passion, but
arrogance can destroy it. Build a humble confidence where you believe in
your abilities to handle the unknown, but you also have a great respect
for it.
15. Focus Immediately – Look at the next immediate step. Don’t concern
yourself over what needs to be done next month or next year if it
overwhelms you. Focus on each step of the marathon, not how many miles
you have left.
16. Play – If the process confuses or bothers you, just play with it. Don’t have a purpose until you can define one.
17. Eliminate – This one might not apply, but it is always good to use.
If you really can’t enjoy something, find a way to eliminate it from
your life. Don’t waste your time doing things you don’t enjoy. Either
cultivate a passion or get rid of it.
Why Failure Is Good for Success
Why Failure Is Good for Success
Why Failure Is Good for Success
To achieve the greatest success, you have to embrace the prospect of failure.
The sweetest victory is the one that’s most difficult. The one that
requires you to reach down deep inside, to fight with everything you’ve
got, to be willing to leave everything out there on the
battlefield—without knowing, until that do-or-die moment, if your heroic
effort will be enough. Society doesn’t reward defeat, and you won’t
find many failures documented in history books.
The exceptions are those failures that become
steppingstones to later success . Such is the case with Thomas Edison,
whose most memorable invention was the light bulb, which purportedly
took him 1,000 tries before he developed a successful prototype. “How
did it feel to fail 1,000 times?” a reporter asked. “I didn’t fail 1,000
times,” Edison responded. “The light bulb was an invention with 1,000
steps.”
Unlike Edison, many of us avoid the prospect of failure. In fact, we’re
so focused on not failing that we don’t aim for success, settling
instead for a life of mediocrity. When we do make missteps, we gloss
over them, selectively editing out the miscalculations or mistakes in
our life’s résumé. “Failure is not an option,” NASA flight controller
Jerry C. Bostick reportedly stated during the mission to bring the
damaged Apollo 13 back to Earth, and that phrase has been etched into
the collective memory ever since. To many in our success-driven society,
failure isn’t just considered a non-option—it’s deemed a deficiency,
says Kathryn Schulz, author of Being Wrong: Adventures in the Margin of
Error . “Of all the things we are wrong about, this idea of error might
well top the list,” Schulz says. “It is our meta-mistake: We are wrong
about what it means to be wrong. Far from being a sign of intellectual
inferiority, the capacity to err is crucial to human cognition.”
Failure Is Life’s Greatest Teacher
When we take a closer look at the great thinkers throughout history, a
willingness to take on failure isn’t a new or extraordinary thought at
all. From the likes of Augustine, Darwin and Freud to the business
mavericks and sports legends of today, failure is as powerful a tool as
any in reaching great success. “Failure and defeat are life’s greatest
teachers [but] sadly, most people, and particularly conservative
corporate cultures, don’t want to go there,” says Ralph Heath, managing
partner of Synergy Leadership Group and author of Celebrating Failure:
The Power of Taking Risks, Making Mistakes and Thinking Big . “Instead
they choose to play it safe, to fly below the radar, repeating the same
safe choices over and over again. They operate under the belief that if
they make no waves, they attract no attention; no one will yell at them
for failing because they generally never attempt anything great at which
they could possibly fail (or succeed).”
However, in today’s post-recession economy, some employers are no longer
shying away from failure—they’re embracing it. According to a recent
article in BusinessWeek, many companies are deliberately seeking out
those with track records reflecting both failure and success, believing
that those who have been in the trenches, survived battle and come out
on the other side have irreplaceable experience and perseverance.
“The quickest road to success is to possess an attitude toward failure of ‘no fear.’ ”
They’re veterans of failure. The prevailing school of thought in
progressive companies—such as Intuit, General Electric, Corning and
Virgin Atlantic—is that great success depends on great risk , and
failure is simply a common byproduct. Executives of such organizations
don’t mourn their mistakes but instead parlay them into future gains.
“The quickest road to success is to possess an attitude toward failure
of ‘no fear,’ ” says Heath. “To do their work well, to be successful and
to keep their companies competitive, leaders and workers on the front
lines need to stick their necks out a mile every day.
They have to deliver risky, edgy, breakthrough ideas, plans,
presentations, advice, technology, products, leadership, bills and more.
And they have to deliver all this fearlessly—without any fear
whatsoever of failure, rejection or punishment.”
Reaching Your Potential
The same holds true for personal quests, whether in overcoming some
specific challenge or reaching your full potential in all aspects of
life. To achieve your personal best, to reach unparalleled heights, to
make the impossible possible, you can’t fear failure, you must think
big, and you have to push yourself . When we think of people with this
mindset, we imagine the daredevils, the pioneers, the inventors, the
explorers: They embrace failure as a necessary step to unprecedented
success. But you don’t have to walk a tightrope, climb Mount Everest or
cure polio to employ this mindset in your own life.
When the rewards of success are great, embracing possible failure is key
to taking on a variety of challenges, whether you’re reinventing
yourself by starting a new business or allowing yourself to trust
another person to build a deeper relationship. “To achieve any worthy
goal, you must take risks,” says writer and speaker John C. Maxwell. In
his book Failing Forward: Turning Mistakes into Stepping Stones for
Success , he points to the example of legendary aviator Amelia Earhart,
who set several records and achieved many firsts in her lifetime,
including being the first female pilot to fly solo over the Atlantic
Ocean.
Although her final flight proved fateful, Maxwell believes she knew the
risk—and that the potential reward was worth it. “[Earhart’s] advice
when it came to risk was simple and direct: ‘Decide whether or not the
goal is worth the risks involved. If it is, stop worrying.’ ” Of course,
the risks you take should be calculated; you shouldn’t fly blindly into
the night and simply hope for the best. Achieving the goal or at least
waging a heroic effort requires preparation, practice and some awareness
of your skills and talents.
Easing Into a Fearless Mindset
“One of the biggest secrets to success is operating inside your strength zone but outside of your comfort zone.”
“ One of the biggest secrets to success is operating inside your
strength zone but outside of your comfort zone,” Heath says. Although
you might fail incredibly, you might succeed incredibly—and that’s why
incredible risk and courage are requisite. Either way, you’ll learn more
than ever about your strengths, talents and resolve, and you’ll
strengthen your will for the next challenge. If this sounds like
dangerous territory, it can be. But there are ways to ease into this
fearless mindset.
12 Surprising Job Interview Tips
12 Surprising Job Interview Tips
12 Surprising Job Interview Tips
Below you’ll find the 12 best tips to help before, during and after your interview.
BEFORE
1. Research Earnings Calls, Quarterly Reports & Blog Posts
In today’s world, content is king. Goldman Sachs publishes quarterly
reports, Microsoft records its earning calls, and every startup has a
blog.
With so much out there, I’m baffled that few of us look past the
company’s homepage. It’s like we’re writing an essay on The Odyssey
without quoting a single passage from the book.
Example:
If you’re interviewing with Google, here’s two ways to answer: “What’s Google’s biggest opportunity in the next 5 years?”
Weak:
“I think wearable technology will be big because Google Glass and Apple Watch represent a new trend that shows...”
Strong:
“Call me geeky, but I was listening to Google’s quarterly earnings call
and was blown away by the fact that display advertising hit over $5
billion in the past few years. Therefore, I think that…”
Neither answer is wrong, but the latter says much more. It shows you’ve done your
homework and give answers rooted in data.
2. Use Google Alerts
Keeping up with company news is hard, especially if you’re interviewing
with multiple places at once. That’s why Google Alerts is a savior; it’s
a tool that emails you anytime a new story appears for a specific term.
That way, you learn about current events without searching for them
3. Use Social Sweepster To Clean Your Facebook & Twitter
Nowadays, 91% of employers search your social media for any red flags.
While most people tell you to watch every single thing you upload,
there’s a much easier solution. Use Social Sweepster , an app that
detects pictures of red solo cups, beer bottles, and other “suspicious”
objects. It even detects profanity from your past posts! Now, that’s
f%$king awesome!
“Too many recruiters reject candidate because of something they found on
their social platforms” Social Sweepster CEO Tom McGrath says. “We help
you create the first impression on your own terms.”
4. Schedule For Tuesday at 10:30 AM
According to Glassdoor , the best time to interview is 10:30 AM on
Tuesday. Remember, your interviewer has a world of responsibilities
beyond hiring. They’re responding to emails, balancing projects, and
meeting tons of other candidates so it’s crucial to consider when
they’ll be in the best mental state to meet you.
Subscribe to:
Posts (Atom)