Sep
05
Gimp Image Editor not launching in KUbuntu – resolved

I recently had installed Gimp image editor in my KUbuntu through software management interface. After the installation was done i clicked the Gimp icon to launch it and the system did seem to try to load it but eventually it failed. However if i tried “gimp” command in “Konsole” it would load it (with a number of “failed” messages in the console window) but when i worked on a image for few seconds it would crash abruptly. Click to continue »

Tags : , , , ,

Sep
02
Re-sizing image by width using php

A simple yet very useful function to re-size image by maximum width while keeping width and height in proportion. You just need to pass the maximum width allowed to this function and this function will return you an array containing new width and height. Click to continue »

Tags : ,

Aug
15
Creating new virtual hosts in Ubuntu/Linux

In KUbuntu i wanted to make virtual host localhost.example.com working on my local machine what it worked like on Windows 7 earlier. I am posting the complete process here to help someone newbie like me in using KUbuntu operating system on my local machine. Click to continue »

Tags : , ,

Aug
03
Adding php syntax highlight support to more extensions in gedit

Locate php.lang file and edit it

locate gtksourceview | grep /php.lang

Now i did
sudo gedit /usr/share/gtksourceview-2.0/language-specs/php.lang as location of my php.lang file was /usr/share/gtksourceview-2.0/language-specs/

In php.lang file look for <property name="globs">*.php;*.php3;*.php4;*.phtml</property> or similar and add more file extenstions separate with semicolon (;). I added *.ctp, *.tpl, *.module to make it look like <property name="globs">*.php;*.php3;*.php4;*.phtml;*.ctp;*.tpl;*.module;</property>. Save the file and restart gedit. Files with newly added extension should load syntax highlighting automatically.

Tags : ,

0

Aug
03
Configuring email formatting in Drupal while using Messaging & Notifications modules

In drupal 6.x having messaging and notifications modules enabled you may want to configure the HTML formatting of your emails. By formatting i mean by showing emails in more readable manner, having some basic HTML tag support, line breaks, links etc. To choose an email format for Emails i would go to http://mysite/admin/messaging/settings/method (shown in image below) Click to continue »

Tags : , , , ,

Jul
18
Adding uTorrent program shortcut to Windows 7 taskbar

I had gotten uTorrent installed on my Windows 7 machine. I tried to find the location of its installation so that i could create a desktop shortcut but i could not locate it. Then i learned that uTorrent came in form of standalone exe file which didn’t need installation and runs as its own. Click to continue »

Tags : , ,

Jul
18
Mark/Unmark keyboard shortcut in Nokia-E5

There is a Mark/Unmark shortcut in Nokia-E5 smartphone to Mark or Unmark listed items. It is a combination of Control (Ctrl) and Enter New Line buttons. Press and hold the Ctrl button and press the Enter New Line button thereafter. The listed item should be marked or unmarked accordingly. See the figure below: Click to continue »

Tags : , ,

Jul
12
Drupal “disk quota per user has been reached” settings

When a certain number of uploads is reached Drupal would show errors, something like this:

“The selected file cannot be attached to this post, because the disk quota of 7 MB has been reached”

Or a message as shown below in picture, when trying to attach a file:

Such kind of file upload quota errors can be fixed by increasing the maximum upload quota per user. It is as simple as doing the following:

In Drupal prior to 5.0, set the appropriate values at Administer -> Settings -> Upload

In Drupal newer or equal to 5.0 do the same as above at Administer -> Site Configuration -> File Uploads.

Tags : , ,

Jul
02
Keyword Rank Checking in Google, Yahoo and Bing is here

Hi All, Just pushed a keyword rank checker script to live. I had created this script for one of my clients and it will be here for public use until the client finalizes everything with this project and pushes it to live for himself. Click to continue »

Tags : , , ,

Jun
18
Malwarebytes’ Anti-Malware fixes facebook CSS loading problem

Three days ago when i tried Facebook in my Mozila Firefox browser a different thing occured. The landing page before login would show just fine but after logging in the home page would go just screwed. No page layout design formatting at all and it kept showing Waiting for "s-static.ak.facebook.com"... at the bottom left status bar of the browser. Click to continue »

Tags : , ,

Freelance Jobs