How To Show Hidden Files In Filezilla – .htaccess

Thursday, 20. December 2012

There are time you encounter some servers that are just a little odd. Normally hidden files such as .htaccess, .htpasswd etc are directly visible on filezilla on most servers — Logical.

However, if you ever come across such other servers that hides such files, this little tricky can help you

Enjoy!

Remove My Application Link from Customer Account Page

Monday, 17. December 2012

If you ever wanted to remove the “My Application” link from customer’s My Account page here is the layout file to look for

app/design/frontend/[YOUR PACKAGE]/[YOUR PACKAGE]/layout/oauth.xml

Around line 118 – you will see a block of code similar to snippet below which you can simply comment it out.

<!-- My Applications-->
    <customer_account>
        <reference name="customer_account_navigation">
            <action method="addLink" translate="label" module="oauth">
                <name>OAuth Customer Tokens</name>
                <path>oauth/customer_token</path>
                <label>My Applications</label>
            </action>
        </reference>
    </customer_account>

How To Remove Host From Known_Hosts File – Ubuntu

Wednesday, 5. December 2012

If you ever wanted to update your local server known_hosts file this snippet may be what you just need!

Start your terminal window and whack this script and and press enter.

ssh-keygen -f "/home/account/.ssh/known_hosts" -R IP_ADDRESS_OF_HOST

How To Run Xampp ON 64 bit Machine – Ubuntu

Saturday, 1. December 2012

If you have tried to install and run xampp on a 64 bit machine you will undoubtely come across an error such as this when you launch the contorol panel.

XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.

The quick solution is to install the ia32-libs library which in general – it allows 32bit apps to run on 64 bit systems.

sudo apt-get install ia32-libs

Smile :)

Error importing pygtk2 and pygtk2-libglade

Saturday, 1. December 2012

If you have been stressing with this type of error

Error importing pygtk2 and pygtk2-libglade

While launching xampp control panel – this snipper maybe of help to you.

Simply install the pygtk2-libglade library and all should hopefull be OK for you. The command you nee is:

sudo apt-get install python-glade2

enjoy!