2009/06/30

win2k8 workstation - Disabling Internet Explorer Enhanced Security using registry

To turn off Internet Explorer Enhanced Security Configuration, you can remove the IEHarden registry entry from the user account profile. To do this, follow these steps:

1. run Regedit.exe.
2. Locate and then click the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zonemap
3. In the details pane, right-click IEHarden, click Modify, type 0 (zero) in the Value data box, and then click OK.
4. You can also remove this registry entry. Locate and then click the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
5. In the details pane, right-click IEHardenIENoWarn, click Modify, type 0 (zero) in the Value data box, and then click OK.
6. Exit Registry Editor, and then start Internet Explorer.
7. On the Tools menu, click Internet Options. Click the Advanced tab, click Restore Defaults, and then click OK.

2009/06/27

How to sync an iPhone with two (or more) Computers

http://theappleblog.com/2009/02/26/sync-iphone-ipod-with-multiple-computers

One thing I have always wanted to do is be able to sync my iPhone or iPod with any computer. Lifehacker had an article a while back on doing this, but the software they used does not support the iPhone or iPod touch. So, I have developed a method to connect any iPod or iPhone to any computer to download the music or movies from that computer to the iPod or iPhone.

Once configured, you only need your iPhone/iPod, the USB sync cable, and a computer with iTunes to implement the hack (the idea being you always have your iPhone or iPod and the person with the computer has the iPod USB cable). It takes about 20 minutes to set this hack up and then only a few seconds to implement each time you would like to use it.

Things to Note

  • If you want to be able to do this hack on both Mac and Windows machines, you’re going to have to configure two separate iTunes libraries: one from a Mac and one from a Windows machine.
  • I was using an iPhone when writing this tutorial, so the iPod directions may vary slightly.
  • If you are using an iPhone or iPod touch: When you sync your device, the account last used to access the iTunes Store from the computer is synced to the mobile device. So make sure you sign out of your friend’s iTunes account before you sync your device, otherwise when you try to download the application via the app store on your phone you will be logged in as them.
  • This method does not work with DRM’ed music.
  • Using this method will let you plug your iPhone/iPod into any computer and listen to the music directly off of it. Whereas before, this was not possible.

What You’ll Need

Configure Your iPhone/iPod for Use as External Storage

You are only going to have to configure your iPhone or iPod to be used an external storage once.

  • iPhone: Download & Configure Air Sharing ($4.99)
  • iPod: Setup as hard drive
    1. Connect iPod to computer and open iTunes
    2. iTunes > Preferences > iPod Tab
    3. Click checkbox “Enable disk use”
    4. Close iTunes

Manually Manage Music and Videos On iPhoneiPod

We need to make it so we can simply drag songs onto our iPhone/iPod.

  1. Launch iTunes
  2. Connect iPhone/iPod
  3. Select the “Manually manage my iPhone/iPod” option
  4. Close iTunes

Create an iTunes Index On Your iPhone/iPod

If you want to be able to sync with both Mac and Windows computers you will have to make two separate iTunes index folders: one for the Mac and one for Windows boxes. So, just do this step both a Mac and Windows machine.

  1. Mount your iPhone/iPod as external storage device.
  2. Point the iTunes index to your iPhone/iPod. On a Mac: while holding “option,” double click on your iTunes icon. On a Windows machine: while holding “Shift,” double click on your iTunes icon in your start menu.
  3. A “Choose your library” window will pop up. Select “Create Library.”
  4. Under “Where” select the location on your iPod/iPhone from the pulldown. Save as: “iTunes1″. iTunes will Launch. Close it. If you decide to do this on a Mac and Windows machine, make a folder called “iTunes 1″ from the Mac and a folder called “iTunes 2″ from the Windows machine.

Editing Files On iPhone/iPod

