Techie Corner http://www.techiecorner.com The place for computer tips and tricks! microsoft windows, open source, database, programming, freeware and etc Wed, 23 Jul 2008 11:46:30 +0000 http://wordpress.org/?v=2.6 en How to migrate SVN repository? http://www.techiecorner.com/175/how-to-migrate-svn-repository/ http://www.techiecorner.com/175/how-to-migrate-svn-repository/#comments Sun, 20 Jul 2008 05:14:05 +0000 sogua http://www.techiecorner.com/?p=175 yourreporname.dump scp yourreponame.dump username:new.machine.ip:/path/to/your/new/repo This steps is to transfer your dump file to your new machine. You will [...]]]> There are only few easy steps to migrate svn repository. This post is for my own notes, in case i forget how to migrate svn repository again!

Below is the steps to migrate SVN repository:-

  • Start your terminal
  • svnadmin dump /path/to/your/repo > yourreporname.dump
  • scp yourreponame.dump username:new.machine.ip:/path/to/your/new/repo
    This steps is to transfer your dump file to your new machine. You will prompt to enter password for the new machine.
  • Now your SVN dump file should be in new machine
  • Login to your new machine
  • cd /path/to/your/new/repo
  • svnadmin create reponame
  • svnadmin load reponame < yourreponame.dump
  • Done, you just just migrated your svn repository

* If you dump file is too big for transfer, you can compress it using tar before sending over thru network.
Tar command for compress: “tar zcf yourreponame.tgz yourreponame.dump”.
Tar command for uncompress: “tar zxf yourreporname.tgz”

]]>
http://www.techiecorner.com/175/how-to-migrate-svn-repository/feed/
How to sync Google Calendar with Thunderbird http://www.techiecorner.com/178/how-to-sync-google-calendar-with-thunderbird/ http://www.techiecorner.com/178/how-to-sync-google-calendar-with-thunderbird/#comments Fri, 18 Jul 2008 16:41:03 +0000 sogua http://www.techiecorner.com/?p=178 As promised, i’ll teach you how to sync Google Calendar with Thunderbird today. Now you can sync your Thunderbird with Google Calendar by using Provider for Google Calender add-on. So to sync Google Calendar with Thunderbird you need to install one more plugin for your Thunderbird.

Below is the steps to sync Google Calendar with Thunderbird:-

  1. Download and Install Thunderbird plugin - Provider for Google Calendar
  2. If you have no Calendar running, you can skip step 2, 3 and 4. If you already have your current Calendar running, you need to export your Calendar. Go to your Thunderbird Calendar view, click on File -> Export Calendar -> Select your Calendar -> enter a name for the export file and select iCalendar (.ics) at “Save as type:”
  3. Now, login to your Google Calendar and go to the Left Side bar -> My Calendar -> Click on “Add” and Select “Import Calendar”
    thunderbird sync google calendar import, thunderbird, calendar
  4. Click on Browse -> select the .ics file you just export out from your Thunderbird -> Choose your calendar and click “Import”
    thunderbird sync google calendar, google import calendar window, google calendar
  5. Go to “Settings” at the top left corner -> Click on “Calendar” Tab -> Click on your calendar name -> Look for Private Adress and copy the url for XML (Right Click -> Copy Link Location).

    thunderbird sync google calendar, thunderbird calendar, calendar system, google calendar settings
    Google Calendar Settings

    thunderbird sync google calendar, thunderbird calendar, calendar system, google calendar, google calendar settings
    Select your calendar

    thunderbird sync google calendar, thunderbird calendar, calendar system, google private url, google calendar
    Google Calendar Private Address for XML

  6. Go to Thunderbird -> File -> New -> Calendar
  7. Create New Calendar window popup -> Choose “On the Network” -> Choose “Google Calendar” -> Paste your private xml link to the “Location” text box and click Next
  8. Now enter a name for your Calendar and choose your calendar Color and mark if you need the alarm for all your imported event and click “Next” -> “Finish”
  9. Now, You will be prompt to enter your Google Calendar login, enter your login.
  10. Done, your Thunderbird should be sync with Google Calendar by now.

