Unix and OS X true find command

I’ve been very disapointed in Spotlight for mac.  It’s like google desktop.  It only finds what they choose to index.  The problem came when I wanted to delete all old configuration files for synergy so that I could do a clean reinstall of it.  Of course Spotlight was completely useless.

Here is a simple command to do a true file search of the entire contents of the drive and output the results to a file…

sudo find / -name ‘*whatToFind*’ > /Temp/FoundFiles.txt

Reprogramming Your Brain for Success

Our beliefs determine what we will and won’t try. They determine how we feel about others. They literally shape our future. For most of us, our beliefs were formed out of our past experience and environments. Many times, they don’t even make sense!  The following information is a set of tools to help you discover and take control of your beliefs.

This is an oversimplification of the real guts of what Tony Robbins teaches about reprogramming your brain for success.  The end goal is to discover your current beliefs so that you can change the disempowering ones. You should write down your answers to each question.  Don’t just read this stuff!  Do it!  Take the time to get clear about your beliefs!

When I refer to “states” below, I’m referring to mental states or feelings. Really they are the same for our purposes.

  1. Brainstorm: List your “ends” values, which should be states, not things. You get these by asking the question, “What is most important to me in (my life, my family, my career, etc)”.  If you find yourself saying something like, “my house” or “my car”, you need to ask yourself why is it that thing. Every want that you have in life is because you believe it will help you feel a certain way.  That feeling or state is what we are after.
  2. Sort that list in order by which states you would do the most to have.
  3. Brainstorm: List the states that you would do the most to avoid.  A helpful way to get these is to ask yourself, “When have I felt horrible about myself or my situation?”  Remember, we don’t want to relive it, just capture the state in a word or two.
  4. Sort that list in order by which states you would do the most to avoid.
  5. For each state in each list, answer the question, “What has to happen for me to feel this way?” These answers can usually be expressed as “if, then” statements. These statements are your beliefs about your life, your family, your career, etc.
  6. For each belief, ask the question, “Is this belief empowering or disempowering?
  7. Create new beliefs to replace the disempowering ones.  What would be a better, more empowering belief to have?
  8. Reprogram your brain with new beliefs! (see below)

Brain reprogramming techniques:

  • Scratch the record: A record that has been scratched will never play the same again!  Like a digital image or an audio recording, your memories CAN be modified!  More importantly, your interpretation of your memories can be modified. To do this, replay the memory in your mind’s eye while purposefully changing it to reflect your new belief. Do this with feeling!
  • Incantations: What you repeatedly say, you will eventually become. Use your new beliefs to create incantations which you will recite with feeling each day.

Updating your beliefs is powerful!  Remember that your beliefs affect everything you think and do.  They shape your thought patterns and your actions.  It’s absolutely critical that you get to know yourself and take control of your vessel!

How to Disable Multitasking on iPhone 3G and 3Gs iOS 4 Without Starting All Over

[contentblock id=2]

Problem: If you were in too big of a hurry to install iOS 4 on your jailbroken iPhone 3G, you might be surprised and disappointed to find out that Apple’s multitasking really doesn’t work well, or at all. After opening a few apps it basically leaves your phone with 2 to 4 MB of memory all the time. As you can imagine, that’s not enough memory to do just about anything without the OS having to free some up. You can manually remove the app freeze states but I found myself constantly doing it and trying to free memory before running anything. What a pain!

You might be asking, how did this happen? I thought multitasking was not supported on the 3G? That is correct.  It’s not supported but it can be enabled by simply flipping a switch in a Springboard plist (startup preferences file). Using the pwnage tool from the iPhone dev team you can enable multitasking during creation of your restore image by checking a checkbox but if you don’t want to build a new restore image, here is a better way.

This also applies to 3Gs owners who are disapointed in Apple’s implementation of “multi-tasking”. I prefer backgrounder to this solution. I would even if I were on a 3Gs.

Backgrounder has been updated for iOS4.  The beauty of this solution is that you can turn it on or off any time you wish.  It also supports more than one type of backgrounding (native, and foreground styles).

Solution:

  1. SFTP in to your phone or use something like iPhone Explorer and Go to /System/Library/CoreServices/SpringBoard.app/
  2. Open the N82AP.plist (for iPhone 3G) or the N88AP.plist (for iPhone 3Gs).  If you are unfamiliar with plist files, they are just XML files. In this case you may need the Apple plist editor (already installed on all macs) since these particular plist files are stored in a binary format rather than text.
  3. Expand the “Capabilities” section and uncheck the “multitasking” boolean property.
  4. Save the file and respring.

There are a few other things you may want to modify in the plist file while you’re in there.  Have a look at the options.  For the sake of speed, I disabled “homescreen-wallpaper” and enabled “launch-application-while-animating” and “load-thumbnails-while-scrolling”.  After making these changes and respringing, my iPhone 3G is running snappy!  There are a few exceptions to this such as the built in camera app. It is definitely slower to start up.  🙁

Can somebody please make an SBSetting Toggle for this?  That would be awesome!

UPDATE: There is an app on the SiNfuL iPhone repo now which will disable multitasking.  It’s called “Disable iOS4 Mutlittasking”.  That’s cool but an SBSettings toggle would still be cooler (even though it requires a respring).