You are only going to have to edit the files on your iPhone once. We need to edit those files so that whatever computer you connect your device to will think it can sync to your iPhone/iPod. I found this tutorial over at the Shiny Things blog. Thanks Andrew!

  1. On your computer navigate to your iTunes music folder. Macs: User> Music > iTunes. Windows: Music > iTunes.
  2. Right click on “iTunes Music Library.xml” and open it with a text editor (Smultron, or something similar, in OS X and Notepad in Windows)
  3. Look for the “Library Persistent ID”
  4. There will be a string of numbers and letters between the “string” tags. (In the screenshot below it is 2817B0BEDC7A2E5F). Copy this entry to another document for safe keeping.
    itunes_xml
  5. It’s time to edit the files on your iPhone/iPod. Go ahead and mount your iPhone/iPod and then navigate to the iTunes folder we created earlier.
  6. Find the “iTunes Music Library.xml,” and open it with a text editor.
  7. Look for the “Library Persistent ID.” First, copy whatever is between “string” tags to a text document for safe keeping. Next, Replace whatever is between the “string” tags with our key that we copied earlier. In our example we are replacing the ID on the iPhone/iPod with 2817B0BEDC7A2E5F
  8. Save the file and close it.
  9. Now find the file called “iTunes Music Library” and open it with the Hexeditor mentioned above in “What You’ll Need.” (On a Windows machine it is called “iTunes Music Library.itl”)
  10. Select “Find and Replace” from the Edit menu. Make sure “Hex” matching is selected (not ASCII). In “Find” enter the ID from the iPhone/iPod before we replaced it (The ID we put into a text document in step 7). In Replace, enter the ID we copied from the original computer (in our example it’s 2817B0BEDC7A2E5F). Choose Replace All, there should be one match.
  11. Save the file. Close the Hexeditor.
  12. We are now completely done configuring the iPhone/iPod. If you want to be able to sync to both Windows and Mac machines, make sure the do the all the steps listed above on both machines.

Getting Music From Other Computers (Finally!)

Getting music from computers that are not your home computer is the step that you will have to perform over and over again.

  1. Mount your iPhone (using Air Sharing) or iPod (as an external storage device)
  2. Point the computer’s iTunes index to the one on your iPhone/iPod. Mac: while holding “option,” double click on your iTunes icon. Windows: while holding “Shift,” double click on your iTunes icon in your start menu.
  3. A “Choose your library” window will pop up. Select “Choose Library.”
  4. Navigate to the “iTunes 1″ or “iTunes 2″ (depending on if you’re on Mac or a Window’s machine) folder on your iPhone/iPod and select “Open”
  5. iTunes will launch
  6. The actual iTunes library will be empty, this is OK. We aren’t adding things to the iTunes library, just to the iPhone/iPod library. Your iPhone/iPod should appear in the left hand column of iTunes. Click on your iPhone’s or iPod’s music library to select it. A playlist should appear in the main iTunes screen with all the music form the iPhone/iPod.
  7. Drag any music you want into your iPhone’s library. Make sure you drag into your iPhone’s/iPod’s library, not the iTunes library.
    00000211
  8. Since we are loading the library our iPhone/iPod is connected to, not the computer’s local iTunes library, we have to manually locate music on the computer to be able to add it to our iPhone or iPod. In OS X navigate to: User > Music > iTunes > iTunes Music. In Windows navigate to: My Documents > Music > iTunes > iTunes Music.
  9. When you’re done getting music, safely disconnect your iPhone/iPod and close iTunes.
  10. As a final step, we need to point the computer back to its original iTunes library. On a Mac: while holding “option,” double click on your iTunes icon. On a Windows machine: while holding “Shift,” double click on your iTunes icon in your start menu.
  11. A “Choose your library” window will pop up. Select “Choose library.” Point to the iTunes Music folder on their computer (Inside the Music folder on both Mac and PC).

Getting the New Music Back Onto Your Main Computer

iTunes won’t let you take the music off your iPhone/iPod, so we’re going to have to use third party software.

  1. Download iPodDisk (OS X Free Open Source iPod Ripping Software) or Pod to PC (Windows)
  2. I made a playlist on my iPhone called “New” so I know what to download.
  3. Import all songs from the “New” playlist.
  4. Empty the “New” playlist so that you do not accidentally download the same songs next time you sync.

And there you have it! I know it’s a lot to digest, so please let me know if you have any questions in the comments.

Mercury簡易改裝

有同好有一樣的困擾 - 如何使用自己的data logging軟體,因此寫了這篇來分享我的簡易改裝。 Background 雲豆子 MERCURY roaster 烘豆機的設計是使用自行開發的軟體,來:1. 操控風門/火力; 2. data logging/自動烘焙。 ...