Category: How to

How to Setup Apache2 with Virtual Hosts – Easy Tutorial

What the Red Means The lines that the user needs to enter or customize will be in red in this tutorial! The rest should mostly be copy-and-pastable. About Virtual Hosts Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off […]

Read more
PHP Functions

How to a Print to a Local or Network Printer with PHP and Linux Command Line

Easy way to print from php or just plain command line. exec(“lpr [ options ] [ filename … ]”); Gettin a little fancy. cat thesis.txt | lpr Another example exec(“lpr -P printer -r filename.txt”); Read more in at this Link

Read more

Speech Recognition with the Raspberry Pi

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 […]

Read more

Fix Sound Drivers for Raspberry Pi – Easy

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 […]

Read more

How to Charge an iPod with fruits.

Charging ipod/iphone for free. We apologize for the Music ” Owl City” it wont happen again.

Read more

How to Obtain a Google API Key.

Fear not.  Your search is over.  For some reason it is hard to find much less navigate to this part of Google’s dashboard.  So here’s some easy instructions. Get a new Console key from https://code.google.com/apis/console as described in the Version 3 docs at https://developers.google.com/maps/documentation/javascript/tutorial#api_key. Console keys work with Version 2 and provide the benefits of statistics reporting. It’s […]

Read more

How to Import a Android Project (.apk file or folders) into Eclipse

Whether you have an .apk file or an unpacked folder with the android files within, these steps will help you continue on your quest. If you haven’t unpacked the .apk file yet, you want to click this LINK. It contains step by step on how to unpack .apk files correctly and easily. Once you’ve unpacked […]

Read more

How to Decrypt, Unpack, and Edit .apk files (Android, Eclipse, APKTOOL) – Easy as Pie

Yes you can view or decrypt the XML files of an Android APK file. There is a tool android-apktool It is a tool for reengineering 3rd party, closed, binary Android apps How to do this on your Windows System: Download apktool-install-windows-* file Download apktool-* file Unpack both to your Windows directory Now copy the APK file also in that directory and run […]

Read more
PHP Functions

How to Split an Array into a String with PHP

$myArray = explode(‘,’, $myString);

Read more
PHP Functions

PHP Code for Replacing Characters in a String or Variable

str_replace(‘”‘, “”, $string); preg_replace(“//”, “”, $string); C-style quotes: preg_replace(“/\/\/.*?\n/”, “\n”, $string); CSS-style quotes: preg_replace(“/\/*.*?\*\//”, “”, $string); bash-style quotes: preg-replace(“/#.*?\n/”, “\n”, $string);

Read more