** You must have Thunderbird version 2.0 and above to run Calendar add-ons. If you have not install Calendar add-on, you can learn it from from my previous post - How to add calendar in Thunderbird

]]>
http://www.techiecorner.com/178/how-to-sync-google-calendar-with-thunderbird/feed/
How to add calendar in Thunderbird - Lightning Calendar add-on http://www.techiecorner.com/176/how-to-add-calendar-in-thunderbird-lightning-calendar-add-ons/ http://www.techiecorner.com/176/how-to-add-calendar-in-thunderbird-lightning-calendar-add-ons/#comments Thu, 17 Jul 2008 06:43:38 +0000 sogua http://www.techiecorner.com/?p=176 lightning calendar, thunderbird add on, free calendering system, calendar systemDedicated to those who want to add Calendar in Thunderbird. If u r running Thunderbird and want to have an integrated Calendar system like Ms Outlook, then Lightning Calendar is the solution. You can add Lightning Calendar module to Thunderbird and the steps is just easy.

Below is the step to add Lightning Calendar to Thunderbird:-

  • Download Lightning Calendar module from Thunderbird Add-ons homepage
  • Once download, start your Thunderbird -> Tools -> Add Ons
  • Under Extensions Click “Install” button and look for the lightning calendar module you just downloaded.
  • Wait for the count down, and click “Install”
  • Now restart your Thunderbird
  • Done, you have just add Lightning calendar to Thunderbird

thunderbird calendar view

Originally, Lightning calendar is ported from Sunbird Calendar as a add-on for Thunderbird. The primary goal of Lightning is to provide a pleasant and productive user experience for both email and calendaring tasks, largely independent of specific competitors’ product plans (from Mozila Wiki).

The best part about Lightning Calendar is, it’s able to sync your calendar with Google Calendar (with third party add-on support). I’m going to teach u how to sync your Lightning Calendar with Google Calendar in the coming post. Stay tuned.

]]>
http://www.techiecorner.com/176/how-to-add-calendar-in-thunderbird-lightning-calendar-add-ons/feed/
How to install apache, php, mysql with macport in Mac OS X http://www.techiecorner.com/174/how-to-install-apache-php-mysql-with-macport-in-mac-os-x/ http://www.techiecorner.com/174/how-to-install-apache-php-mysql-with-macport-in-mac-os-x/#comments Mon, 14 Jul 2008 13:23:02 +0000 sogua http://www.techiecorner.com/?p=174 The easiest way to install apache, php and mysql in Mac is thru mac port. You can also install apache, php and mysql by compiling each of the service but it’s too time consuming. If you just wan to install apache, php and mysql for development use, Mac Port install is good enough.

Follow the steps below to install apache, php and mysql in Mac OS X:-

  • Download and install Mac Port.
    They have good documentation, just refer to the documentation if you have problem.
  • Once Mac Port is running, ensure you have the administrator right because all the steps below need administrator right.
  • start your “Terminal” and type:-

    sudo port selfupdate

  • Once macport selfupdate completed, you enter the command below at the terminal:-

    sudo port install gawk
    sudo port install nawk

  • Once gawk and nawk is installed, you can start install apache, php and mysql using the following command:-

    sudo port install php5 +apache2 +mysql5 +server

    ** This process take quite some time, go take a walk and come back after 30 min ***
    *** you must put the +server at the back, else you wont be able to configure it to auto start at boot up ***

  • Once it completed, you need to stop the local apache process.
  • Go to System Preference -> Sharing -> uncheck the Personal Web sharing.
    *** You must disable the Personal Web Sharing to avoid any conflict between your apache2 and the default apache. ***
  • Once done, you can configure apache and mysql to start automatically by enter the command below:-

    sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist
    sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist

  • To start your apache2 and mysql5 manually, type the command below:-

    sudo port /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start
    sudo port /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start

  • Done, you just install apache2, php5 and mysql5 with macport in Mac OS X

To test if your apache is running, create a file name index.php with content:-

<?php phpinfo(); ?>

and save it at:-
/opt/local/apache2/htdocs/index.php

Then, Point your browser to http://localhost, and you should see your phpinfo page.

FAQ for How to install Apache, PHP and MySQL with Macport in Mac OS X

Q. Where is port located?
Answer: instead of using “port” you can use “/opt/local/bin/port”. Or you may create an alias for it by using this command:-

alias port=’/opt/local/bin/port’

Q. I’ve done everything but when my browser point to http://localhost it show “Page Not Found”.
Answer: Please make sure you have disable your Mac default apache. By default, Mac OS X already installed with apache. You have to make sure you have disable the apache at System Preference -> Sharing -> Personal Web Sharing.

Q. Where is my apache located?
Answer: If you install your apache with MacPort, your all apache files will be located at /opt/local/apache2. Or may be i should said, all MacPort installed program will be store in /opt folder.

Q. Where is my apache configuration file (httpd.conf)?
Answer: Your apache configuration file (httpd.conf) located at /opt/local/apache2/conf/httpd.conf

Q. How to restart my apache?
Answer: You can restart your apache by using this command:-

