Curtis Johnstone

May 15, 2012

A Peek Inside a 3.5” Hard Drive

Filed under: Technology — Tags: , , — Curtis Johnstone @ 9:56 pm

I have always been curious to open up an old hard drive and look at the inner workings. This was always difficult because of the thick plated steel that protects the moving arm and platter, and the thick bolts with unique socket shapes (Hexalobular screws possibly).

My handy father recently cracked one open with some persistence.  This is what the inside moving arm and magnetic spinning platter looks like. It is a 4 Gb Western Digital circa ~2003.

Hard Drive

After playing with the pieces I was eager to see one in action.

Not to be out done, good old Wikipedia has an excellent article on hard drives including a small video of the inside of a hard drive in action: http://en.wikipedia.org/wiki/Hard_disk_drive.

January 27, 2012

Environmental Working Group – List of Pesticides on Popular Produce and Vegetables

Filed under: Health — Tags: — Curtis Johnstone @ 2:51 pm

The Environmental Working Group (EWG) recently published an easy-to-read list of which fruit and vegetables are the worst and the best for pesticide exposure.  You can read more about it here: http://www.ewg.org/foodnews/.

EWS - Fruits and Veg

January 13, 2012

Online Lookup Tools – DNS Queries and Other

Need to do an external DNS lookup, ping, WHOIS, reverse lookup?

There are many online sites that provide these services. One that is relatively simple and streamlined is ping.eu: http://ping.eu.

November 25, 2011

Mayo Clinic – How to be happy: Tips for cultivating contentment

Filed under: Life — Tags: , — Curtis Johnstone @ 1:17 pm

