Thursday, November 29, 2012

DSN: Service unavailable (sendmail) (linux)

Error

sendmail does not send outbound emails due to the following errors


Unable to qualify my own domain name (HOSTNAME) -- using short name

qAU1XDDZ007482: qAU1XODZ007484: DSN: Service unavailable


Solution


1- Add a proper host name

sudo hostname domain.com



2- Change hosts file ( edit /etc/hosts )

sudo nano /etc/hosts

IP.IP.IP.IP domain.com


3- Restart sendmail

sudo service sendmail restart

Wednesday, November 28, 2012

Edit spreadsheets on the go with the Drive mobile app

You’re making your list, you’re checking it twice -- and now you can do it from anywhere.

Just in time for this year’s holiday season, you can edit Google Sheets on your mobile device, just like you can with Google Docs. From the Drive app on your Android device, you can create a new spreadsheet or edit an existing one. You can switch fonts, resize columns, sort data, and more. And just like on your computer, you’ll be able to see other people’s edits in real time as they’re made.


Beyond spreadsheets, you may notice a few other tweaks to the Drive app, including better text formatting when you paste from one Google document to another. And from your Android device, you can edit text within tables in documents and add a shortcut on the homescreen of your device to any specific file in Drive.

Whether it’s holiday recipes, shopping lists, or just your family budget, the Drive app on your mobile device makes it easy to get stuff done wherever you are.

Get the Google Drive app today on Google Play.

Posted by Shrikant Shanbhag, Software Engineer

Tuesday, November 27, 2012

PHP 5.4: Cannot re-assign auto-global variable GLOBALS

Error
Fatal error: Cannot re-assign auto-global variable GLOBALS in - on line 2

Solution You can't have a global variable or $_SESSION as a function argument any more in PHP 5.4, check the link below

https://bugs.php.net/bug.php?id=54657

Scanning app

Scan Master: This app allows you to use your phone as a scanner by changing your photos into pdf format. The app has an editing feature that helps you "manipulate" the pictures and create nice looking pdf's. You can change the contrast, brightness and sharpness  and also crop your images. Very easy to use. Here's the link. From the phone search for "scan master" and install. Happy scanning!

Game

Archery: Another easy to learn and fun to play game. The scope of the game is to shoot an arrow into a target. Sounds simple, but it still requires some skills and it will keep you interested and wanting higher scores. The game has a "scoreloop high score" feature that allows you to post your high scores online and compete against the world. Here's the link. From the phone search for "archery" and install. Happy shooting!

Photo live wallpaper

Photo FX Live Wallpaper: This app allows you to create your own live wallpaper using pictures from your gallery. You can choose images from different folders, change selection order (by name, date or random), change slideshow interval, set background color for pictures and many more features. The app has a very nice floating animation and according to the developers it has small impact on your battery life. Here's the link. From your phone search for "photo fx live wallpaper" and install.

Saturday, November 24, 2012

Apache: SSLEngine not allowed here


Error

Syntax error on line 51 of /etc/apache2/sites-enabled/000-default-ssl:
SSLEngine not allowed here


Solution

Move "SSLEngine on" outside the "<Directory />" tag in the Apache VirtualHost file