Skip to main content

Stressed ?.... a few tips to follow

Alsalam alikom wa ra7mat Allah wa barakatoh

For the past week, dozens of things happened... some where bad, some where great.. al 7amd lellah for both.

Today, I found an article that lists 52 tips to reveal the stress (or to avoid it)..
I picked 15 points:
  1. Do nothing which, after being done, leads you to tell a lie.
  2. Practice preventive maintenance. Your car, appliances, home, and relationships will be less likely to break down/fall apart "at the worst possible moment.
  3. Procrastination is stressful. Whatever you want to do tomorrow, do today; whatever you want to do today, do it now.
  4. Plan ahead. Don't let the gas tank get below one-quarter full; keep a well-stocked "emergency shelf" of home staples; don't wait until you're down to your last bus token or postage stamp to buy more; etc.
  5. Allow 15 minutes of extra time to get to appointments. Plan to arrive at an airport one hour before domestic departures
  6. Simplify, simplify, simplify. . .
  7. Make friends with non-worriers. Nothing can get you into the habit of worrying faster than associating with chronic worrywarts.
  8. When the stress of having to get a job done gets in the way of getting the job done, diversion - a voluntary change in activity and/or environment - may be just what you need.
  9. Learn to live one day at a time.
  10. Do something for somebody else.
  11. Become more flexible. Some things are worth not doing perfectly and some issues are fine to compromise upon.
  12. Eliminate destructive self-talk: "I'm too old to. . .," "I'm too fat to. . .," etc.
  13. Forget about counting to 10. Count to 1,000 before doing something or saying anything that could make matters worse
  14. Have a forgiving view of events and people. Accept the fact that we live in an imperfect world.
  15. Have an optimistic view of the world. Believe that most people are doing the best they can.
[Source] 52 Proven Stress Reducers

Alsalam alikom wa ra7mat Allah wa barakatoh

Comments

Popular posts from this blog

Exploiting Double Free Vulnerabilities...

Alsalam alikom wa ra7mat Allah wa barakatoh



Huh!! that's what I said when I first saw that title... but let me explain...


Double Free means that you try to free a pointer two times (which is logically can't work).
Actually windows SP2 and later (even Vista) this can be done (in somehow) and can actually corrupt the heap (Vista will shout at your face if u did) and that can make you able to use and browse the heap as you want..

Facts to know about how Windows frees your pointers:
- There is something called Lookaside buffer (fast access, small size) and another thing is FreeList(slower access, the whole memory).
- Chunk is an object of the DataStructure that holds mainly 2 things: pointer to where the next free Chunk is and pointer to the previous free one (think about it like a node in a linked list)
- The first 4 bytes of the Chunk is the BLink (BackLink) and the second 4 bytes is the FLink
- delete ptr1;
delete ptr2;
Windows takes your Chunk (for ptr1) and puts it in the Lookaside s…

Windows7 adds Math Input Panel

Alsalam alikom wa ra7mat Allah wa barakatoh…I was reading a windows team post about Input Panels improvements in Windows7 [here]. When at the end I saw a very interesting –intuitive if you wish- new thing… which is, as you guessed, the Math Input Panel…Yes, that crappy font is mine… I “drew” that by mouse as I don’t have a tablet pen/pc.You can then paste it directly into word and it’ll recognize it as an editable equation…During my tests, the output panel (the top part) hanged, but I liked that the drawing panel was still responsive and I could still write/erase… till the top one started to respond again…One other thing to know, after you click Insert (that button down there) it copies the equation in MathML [Wikipedia link] format.. which is a standard way of representing equations and hence any application that recognizes the format can insert it not as an image but as a nice editable equation…If you think it recognized something wrong, you can click “Select and Correct” then draw …

Visual Studio 2008 Not saving changes or project properties?

Alsalam alikom wa ra7mat Allah wa barakatoh (Peace upon you)I’ve recently ran into problems with VS 2008. Summarized here:When you try to edit the project properties (specially C++ projects) you are faced with a little nice message saying “Exception from HRESULT: 0xF9F0F308”. Sometimes when you are editing a file (specially large ones), VS doesn’t recognize you’ve made changes (ie doesn’t display that ‘*’ in the files tabs) hence, when you save, nothing actually gets saved. For those 2 problems, a friend explained the problem and a work around (till they officially release a fix)…Open up a Visual Studio 2008 Command Prompt Run cd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE" Make a backup copy of devenv.exe in case something does not work right.
ie. copy devenv.exe devenv.exe.bak Run editbin /largeaddressaware:no devenv.exe Happy VSing… :)