Nautilus cannot handle “computer” location on Ubuntu(Karmic Kaula)

Problem:

Last week i have experiencing error during opening Computer, Network Folders, Destop and Recycle bin on Ubuntu Karmic Kuala. And flash drive cant do the automount anymore.

The error says :

Nautilus cannot handle "computer" location

I found out that i have upgraded my glib library under /usr/local few days ago.

Solution:

Remove /usr/local
sudo mv /usr/local /usr/local.old

create /usr/local
sudo mkdir /usr/local

restart your computer.

Try to check you computer folder and its working! Good luck!

Updated: correction from Amar Patil, Thanks….

Move out from godaddy to local webhosting Vertito.com

[ad#ad-2]Finally all my domains are moved to my new host at VERTITO.COM

Hamachi killed after upgrading to Ubuntu 9.10

Hamachi killed after upgrading Ubuntu 9.10 (Karmic Koala). This is because hamachi executable is compressed with upx.

Steps in uncompressing Hamachi with upx

[ad#ad-2]

1. Install upx-ucl (make sure you have root or sudo privileged)

sudo apt-get install upx-ucl

2. locate hamachi executable (default installation /usr/bin)

cd /usr/bin

3. decompress hamachi

sudo upx -d hamachi

after executing this commands you will see this outputs

Ultimate Packer for eXecutables
  Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
UPX 3.01        Markus Oberhumer, Laszlo Molnar & John Reiser   Jul 31st 2007

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
    830676 < -    331144   39.86%    linux/386    hamachi

Unpacked 1 file.

And now you are read to run hamachi... enjoy!

date function for bash commands

How to get date on bash/sh command?
[ad]

#!/bin/bash
# Datestamp e.g 2002-09-21_24h00m
DATE=`date +%Y-%m-%d_%Hh%Mm`

# Day of the week e.g. Monday
DATE=`date +%A`

# Day number of the week 1 to 7 where 1 represents Monday
DATE=`date +%u`

# Date of the Month e.g. 27
DATE=`date +%d`

# Month e.g January
DATE=`date +%B`

# Week Number e.g 37
DATE=`date +%V`

Account Default Page For CPANEL/WHM

How to set-up default page for cpanel account?

1. Create a default page that you want to be the default page.

2. Copy your created page to /root/cpanel3-skel/public_html/

That’s all! Every time you create an account on WHM your default page will be create on accounts public_html folder.

For reseller accounts that don’t have root privileged, you should have /cpanel3-skel/ directory on your main account you can add public_html folder their.

Windows Vista Keyboard Shortcuts

General keyboard shortcuts

Shortcut Action
CTRL+C Copy the selected item
CTRL+X Cut the selected item
CTRL+V Paste the selected item
CTRL+Z Undo an action
DELETE Delete the selected item and move it to the Recycle Bin
SHIFT+DELETE Delete the selected item without moving it to the Recycle Bin first
F2 Rename the selected item
CTRL+RIGHT ARROW Move the cursor to the beginning of the next word
CTRL+LEFT ARROW Move the cursor to the beginning of the previous word
CTRL+DOWN ARROW Move the cursor to the beginning of the next paragraph
CTRL+UP ARROW Move the cursor to the beginning of the previous paragraph
CTRL+SHIFT with an arrow key Select a block of text
SHIFT with any arrow key Select more than one item in a window or on the desktop, or select text within a document
CTRL+A Select all items in a document or window
F3 Search for a file or folder
ALT+ENTER Display properties for the selected item
ALT+F4 Close the active item, or exit the active program
ALT+SPACEBAR Open the shortcut menu for the active window
CTRL+F4 Close the active document (in programs that allow you to have multiple documents open simultaneously)
ALT+TAB Switch between open items
CTRL+ALT+TAB Use the arrow keys to switch between open items
Windows Logo Key +TAB Cycle through programs on the taskbar by using Windows Flip 3-D
CTRL+ Windows Logo Key +TAB Use the arrow keys to cycle through programs on the taskbar by using Windows Flip 3-D
ALT+ESC Cycle through items in the order in which they were opened
F6 Cycle through screen elements in a window or on the desktop
F4 Display the Address bar list in Windows Explorer
SHIFT+F10 Display the shortcut menu for the selected item
CTRL+ESC Open the Start menu
ALT+underlined letter Display the corresponding menu
ALT+underlined letter Perform the menu command (or other underlined command)
F10 Activate the menu bar in the active program
RIGHT ARROW Open the next menu to the right, or open a submenu
LEFT ARROW Open the next menu to the left, or close a submenu
F5 Refresh the active window
ALT+UP ARROW View the folder one level up in Windows Explorer
ESC Cancel the current task
CTRL+SHIFT+ESC Open Task Manager
SHIFT when you insert a CD Prevent the CD from automatically playing

Microsoft keyboard shortcuts

Press this key To do this
Picture of Windows logo key Open or close the Start menu
Picture of Windows logo key +BREAK Display the System Properties dialog box
Picture of Windows logo key +D Display the desktop
Picture of Windows logo key +M Minimize all windows
Picture of Windows logo key +SHIFT+M Restore minimized windows to the desktop
Picture of Windows logo key +E Open Computer
Picture of Windows logo key +F Search for a file or folder
CTRL+Picture of Windows logo key +F Search for computers (if you are on a network)
Picture of Windows logo key +L Lock your computer (if you are connected to a network domain), or switch users (if you’re not connected to a network domain)
Picture of Windows logo key +R Open the Run dialog box
Picture of Windows logo key +T Cycle through programs on the taskbar
Picture of Windows logo key +TAB Cycle through programs on the taskbar by using Windows Flip 3-D
CTRL+Picture of Windows logo key +TAB Use the arrow keys to cycle through programs on the taskbar by using Windows Flip 3-D
Picture of Windows logo key +SPACEBAR Bring all gadgets to the front and select Windows Sidebar
Picture of Windows logo key +G Cycle through Sidebar gadgets
Picture of Windows logo key +U Open Ease of Access Center
Picture of Windows logo key +X Open Windows Mobility Center

Windows Explorer keyboard shortcuts

Press this key

To do this

END

Display the bottom of the active window

HOME

Display the top of the active window

NUM LOCK+ASTERISK (*) on numeric keypad

Display all subfolders under the selected folder

NUM LOCK+PLUS SIGN (+) on numeric keypad

Display the contents of the selected folder

NUM LOCK+MINUS SIGN (-) on numeric keypad

Collapse the selected folder

LEFT ARROW

Collapse the current selection (if it is expanded), or select the parent folder

ALT+LEFT ARROW

View the previous folder

RIGHT ARROW

Display the current selection (if it is collapsed), or select the first subfolder

ALT+RIGHT ARROW

View the next folder

ALT+D

Select the Address bar

Share/Save

Go to Original Source

Remove index.php in Codeigniter

How to remove index.php in the url of codeigniter. here is a simple step to do it.
You can remove it using .htaccess

1
2
3
4
5
6
7
RewriteEngine on
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
 
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteRule ^(.*)$ /index.php?/$1 [L]

Write this code then save the file into .htaccess, then put the .htaccess file same directory in you index.php or the CI system folder etc.
Go to system > application > config, open config.php and set index_page into nothing.

1
$config[index_page]="";

Before: http://ww.yourdomain.com/index.php/example

After: http://ww.yourdomain.com/example

Share/Save

Go to Original Source

Enable / Disable UAC of Vista

UAC(User Access Control) is a feature of Windows Vista that is to enhance the security of your system. Each time an application is installed or whenever an important system change is made by the user or by a running process, the screen is blacked out and temporarily disabled and a dialog is shown with the choices to allow or deny the action, there are many way of how to disable that one…

A. This Method is using MSCONFIG

    1. Start Menu -> type in the search area “run” enter

    2. Type msconfig in run then enter.

  

    3.  Click on the Tools tab. Scroll down till you find “Disable UAC” . Click on that line.

     

    4. Press the Launch button.

    5. When the command is done, you can close the window.

    6. You need to reboot the computer for changes to apply.

You can enable the UAC back, by doing the same thing but select the “Enable UAC” then Launch Button.

Share/Save

Go to Original Source

Valentines Day

Valentine’s Day is a holiday celebrated on February 14.  It is the traditional day on which lovers express their love for each other by sending Valentine’s cards, presenting flowers, or offering confectionery, all in the name of St. Valentine.. It is named after two among the numerous Early Christian martyrs named Valentine. The day became associated with romantic love in the circle of Geoffrey Chaucer in the High Middle Ages, when the tradition of courtly love flourished.

According to legend, the holiday has its roots in the ancient Roman festival of Lupercalis/Lupercalia, a fertility celebration commemorated annually on February 15. As Christianity came to dominance in Europe, pagan holidays such as Lupercalia were frequently renamed for early Christian martyrs. In 496 AD, Pope Gelasius recast this pagan festival as a Christian feast day circa 496, declaring February 14 to be the feast day of the Roman martyr Saint Valentine, who lived in the 3rd century.

Most scholars believe that the St. Valentine of the holiday was a priest who attracted the disfavor of Roman emperor Claudius II around 270. The history of St. Valentine’s Day has two legends – the Protestant and the Catholic legend.  According to both legends, Valentine was a bishop who held secret marriage ceremonies of soldiers in opposition to Claudius II who had prohibited marriage for young men and was executed by the latter. Although many scholars agree that Lupercalia was moved from Feb. 15th to the 14th and was Christianized by associating it with this St. Valentine character, it is still unclear just who the historical St. Valentine was. One school of thought believes that he was a Roman martyred for refusing to give up his Christian faith. According to church tradition St. Valentine was a priest/bishop of Rome in about the year 270 A.D.

Share/Save

Go to Original Source

History of Inopacan Leyte

History of Inopacan

Inopacan is a tiny western coastal municipality occupying a mere 182 square kilometers of green rolling hills bordered by narrow coastal plains. From the sea, it looks like a little coconut-convered rural community with a backdrop of high blue-greenish mountains. Beyod these mountains are the boundaries of Mahaplag and portions of Sogod, Southern Leyte and Hilongos. To the north is the progressive town of Baybay and the south is the equally small and peaceful Hindang town. The rich Camotes Sea Bound the western part.

The Town has twenty barangays, eight of which, including the poblacion, are along the coast. One is an island barangay and the rest are in the interior part. Sixty-five percent of the people live along the coast.

It is believed that the early settlers of Inopacan came from Cebu and Bohol. The Present site has been its original location because it had never been subjected to attacks from the moros. This was because of a dragon-sized snake that once lived in a cape located at the western sea approach to the town. This huge reptile would reportedly attack boats that would pass by it, so it prevented moro “pangkos” from landing at the settlement.

After the snake was killed, the settlement continued to enjoy a life of peace and safety because there appeared another protector of the people, a legendary hero by the name of “Inong.” The hero was said to be a leader of a well-trained band of men who successfully defended the pueblo from depredating moros. Believed to have possessed supernatural powers, Inong was said to be able to jump from hill to hill or from moro boat to boat wreaking havoc on the invaders so much so that he was commonly believed to have some kind of wings. Wings in the dialect means “pako” so that one who possessed wings is called “pak-an.” Inong therefore was known far and wide as Inong Pak-an, the winged Inong – which has been transformed to its present Inopacan for easier pronunciation.

Unfortunately, the town has lost all records and documents that could be make as the basis of a historical account since the archives of the parish church and the records of the minicipal building were burned during the war years. From the scanty and fragmentary records and references available. However, the town began its organized existence, then as a barrio sometime 1852. The barrio was under the jurisdiction of Hindang. As one of the most progressive barrios of Hindang, its inhabitants petitioned for its establishment as a municipality. With the help of an “ilustrado” from the town of Baybay – the late Don Quirimon Alkuino – the town’s leaders finally succeeded in convincing the Spanish authorities to create the municipality of Inopacan. On October 22, 1885, the petition was granted.

In 1887, the new municipality was erected as an independent parish.

During the years of the revolution, Inopacan enjoyed the fame of being selected as the site of the headquarters of the Filipino nationalist forces at one time or another. Shortly after the fall of Spanish rule in the archipelago and especially during the fight against the Americans, Inopacan was selected several times as the site of the conference between the pacifists and leaders of the resistance movement in the campaign for peace.

Just after the outbreak of the Second World War, long before the invading Japanese forces arrived at the municipality, the townspeople of Inopacan experienced a reign of terror that presaged the coming years of occupation. A certain Julia Manapsal, wife of an American and self-styled as the “Joan of Arc of Inopacan” terrorized the municipality and neighboring towns and barrios. With a following of well-armed men, she took complete control of the town and instituted a veritable “juez de cuchillo” where her word was law. Judge and executor at the same time, she cowed people with a brutality that matched that of the Japanese. men and women of any age were liquidated at the merest suspicion of non-cooperation. many were condemned without trial. Security of property was unheard of and everything that the bandits wanted, were taken. Fortunately, government forces quelled the movement that threatened to grow into an uprising.

Just before the japanese, a faction of the Leyte Area Command occupied Inopacan, a guerrilla force under General Kangeleon used the town for its headquarters. At this time, the unfortunate struggle for supremacy between the guerrilla forces took place.

The Japanese occupation did not bring any notable change in the town other than the fact that public building were denuded of records and furniture which the Japanese used as fule ot form some kind of barricade for their trenches.

Inopacan was one of the few towns that suffered heavily from the bombing of liberation forces. The shelling took a heavy toll of lives and property. Municipal building to rubble. On December 8, 1944, three years after the Philippines became involved in the Second World War, Inopacan was a miserable heap of ashes an stone.

Shortly after the war, a slow period of recovery took place. A Catholic school was founded by the prominent citizens of the town through the efforts of Fr. Emiliano Sudario, the parish priest and the late Judge Broneo. A short period of relative prosperity reigned in the town.

Then, in 1951, a strong typhoon destroyed a great protion of the town. Before the people had hardly recovered from the effects of the typhoon, a big fire in 1953 razed the center of the community, reducing to ashes almost all of the homes in the heart of the town.

Inopacan is primarily an agricultural town. The residents are proud of the fine abaca in the region, about 50,000 kilos of which are shipped to Cebu every month.

The fish supply of the town comes form its own fishing grounds along the coast or in the waters around and near the islands of Apid, Mahaba, and Digyo.

Another source of livelihood of the people is from business. There are business establishments like dry goods store, hardware, drug stores and eateries, among others. The town has six rice mills and has a wharf under construction.

On the educational aspect, Inopacan has the Inopacan Institute, a private high school established 30 years ago. There are four rural high schools and eleven elementary schools.

These and many other achievements have considerably promoted the growth of the town and the fact that is has been choosed as the site of the first cooperative rural bank in Leyte is a sign of its continuing progress.

Share/Save

Go to Original Source