I stumbled accross an excellent article release by the Mayo Clinic article on ‘Tips for cultivating contentment‘ (http://www.mayoclinic.com/health/how-to-be-happy/MY01357). Some great advice in here.

———————————————————————————————————————————-

How to be happy: Tips for cultivating contentment

Are you tired of waiting around for happiness to find you? Stop waiting and start getting happy with these tips.

Do you know how to be happy? Or are you waiting for happiness to find you? Despite what the fairy tales depict, happiness doesn’t appear by magic. It’s not even something that happens to you. It’s something you can cultivate. So, what are you waiting for? Start discovering how to be happy.

How to be happy: What science tells us

Only 10 percent or so of the variation in people’s reports of happiness can be explained by differences in their circumstances. The bulk of what determines happiness is your personality and — more modifiable — your thoughts and behaviors. So, yes, you can learn how to be happy — or at least happier.

Although you may have thought, as many people do, that happiness comes from being born rich or beautiful or living a stress-free life, the reality is that those things don’t confer lasting happiness. Indeed, how to be happy can’t be boiled down to one thing. Happiness is the sum of your life choices. People who are happy seem to intuitively know this, and their lives are built on the following pillars:

  • Devoting time to family and friends
  • Appreciating what they have
  • Maintaining an optimistic outlook
  • Feeling a sense of purpose
  • Living in the moment

How to be happy: Practice, practice, practice

The good news is that your choices, thoughts and actions can influence your level of happiness. It’s not as easy as flipping a switch, but you can turn up your happiness level. Here’s how to get started on the path to creating a happier you.

Invest in relationships

Surround yourself with happy people. Being around people who are content buoys your own mood. And by being happy yourself, you give something back to those around you.

Friends and family help you celebrate life’s successes and support you in difficult times. Although it’s easy to take friends and family for granted, these relationships need nurturing. Build up your emotional account with kind words and actions. Be careful and gracious with critique. Let people know that you appreciate what they do for you or even just that you’re glad they’re part of your life.

Express gratitude

Gratitude is more than saying thank you. It’s a sense of wonder, appreciation and, yes, thankfulness for life. It’s easy to go through life without recognizing your good fortune. Often, it takes a serious illness or other tragic event to jolt people into appreciating the good things in their lives. Don’t wait for something like that to happen to you.

Make a commitment to practice gratitude. Each day identify at least one thing that enriches your life. When you find yourself thinking an ungrateful thought, try substituting a grateful one. For example, replace “my sister forgot my birthday” with “my sister has always been there for me in tough times.” Let gratitude be the last thought before you go off to sleep. Let gratitude also be your first thought when you wake up in the morning.

Cultivate optimism

Develop the habit of seeing the positive side of things. You needn’t become a Pollyanna — after all, bad things do happen, and it would be silly to pretend otherwise. But you don’t have to let the negatives color your whole outlook on life. Remember that what is right about you almost always trumps what is wrong about you.

If you’re not an optimistic person by nature, it may take time for you to change your pessimistic thinking. Start by recognizing negative thoughts as you have them. Then take a step back and ask yourself these key questions:

  • Is the situation really as bad as I think?
  • Is there another way to look at the situation?
  • What can I learn from this experience that I can use in the future?

Find your purpose

People who strive to meet a goal or fulfill a mission — whether it’s growing a garden, caring for children or finding one’s spirituality — are happier than those who don’t have such aspirations. Having a goal provides a sense of purpose, bolsters self-esteem and brings people together. What your goal is doesn’t matter as much as whether the process of working toward it is meaningful to you. Try to align your daily activities with the long-term meaning and purpose of your life. Research studies suggest that relationships provide the strongest meaning and purpose to your life. So cultivate meaningful relationships.

Are you engaged in something you love? If not, ask yourself these questions to discover how you can find your purpose:

  • What excites and energizes me?
  • What are my proudest achievements?
  • How do I want others to remember me?

Live in the moment

Don’t postpone joy waiting for a day when your life is less busy or less stressful. That day may never come. Instead, look for opportunities to savor the small pleasures of everyday life. Focus on the positives in the present moment. Don’t spend your time rehashing the past or worrying about the future. Take time to stop and smell the flowers.

November 23, 2011

Two Great Native Windows Utilities that are Rarely Used

Two very useful but rarely used Windows utilities that are shipped with almost every major Windows O/S:

  1. Microsoft Windows System Information Utility (msinfo32.exe)
    • Launch “msinfo32.exe” from the command line or Run Window.
    • This utility provides a nice detailed report about your computer’s hardware configuration, computer components, and software, including drive drivers.
    • You can export the results to a file.
  2. Microsoft System Configuration (msconfig.exe)
    • Launch “msconfig.exe” from the command line or Run Window.
    • From this utility you can control how your system start’s up including the O/S boot order and which device drivers are loaded.
    • There is also a very handy Tools tab that lists other system tools. You pick any took and directly launch into it.

November 14, 2011

Microsoft Word – Saving to Clean HTML

Filed under: Technology — Tags: , , — Curtis Johnstone @ 2:53 pm

If you have ever used Microsoft Office to author a document, and then saved it as HTML, you know that the HTML document is littered with large amounts of Microsoft Office-specific tags , including tags used by Microsoft Word to format the document.  This is good if you plan to keep editing the document in Microsoft Office, but not so good if you plan to post the resulting HTML file on a Web page or edit it with another HTML formatting editor.

Microsoft Word 2010 has a file format that you save your document to called “Web Page, Filtered”. This will remove the Office specific tags and only keep the formatting tags necessary to render your document in HTML – as it appears in Word.

Note: saving in this format might prevent you from using some Office features in this document if you edit it in Microsoft Office at a later date.

It is a quick and easy way to clean up the resulting HTML of your Word document though.

September 13, 2011

Getting started with Microsoft LightSwitch

Filed under: Technology — Tags: — Curtis Johnstone @ 9:02 pm

Microsoft LightSwitch is a great technology from Microsoft to build business applications.  It leverages Silverlight under the covers and is a simple way to design and delivery polished business applications that consume information from a variety of data sources.

This is a great resource to learn how to creating new data sources or leverage existing ones with LightSwitch:  http://www.microsoft.com/visualstudio/en-us/lightswitch/intro-videos/data-queries-code

September 10, 2011

How to Check a MD5 or SHA1 Checksum on a File in Windows

Filed under: Technology — Tags: , — Curtis Johnstone @ 10:15 am

Many shareware and open source projects are using MD5 or SHA1 checksum’s to ensure that the executable file you download is the authentic executable you are about to run on your computer.

A checksum will be a long ugly looking strong like this MD5 checksum: 5b8a3ce687052c70d3ec524945a70fc4a68f5b5b.

To check that the file you downloaded is authentic, you can use a command line tool from Microsoft called “FCIV”.

The tool and instructions on how to use it is available here: http://support.microsoft.com/kb/841290.

September 8, 2011

Using the Active Directory PowerShell Cmdlet’s

Starting in Windows 2008 R2, Microsoft included a PowerShell Active Directory module which includes a group of cmdlets to perform various administrative, configuration, and diagnostic tasks in your Active Directory environment. You can use these cmdlet’s to manage existing Active Directory user and computer accounts, groups, organizational units (OUs), domains and forests, domain controllers, and password policies, or you can create new ones.

The Active Directory module is available:

  • On Windows 2008 R2 server when you install the AD DS or AD LDS server roles.
  • As part of the Remote Server Administration Tools (RSAT) feature on a Windows Server 2008 R2 server
  • As part of the RSAT feature on a Windows 7 computer

To use the AD cmdlet’s you will need to import the ActiveDirectory module in PowerShell (V2 is required):

Import-Module ActiveDirectory

or

%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -noexit -command import-module ActiveDirectory

A key requirement to use the AD cmdlet’s to manage an Active Directory deployment is the following:

A Windows Server 2008 R2 Active Directory Web Services (ADWS) service must be installed on at least one domain controller in the AD domain or on one server that hosts your AD LDS instance. For more information about ADWS, see AD DS: Active Directory Web Services (http://go.microsoft.com/fwlink/?LinkID=141393).

If you receive this error:

‘Unable to find a default server with Active Directory Web Service running’

You do not have ADWS installed on at least one DC.

In addition, to use the Active Directory module in PowerShell to access or manage Active Directory services that are running on Windows Server 2008 or Windows Server 2003 computers, you need to install the Active Directory Management Gateway Service. See the Active Directory Management Gateway Service (Active Directory Web Service for Windows Server 2003 and Windows Server 2008).

Here is a useful cmdlet (that doesn’t require the ActiveDirectory module) to get information about your AD environment:

[System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()

References

Active Directory Administration with Windows PowerShell (TechNet Reference of Cmdlets)

Windows PowerShell 2.0 Brings Scripting to Active Directory — and Not Just for Windows Server 2008 R2

Active Directory Management Gateway Service (Active Directory Web Service for Windows Server 2003 and Windows Server 2008)

August 30, 2011

Simple Healthy Foods Tips

Filed under: Health — Curtis Johnstone @ 9:51 pm

Good Foods – that also help ward off Cancer

  • Green Tea
    • Green tea acts as Blood Thinner
    • Loose leaf Japanese Green Tea is the best
  • Walnuts
  • Broccoli
  • Garlic
  • Onions
  • Blueberries
  • Strawberries
  • Cherries
  • Sardines
  • Salmon
  • Omega 3 is good; Omega 6 is generally not good.
  • Dark Chocolate is generally good
  • Caffeine is fair

Not Good

  • Carbohydrates and Sugars are generally not good ; consume in moderation
  • Dairy with Growth Hormones are generally not good
Older Posts »

Powered by WordPress