So how do you transfer your photos from the iPhone 3G to your laptop running OS X if you don’t have iPhoto app? — Easy, just use the buit in app called Image Capture.
The app can be run from: Finder -> Applications -> Image Capture
Now, you can either download some or all photos by clicking on either one of the bottons as shown in the screenshot. Remember that you should have the iPhone connected to your copmuter, otherwise you would see the message saying the no device found or connected.
Credit: How do I get photos off my Apple iPhone?
Recently, SVN has been installed on a local Debian box at work. This could have been done a bit earlier in my opinion, but well it’s better be a little late than never.
The SVN server is accessed via a LAN ip: 192.168.0.126. Because we didn’t setup static IP on the router, the IP of the server keeps changing from time to time. Here’s how one can change or relocate to the new URL.
With command line, just type:
svn switch --relocate OLD_URL NEW_URL
Using Tortoise SVN on Windows:
Credit: How to change the URL of your SVN repository
Eterm doesn’t display the fancy “ or ” on my Debian. It is not a big problem, but it’s very annoying when it doesn’t properly display these symbols used in some programs such as aptitude.
I wanted to fix it, but didn’t realize it there was a fix. After two years or using it, I tried to find the solution again, and I found it. Just add the this code to the
.profile in your home directory.
Restart eterm, and the special characters should be displayed correctly. Thanks to the folks at Ubuntu forum.
Source: Aterm/Eterm doesn’t display “ or ” correctly
By default Apache2 doesn’t enable mod_userdir, a module to enable all users in your Linux system to host web pages. On Debian, it’s very to enable this mod, and probably with other modules as well. There is no need to edit the config file manually.
There are two tools offered by Debian to assist you with enabling and disabling the modules in Apache2: a2enmod and a2dismod. As the name inferred, a2enmod enables the modules, while the a2dismod does the opposite.
In my case, all I need to do is to type the following commands as the root (, or using
# sudo a2enmod mod_userdir
Then restart the apache2 server:
# sudo /etc/init.d/apache2 force-reload
rcconf if you don’t have it yet.
rcconf is Debian’s runlevel configuration tool. It allows you to enable or disable the services from starting up automatically. Recently, I got annoyed by
postgresql starting up at boot time, so this tool did the trick.
Recently my brother’s laptop which runs Windows Vista home premium no longer recognizes any USB drives. Every time a USB drive connected to the laptop, you are asked to install the drivers for that device. A while back at my part-time work place, a customer returned a laptop because it stopped recognizing the USB thumb drives.
The good news is I found the solution (from the Internet) on how to fix this problem. The file INFCACHE.1 in C:\windows\inf\ could be corrupted which is the main cause of the problem.
So to fix this, we need to remove that file. First, locate that file, right click on it and select properties. Then, set the permission so that normal user can delete that file. Finally, just delete that file and don’t forget to try plugging any USB drive again.
How I wish I had known this before.
Source: Vista does not recognize any removable USB drive
Warning: If you decide to follow the above mini step to fix your USB thumb drive problem, please proceed cautiously at YOUR OWN risk. I take no responsibility for any damages it may cause to your computer or equipment. It has been reported by someone that the above step did not work for him.
After installing XEmacs, and ran it in terminal-mode, I got this error:
$ xemacs -nw
xemacs: /usr/lib/libdb-4.5.so: no version information available (required by xemacs)
The XEmacs works fine despite producing that error message. However, I want to get rid of it. Who or what do you turn to when you have problem with computer in general? Google search is your friend.
Here is the possible cause of the above problem. XEmacs require the newer version of lbdb-4.5 than the one installed on my Debian Lenny. At the time of this writing, the version of libdb4.5 on Lenny is 4.5.20-1. To fix this problem, you need to download the Sid version (4.5.20-9) and install it manually:
$ wget http://http.us.debian.org/debian/pool/main/d/db4.5/libdb4.5_4.5.20-9_i386.deb
$ sudo dpkg -i libdb4.5_4.5.20-9_i386.deb
(Reading database ... 152904 files and directories currently installed.)
Preparing to replace libdb4.5 4.5.20-1 (using libdb4.5_4.5.20-9_i386.deb) ...
Unpacking replacement libdb4.5 ...
Setting up libdb4.5 (4.5.20-9) ...
Now let’s try to run XEmacs again:
$ xemacs -nw
Voilla, no more annoying
libdb-4.5.so no version information available message. Notice that you probably wouldn’t have this problem if you run Debian Sid.
Source: Meller777’s Weblog