sudo port /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start

Credit: SamuraiCoder, 2 Tablespoon

]]>
http://www.techiecorner.com/174/how-to-install-apache-php-mysql-with-macport-in-mac-os-x/feed/
How to solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable” http://www.techiecorner.com/172/how-to-solve-htaccess-pcfg_openfile-unable-to-check-htaccess-file-ensure-it-is-readable/ http://www.techiecorner.com/172/how-to-solve-htaccess-pcfg_openfile-unable-to-check-htaccess-file-ensure-it-is-readable/#comments Sat, 12 Jul 2008 17:38:50 +0000 sogua http://www.techiecorner.com/?p=172 My error log shows:-
[Sun Jul 13 01:15:32 2008] [crit] [client 218.208.xxx.xxx] (13)Permission denied: /home/mydomain/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

And the site is showing “403 Forbidden Error”.
At first, I suspect it’s .htaccess problem, but actually it’s caused by Frontpage Extension.

To solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable” follow the steps below:-

  • Login into your CPanel account
  • Click on “Frontpage Extensions” icon
  • Click on “Reinstall extensions” button beside your problem domain.
    *If you do not use any frontpage extensions, it’s good to uninstall this extension
  • Done. The “.htaccess pcfg_openfile: unable to check htaccess file” problem has been fixed.

** If you are not on CPanel hosting, please contact your system administrator to fix the problem. ***

Credit: The HungryCoder

]]>
http://www.techiecorner.com/172/how-to-solve-htaccess-pcfg_openfile-unable-to-check-htaccess-file-ensure-it-is-readable/feed/
How to show hidden files in Finder - Mac OS X http://www.techiecorner.com/153/how-to-show-hidden-files-in-finder-mac-os-x/ http://www.techiecorner.com/153/how-to-show-hidden-files-in-finder-mac-os-x/#comments Fri, 11 Jul 2008 04:57:08 +0000 chua http://www.techiecorner.com/?p=153 Mac OS X Finder hide hidden files by default. To show hidden files in Finder, you need to use two commands (AppleShowAllFiles and killall).

Just follow the steps below and your finder will show hidden files:-

  • Start your “Terminal”
  • type “defaults write com.apple.finder AppleShowAllFiles TRUE” and enter (without the quote)
  • type “killall Finder” and enter (without quote)
  • Done. You have just enable your show hidden files in Finder

To disable the show hidden files in Finder, follow the steps below:-

  • Start your “Terminal”
  • type “defaults write com.apple.finder AppleShowAllFiles FALSE” and enter (without the quote)
  • type “killall Finder” and enter (without quote)
  • Done. You have just disable your show hidden files in Finder
]]>
http://www.techiecorner.com/153/how-to-show-hidden-files-in-finder-mac-os-x/feed/
Free Project Management software for Mac OS X - GanttProject http://www.techiecorner.com/158/free-project-management-software-for-mac-os-x-ganttproject/ http://www.techiecorner.com/158/free-project-management-software-for-mac-os-x-ganttproject/#comments Fri, 04 Jul 2008 01:43:51 +0000 chua http://www.techiecorner.com/?p=158 Looking for free project management software for Mac OS X, i’d recommend GanttProject. GanttProject is a Free Project Management Software for Mac, Linux and Windows. This Project Management Software looks almost the same as Microsoft Project but it’s FREE (including commercial use).

Although the feature for this free project management software is not as much as Ms Project, most people only use 20% from what Ms Project provide. So i think this free project management software is enough for most of the people, unless you have very complicated project or you are an advance user for project management software.

project managment, project management software, free project management software, ganttproject, gantt project

I’ve personally using GanttProject for my project roadmap. So far there is no problem and this project management software is very easy to use. I don’t even read any manual, and i’ve created my project schedule!

Besides, you can also export your project schedule to HTML (and upload to your web host thru FTP automatically) and PDF. If your friends is using Ms Project, you can even export your project from GanttProject to Ms Project compatible xml file.

There are also few useful features come with this free project management software:-
- Task hierarchy and dependencies
- Gantt Chart
- Resource load chart
- Generation of PERT chart
- PDF and HTML report
- Ms Project import / export
- WebDav based groupwork

project managment, project management software, free project management software, ganttproject, gantt project

Hope this free project management software able to help you in managing your project with minimum cost!

Click here to download GanttProject (Free Project Management Software)

