//Easy way to print from php or just plain command line. exec(“lpr [ options ] [ filename … ]”); //Gettinga little Fancy cat thesis.txt | lpr //Another example exec(“lpr -P printer -r filename.txt”); Read more in at this Link
UPDATE: Audio quality is greatly improved by using a sampling rate of 48000 Hz (The default rate is 8000 Hz). So, the commands in step 10 and step 16 been changed to reflect that sampling rate. These are the steps: 1. Start out by installing the Debian Wheezy image on an SD card and boot […]
Install the Sound Drivers Update : The newer Debian “Wheezy” image enables the sound driver by default so this section is not needed to those that are using the newest version. Others that are having audio issues from previous versions of Raspian, see below. In the Debian “Squeeze” image the ALSA sound drivers are considered experimental and […]
This is a quick video showing how to setup XBMC on the raspberryPi using raspbmc. This will turn your raspberry Pi in to a media centre http://www.raspbmc.com/ Check out the forums for help http://forum.stmlabs.com/
Raspberry Pi powered quadrocopter Originator Says: My finished raspberry pi quadrocopter. More information at www.botched.co.uk. R2D2 Robot Powered by Raspberry Pi Originator Says: This is a birthday gift I built from scratch for my girlfriend 🙂 The hardware is made of a broken Interactive R2D2 toy and a bunch of cheap parts purchased online. Inside, the little […]
Pithos is a Linux based client for the GNOME Desktop for the online music platform: Pandora.com. Although there is a official Flash based Linux client for Pandora.com but it is a RAM hog and does not leave you with a tasteful experience. There is another client called the Pianobar but is only for the command-line. Among all these, Pithos proves […]
To add a user account, use the following syntax, and follow the prompts to give the account a password and identifiable characteristics such as a full name, phone number, etc. sudo adduser username To delete a user account and its primary group, use the following syntax: sudo deluser username Deleting an account does not remove […]
I’ve nicely written PHP script that I’d like to run as a cron job. I’m using CentOS 4.5 as server with Apache web server. How do I setup a PHP script as a cron job? You need to setup execute permission on a php script. You need to use chmod command to change file access […]
yes, the name server update does work and if it does work then you’ve probably updated your IP settings to be static and your server can no longer resolve URLs. Try the above and if it works reboot. if it fails after rebooting then do this: edit the template file for the resolv.conf. Ubuntu server […]
Go to /var/logs directory or whichever on you want to look tail and try these commands: tail -f /var/log/messages less /var/log/messages more -f /var/log/messages vi /var/log/messages