<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/virtual</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 07:20:18 GMT</pubDate>
<item>
<title>(Bash) Virtual Host Manager For Ubuntu - roeyhaim</title>
<link>http://snipplr.com/view/70706/virtual-host-manager-for-ubuntu/</link>
<description><![CDATA[ <p>This is a bash file to Create or Delete Virtual Host in Ubuntu system and Apache server. 
This file open the Virtual Host in "/home/{user}/www/{domain}"

To run this file you need to make this file executable:
> sudo chmod u+x /path/to/file

Then whenever you need to open a new host just go to terminal and run the file:
> sudo /path/to/file  create  domain.dev.com

To delete host:
> sudo /path/to/file  delete  domain.dev.com</p> ]]></description>
<pubDate>Mon, 08 Apr 2013 19:49:56 GMT</pubDate>
<guid>http://snipplr.com/view/70706/virtual-host-manager-for-ubuntu/</guid>
</item>
<item>
<title>(PHP) Fix Timthumb Script When Using a URL That Contains Tildes (~) - tacudtap</title>
<link>http://snipplr.com/view/69694/fix-timthumb-script-when-using-a-url-that-contains-tildes-/</link>
<description><![CDATA[ <p>If you are using the [TimThumb](http://code.google.com/p/timthumb/ "TimThumb on Google Code") script with a URL the contains tildes (~) and images are breaking, here is the fix...

I did not create this snippet but found it extremely useful so I thought I'd make it available here. The URL listed is not mine but where I found it. Enjoy :-)

At line 209 (as of 01-29-13) in the script you will find the following line of code:

`$this->src = $this->param('src');`

Replace that line with the following snippet:</p> ]]></description>
<pubDate>Wed, 30 Jan 2013 02:24:32 GMT</pubDate>
<guid>http://snipplr.com/view/69694/fix-timthumb-script-when-using-a-url-that-contains-tildes-/</guid>
</item>
<item>
<title>(MySQL) [MySQL] Add condition to Virutal Fields - tucq88</title>
<link>http://snipplr.com/view/69409/mysql-add-condition-to-virutal-fields/</link>
<description><![CDATA[ <p>By using HAVING 'virtual_field' CONDITION we can add conditions to virtual fields that created at SELECT</p> ]]></description>
<pubDate>Thu, 10 Jan 2013 13:50:19 GMT</pubDate>
<guid>http://snipplr.com/view/69409/mysql-add-condition-to-virutal-fields/</guid>
</item>
<item>
<title>(Python) Virtualenv - blackthorne</title>
<link>http://snipplr.com/view/43761/virtualenv/</link>
<description><![CDATA[ <p>create isolated python environments.
good to test different versions of required libraries for some application without messing with the default environment used for all other python apps.</p> ]]></description>
<pubDate>Mon, 08 Nov 2010 22:38:21 GMT</pubDate>
<guid>http://snipplr.com/view/43761/virtualenv/</guid>
</item>
<item>
<title>(Apache) Configuring Multiple Domains within WAMP for Local Development - Meander365</title>
<link>http://snipplr.com/view/43706/configuring-multiple-domains-within-wamp-for-local-development/</link>
<description><![CDATA[ <p>Great for developing multiple sites under a wamp install.  Removes the headache of paths and domains and changing them when deploying to their live environment.</p> ]]></description>
<pubDate>Sun, 07 Nov 2010 16:29:20 GMT</pubDate>
<guid>http://snipplr.com/view/43706/configuring-multiple-domains-within-wamp-for-local-development/</guid>
</item>
<item>
<title>(Bash) Stop Virtualbox cloned machine using a different network interface - pmaciver</title>
<link>http://snipplr.com/view/29966/stop-virtualbox-cloned-machine-using-a-different-network-interface/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 18 Mar 2010 09:18:07 GMT</pubDate>
<guid>http://snipplr.com/view/29966/stop-virtualbox-cloned-machine-using-a-different-network-interface/</guid>
</item>
<item>
<title>(Other) Rails Virtual Server - kerpunk</title>
<link>http://snipplr.com/view/28101/rails-virtual-server/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Feb 2010 05:59:34 GMT</pubDate>
<guid>http://snipplr.com/view/28101/rails-virtual-server/</guid>
</item>
<item>
<title>(Apache) Multiple Virtual Hosts on Mac - benjaminpearson</title>
<link>http://snipplr.com/view/24334/multiple-virtual-hosts-on-mac/</link>
<description><![CDATA[ <p>Instructions for enabling multiple virtual hosts on Mac OSX. Based on default Apple Apache install. If you don't want to be manually changing these files, checkout the very slick GUI application - VirtualHostX (http://clickontyler.com/virtualhostx/)</p> ]]></description>
<pubDate>Sun, 06 Dec 2009 00:18:09 GMT</pubDate>
<guid>http://snipplr.com/view/24334/multiple-virtual-hosts-on-mac/</guid>
</item>
<item>
<title>(jQuery) Virtual Keyboard Widget - jsatt</title>
<link>http://snipplr.com/view/21577/virtual-keyboard-widget/</link>
<description><![CDATA[ <p>**This code is no longer under development. Please use the branch at the URL listed above.**

An on-screen virtual keyboard embedded within the browser window which will popup when a specified input field is focused. The user can then
type and preview their input before Accepting or Canceling.

Include additional css available [here](http://snipplr.com/view/21578/virtual-keyboard-widget--additional-css/).

Usage:

    $('input[type=text], input[type=password], textarea')
        .keyboard({
            layout:"qwerty",
            customLayout:
                [["q w e r t y {bksp}","Q W E R T Y {bksp}"],
                ["s a m p l e {shift}","S A M P L E {shift}"],
                ["{accept} {space} {cancel}","{accept} {space} {cancel}"]]
        }); 

Options:

layout - [String] specify which keyboard layout to use

* qwerty - Standard QWERTY layout (Default)

* alpha  - Alphabetical layout

* dvorak - Dvorak Simplified layout

* num    - Numerical (ten-key) layout

* custom - Uses a custom layout as defined by the customLayout option

customLayout - [Array] Specify a customer layout

* An Array of arrays

* Each internal array is a new keyboard row

* Each internal array can contain either one or two 

* String elements (Lower case and Upper case respectively)

* Each string element must have each character or key seperated by a space

* Special/"Action" keys include:

 * {space}     - Spacebar
 * {bksp}      - Backspace
 * {shift}     - Shift/Capslock
 * {return}    - Return/New Line
 * {accept}    - Updates element value and closes keyboard
 * {cancel}    - Clears changes and closes keyboard
 * {dec}       - Decimal for numeric entry, only allows one decimal
 * {neg}       - Negative for numeric entry
 * {sp:#}     - Replace # with a numerical value,  adds blank space, value of 1 ~ width of one key
***
[Creative Commons Attribution-Share Alike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/)</p> ]]></description>
<pubDate>Wed, 21 Oct 2009 16:35:52 GMT</pubDate>
<guid>http://snipplr.com/view/21577/virtual-keyboard-widget/</guid>
</item>
<item>
<title>(Apache) 301 Rewrite domain.co.uk to www.domain.co.uk like the search engine friendly developer you are! - catchamonkey</title>
<link>http://snipplr.com/view/6236/301-rewrite-domaincouk-to-wwwdomaincouk-like-the-search-engine-friendly-developer-you-are/</link>
<description><![CDATA[ <p>Rewrite your urls for domain.co.uk to www.domain.co.uk including full url</p> ]]></description>
<pubDate>Thu, 15 May 2008 05:46:31 GMT</pubDate>
<guid>http://snipplr.com/view/6236/301-rewrite-domaincouk-to-wwwdomaincouk-like-the-search-engine-friendly-developer-you-are/</guid>
</item>
<item>
<title>(Other) APACHE httpd.conf バーチャルホストの設定 - daisuke103</title>
<link>http://snipplr.com/view/5051/apache-httpdconf-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Feb 2008 19:36:44 GMT</pubDate>
<guid>http://snipplr.com/view/5051/apache-httpdconf-/</guid>
</item>
</channel>
</rss>