GannProject Home Page

]]>
http://www.techiecorner.com/158/free-project-management-software-for-mac-os-x-ganttproject/feed/
Avast: How to schedule boot time scan before window start? http://www.techiecorner.com/166/avast-how-to-schedule-boot-time-scan-before-window-start/ http://www.techiecorner.com/166/avast-how-to-schedule-boot-time-scan-before-window-start/#comments Tue, 01 Jul 2008 09:08:59 +0000 sogua http://www.techiecorner.com/?p=166 Avast anti virus provide schedule boot scan before window start. if your PC got infected by virus, try to run a schedule boot scan before window start. This is to make sure the virus can’t load itself into the system memory while window start.

To schedule boot scan using Avast, follow the steps below:-

  • Right click on the Avast system tray icon
  • Click on “Start Avast Anti Virus”
  • Avast anti virus window will pop up and run a memory scan
  • Once memory scan finish, you can right click on the Avast anti virus window and select “Schedule Boot Time Scan”
  • “Schedule Boot Time Scan” window will popup, select “Scan all local disk” and check on “Advanced Options”
  • For normal infected file select “Move infected files to Chest” and select “No action” for system files and Press “Schedule” button.
  • Avast will prompt you for restart to perform the Boot time scan and click “Yes” to reboot and start the scan.
  • Done you have just scheduled a boot time scan from Avast anti virus

** Avast anti virus is a Free Anti Virus software for home user. It’s powerful yet free. Click here to read my review on Avast Anti Virus Software ***

avast anti virus, free anti virus download, free anti virus

]]>
http://www.techiecorner.com/166/avast-how-to-schedule-boot-time-scan-before-window-start/feed/
How to auto compact Email folder for Thunderbird Email Client http://www.techiecorner.com/164/how-to-auto-compact-email-folder-for-thunderbird-email-client/ http://www.techiecorner.com/164/how-to-auto-compact-email-folder-for-thunderbird-email-client/#comments Mon, 30 Jun 2008 09:12:21 +0000 sogua http://www.techiecorner.com/?p=164 Today, i learned how to auto compact email folder in Thunderbird when save certain file size. Actually, “Compact” is an action in Thunderbird to tidy up the email folder. If you are running Thunderbird as Email client, you need to compact the email folder once in a while to make sure the inbox folder file is not too big to cause error.

You can set Thunderbird to perform auto compact when it able to save certain file size. Just follow the steps below and your Thunderbird will perform auto compact when it meet your requirement:-

  • Start your Thunderbird Email Client
  • Click “Tools” -> “Options” -> “Advance” tab
  • At the “Disk Space” area, check “Compact folders when it will save over 100 KB”
  • You can change the 100 KB to your prefer file size
  • Once finish, click on OK button
  • Done, your Thunderbird will auto compact the email folder when it reach your criteria

auto compact thunderbird email, thunderbird, thunderbird email client, free email client

Besides auto compact, you can also perform manual Compact whenever u like. Just follow the steps below to perform the manual compact:-

  • Start your Thunderbird Email Client
  • Under the left panel of All Folders, just right click on your desire Inbox folder and select “Compact”
  • Wait until the Compact process finish and you can continue with your daily work
  • Done, you just manually compact your email folder

*** Important Note: Do not perform any other task at your Thunderbird while compact process is running. This is to avoid any file corruption on your email account. ***

]]>
http://www.techiecorner.com/164/how-to-auto-compact-email-folder-for-thunderbird-email-client/feed/
How to disable Skype auto start in Mac? http://www.techiecorner.com/162/how-to-disable-skype-auto-start-in-mac/ http://www.techiecorner.com/162/how-to-disable-skype-auto-start-in-mac/#comments Thu, 26 Jun 2008 02:14:58 +0000 chua http://www.techiecorner.com/?p=162 mac, apple mac, apple computer, mac os x
I’ve just installed Skype for Mac. Since then, everytime i start my Mac, Skype will auto start. I hate application tat auto start without user permission. I’ve look for some way to disable Skype auto start feature.

To disable Skype auto start in Mac, follow the instruction below:-

  • Start your Skype
  • Right click at the Skype Icon at your Dock / Taskbar
  • Select “Open At Login” to uncheck the tick
  • Done, you have just disable Skype from auto start

Here’s the 2nd method to disable Skype auto start in Mac:-

  • Go to System Preference -> Accounts
  • Select your account at the left column
  • Click on “Login Items” tab
  • Highlight Skype and Click on the “-” button
  • Done, you have just disable Skype from auto start

account preference, mac os x, mac os, mac account

Happy skyping :)

Notes: Skype allow you to make Free Internet Call with other skype user. Besides, they also offer cheap international calls and sms.

]]>
http://www.techiecorner.com/162/how-to-disable-skype-auto-start-in-mac/feed/