10
Oct
2011
chame

How to disable HP G42 Notebook's touchpad in Linux Ubuntu

You can do this by installing the GPointing Device Settings:

$ sudo apt-get install gpointing-device-settings

In Ubuntu 11.04 Natty Narwhal's Unity, you can search for "Pointing devices".

Then select SynPS/2 Synaptics Touchpad. Tick 'Disable touchpad'.

Done.

Categories: 
06
May
2011
chame

Triggering An Event Change Upon Select Dropdown with PHP & Javascript (on CodeIgniter)

This assumes that you are familiar with Object Oriented PHP, have a database to store all your data and are working on an MVC framework like CodeIgniter. I need an editable field that auto-populates upon select of another dropdown field.

Considering you have the following database table employees:

28
Apr
2011
chame

Drupal Login with FB Profile

I've documented all the steps on a fresh Drupal install with a Zen custom sub theme. Proven and tested to work on Drupal 6.20 and 7.

1. Enable the OpenID module which comes with the Drupal Core and is disabled by default.

2. Download, upload, and extract in sites/all/modules/ directory: OpenID Selector Module. Drush would be the fastest:
$ sudo drush dl openid_selector

Categories: 
27
Apr
2011
chame

Super-mommy-ing for the past 3 months

Never in my whole married life did it occur to me that I'd be working full-time in an office in Makati. For one, I prided myself on being a 'stay-at-home' mom. Next, I homeschool my children. And the last reason before you dismiss this run-of-the-mill article, I really want to spend as much time as possible with my kids.

Categories: 
27
Apr
2011
chame

Some MySQL Tips

For lack of a better way to categorize my MySQL page tips & tricks, I'm just gonna go random:

How to find out if you have mysql server in your machine:
$ netstat -lnp | grep mysql
$ ps -ef | grep mysqld

How to add a column to an existing table:
mysql> ALTER TABLE projects ADD project_name decimal(8,0) unsigned NOT NULL DEFAULT 0 AFTER project_type_id;

Categories: 
25
Apr
2011
chame

Theming & Contributed Module Tools with Drupal 7

These are a few basic modules needed upon installation of your Drupal 7 site, you can type these with $ sudo drush dl
views
cck
zen
devel
pathauto
wysiwyg
ckeditor

1. How to remove the read more link on the front page
http://siteperspectives.com/node/3

2. How to add a custom marker for the gmaps location module
http://drupal.org/node/82037#comment-986902

Categories: 
21
Apr
2011
chame

A Zombie-riffic Morning, A Coffee, A Poem, and Adele

My mood today is a mashup of some sort. Perhaps it's the endless Jack Johnson of last night at Whistlestop. Perhaps it's the long Holy Week holiday. Perhaps it's Adele's Someone Like You or Taylor Swift's Last Kiss or Glen Hansard and Marketa Irglova's Falling Slowly. Definitely not the usual songs on my playlist but forgive the girl for feeling melancholic. Today is such a confusing day for her.

01
Apr
2011
chame

Making your life easier on Ubuntu

Here's a personal compilation of Unix commands that had helped me along the way.

Categories: 
20
Feb
2011
chame

Post-Installation Notes for Drupal 7

1. Set up your cron job at /etc/crontab file

2. Install Drush. This article worked for me:
http://groups.drupal.org/node/38468

3. For the Core Testing Framework Module to work, install the cURL libraries by way of:
$ sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

Categories: 
20
Feb
2011
chame

Setting up a Drupal 7 Sub-directory Multi-site on Ubuntu 10.04 LTS and LAMP

Setting up a development environment for your website is both critical and time consuming. It is critical because it helps you plan for the future especially in identifying errors and planning for upgrades. It is time consuming because there is no one way tutorial out there to set up the kind of environment you need for your development specifics. This is a personal guide I've made for myself and if it helps you greatly, I'd appreciate a link and/or a comment to this article.

Categories: 

Pages

Subscribe to chamé abbey RSS