Category: How to

Get Youtube Thumbnails with PHP or Html

Each YouTube video has 4 generated images. They are predictably formatted as follows: http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of 1.jpg, 2.jpg, 3.jpg) is: http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg For the high quality version of the thumbnail use a url similar […]

Read more

SSH into your Amazon instance without a KeyPair

1.  SSH into your instance. 2.  Edit /etc/ssh/sshd_config and set PasswordAuthentication to yes. One way to do this is to enter the command nano /etc/ssh/sshd_config, then scroll down toPasswordAuthentication.  Change the no to yes.  Then press Ctrl+X, and press the Y key to save and quit. 3.  Enter the command /etc/init.d/sshd reload. (for Ubuntu, enter the command reload ssh) 4.  Set your password if you haven’t already, with the passwd command. […]

Read more

Configure HTTPS with Linux

. Getting the required software For an SSL encrypted web server you will need a few things. Depending on your install you may or may not have OpenSSL and mod_ssl, Apache’s interface to OpenSSL. Use yum to get them if you need them.   yum install mod_ssl openssl Yum will either tell you they are installed […]

Read more

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! 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 of one virtual private server. The […]

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 … ]”); //Gettinga 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