<?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/local</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 18 Jun 2013 15:20:21 GMT</pubDate>
<item>
<title>(Bash) Reload dependencies cache in maven 2/3 - alces</title>
<link>http://snipplr.com/view/71155/reload-dependencies-cache-in-maven-23/</link>
<description><![CDATA[ <p>How to reload dependencies cache in maven 2/3</p> ]]></description>
<pubDate>Mon, 13 May 2013 17:32:51 GMT</pubDate>
<guid>http://snipplr.com/view/71155/reload-dependencies-cache-in-maven-23/</guid>
</item>
<item>
<title>(PHP) Sending emails in local development environment with Swiftmailer - draciP</title>
<link>http://snipplr.com/view/70044/sending-emails-in-local-development-environment-with-swiftmailer/</link>
<description><![CDATA[ <p>This is a little snippet to prevent sending emails to customers, in a local development environment, with Swiftmailer.
I didn't find any documentation about the RedirectPlugin, so I made this example.
Please refer to the official documentation to install Swiftmailer.</p> ]]></description>
<pubDate>Thu, 21 Feb 2013 22:46:46 GMT</pubDate>
<guid>http://snipplr.com/view/70044/sending-emails-in-local-development-environment-with-swiftmailer/</guid>
</item>
<item>
<title>(Bash) GIT - Find out which is the remote branch, which is tracked by a local branch - satie83</title>
<link>http://snipplr.com/view/65834/git--find-out-which-is-the-remote-branch-which-is-tracked-by-a-local-branch/</link>
<description><![CDATA[ <p>This shows the local and remote branches along with the most recent commit for each branch.</p> ]]></description>
<pubDate>Wed, 27 Jun 2012 20:47:05 GMT</pubDate>
<guid>http://snipplr.com/view/65834/git--find-out-which-is-the-remote-branch-which-is-tracked-by-a-local-branch/</guid>
</item>
<item>
<title>(JavaScript) JavaScript local storage - EvanHahn</title>
<link>http://snipplr.com/view/63894/javascript-local-storage/</link>
<description><![CDATA[ <p>Here's how to use this:

* To access something in the local storage, type `Evan.local('name')`. You may need to use `JSON.parse()` on this result. Returns `null` if nothing's there.
* To assign something in the local storage, type `Evan.local('name', value)`.
* To remove something from the local storage, type `Evan.local('name', null)`.

This may not work if private browsing is enabled (eg, on Safari for iOS).</p> ]]></description>
<pubDate>Mon, 12 Mar 2012 10:02:38 GMT</pubDate>
<guid>http://snipplr.com/view/63894/javascript-local-storage/</guid>
</item>
<item>
<title>(PHP) Get the Current Time - dubogii</title>
<link>http://snipplr.com/view/58087/get-the-current-time/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 22 Aug 2011 20:35:43 GMT</pubDate>
<guid>http://snipplr.com/view/58087/get-the-current-time/</guid>
</item>
<item>
<title>(JavaScript) Local Storage HTML5 Wrapper - cmndo</title>
<link>http://snipplr.com/view/54570/local-storage-html5-wrapper/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 29 May 2011 16:36:25 GMT</pubDate>
<guid>http://snipplr.com/view/54570/local-storage-html5-wrapper/</guid>
</item>
<item>
<title>(PHP) Get PHP to parse on local server - stephcode</title>
<link>http://snipplr.com/view/51797/get-php-to-parse-on-local-server/</link>
<description><![CDATA[ <p>AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)</p> ]]></description>
<pubDate>Sat, 09 Apr 2011 02:30:46 GMT</pubDate>
<guid>http://snipplr.com/view/51797/get-php-to-parse-on-local-server/</guid>
</item>
<item>
<title>(JavaScript) Query Local Database with targeted callback and custom arguements - cmndo</title>
<link>http://snipplr.com/view/50724/query-local-database-with-targeted-callback-and-custom-arguements/</link>
<description><![CDATA[ <p>In a recent iphone webapp I developed, I needed to use safari's Local Database feature. The webapp needed to make a few SQL Queries while performing other actions.

The local database data transaction process makes it difficult to make queries and assign the data you really want. But hey, that's asynchronous event handling for you.

This function allows you to tightly couple an object with the query which will be available in the callback.</p> ]]></description>
<pubDate>Wed, 16 Mar 2011 07:43:10 GMT</pubDate>
<guid>http://snipplr.com/view/50724/query-local-database-with-targeted-callback-and-custom-arguements/</guid>
</item>
<item>
<title>(Java) Db4o ObjectContainer factory - dogrizz</title>
<link>http://snipplr.com/view/45946/db4o-objectcontainer-factory/</link>
<description><![CDATA[ <p>Factory for ObjectContainer for local db4o database</p> ]]></description>
<pubDate>Mon, 20 Dec 2010 04:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/45946/db4o-objectcontainer-factory/</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>(Other) Flush local DNS cache - zeropx</title>
<link>http://snipplr.com/view/43668/flush-local-dns-cache/</link>
<description><![CDATA[ <p>Used to clear cache on your local box when dns is not resolving correctly on your particular box.</p> ]]></description>
<pubDate>Sat, 06 Nov 2010 04:26:16 GMT</pubDate>
<guid>http://snipplr.com/view/43668/flush-local-dns-cache/</guid>
</item>
<item>
<title>(ActionScript 3) Create a Flash SharedObject (Flash Cookie) - carbonr</title>
<link>http://snipplr.com/view/41396/create-a-flash-sharedobject-flash-cookie/</link>
<description><![CDATA[ <p>This snippet will help create a flashSharedObject a.k.a Flash Cookie, which much better than conventional cookies since they remain through all browsers and cannot be erased by the user using traditional cookie erasing methods</p> ]]></description>
<pubDate>Sun, 03 Oct 2010 19:22:55 GMT</pubDate>
<guid>http://snipplr.com/view/41396/create-a-flash-sharedobject-flash-cookie/</guid>
</item>
<item>
<title>(JavaScript) Grab Google CDN jQuery. fall back to local if necessary - koteus</title>
<link>http://snipplr.com/view/40747/grab-google-cdn-jquery-fall-back-to-local-if-necessary/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 19 Sep 2010 06:29:27 GMT</pubDate>
<guid>http://snipplr.com/view/40747/grab-google-cdn-jquery-fall-back-to-local-if-necessary/</guid>
</item>
<item>
<title>(PHP) preg_replace_callback with local variable access - freezy</title>
<link>http://snipplr.com/view/39617/pregreplacecallback-with-local-variable-access/</link>
<description><![CDATA[ <p>To access a local variable within a callback, use currying (delayed argument binding).\r\nThe magic lies in this curry found here: http://www.sitepoint.com/forums/showthread.php?threadid=336758</p> ]]></description>
<pubDate>Fri, 27 Aug 2010 23:50:41 GMT</pubDate>
<guid>http://snipplr.com/view/39617/pregreplacecallback-with-local-variable-access/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 LocalToGlobal Example - adrianparr</title>
<link>http://snipplr.com/view/38364/as3-localtoglobal-example/</link>
<description><![CDATA[ <p>This demonstrates how to use localToGlobal in AS3.</p> ]]></description>
<pubDate>Wed, 04 Aug 2010 22:29:35 GMT</pubDate>
<guid>http://snipplr.com/view/38364/as3-localtoglobal-example/</guid>
</item>
<item>
<title>(PHP) Is Local Address - nkm</title>
<link>http://snipplr.com/view/36767/is-local-address/</link>
<description><![CDATA[ <p>Checks if a given address is local. Useful for setting up the dev environment automatically.

NOTE: It's not intended for validation!</p> ]]></description>
<pubDate>Tue, 06 Jul 2010 20:23:50 GMT</pubDate>
<guid>http://snipplr.com/view/36767/is-local-address/</guid>
</item>
<item>
<title>(Python) Python: local and global namespaces - magicrebirth</title>
<link>http://snipplr.com/view/25252/python-local-and-global-namespaces/</link>
<description><![CDATA[ <p>Scoping in Python revolves around the concept of namespaces. Namespaces are basically dictionaries containing the names and values of the objects within a given scope. There are four basic types of namespaces that you will be dealing with: the global, local, module, and class namespaces.

Global namespaces are created when a program begins execution. The global namespace initially includes built-in information about the module being executed. As new objects are defined in the global namespace scope, they are added to the namespace. The global namespace is accessible from all scopes, as shown in the example where the global value of x is retrieved using globals()["x"].

Local namespaces are created when a function is called. Local namespaces are nested with functions as they are nested. Name lookups begin in the most nested namespace and move out to the global namespaces.

The global statement forces names to be linked to the global namespace rather than to the local namespace. In the sample code, we use the global statement to force the name x to point to the global namespace. When x is changed, the global object will be modified.</p> ]]></description>
<pubDate>Tue, 22 Dec 2009 15:25:56 GMT</pubDate>
<guid>http://snipplr.com/view/25252/python-local-and-global-namespaces/</guid>
</item>
<item>
<title>(Ruby) Create and set instance variables from method parameters / arguments - pmadden</title>
<link>http://snipplr.com/view/20896/create-and-set-instance-variables-from-method-parameters--arguments/</link>
<description><![CDATA[ <p>Inserted at the top of the method body, this line creates instance variables for each of the method parameters and sets them to their respective argument values.</p> ]]></description>
<pubDate>Fri, 09 Oct 2009 14:22:38 GMT</pubDate>
<guid>http://snipplr.com/view/20896/create-and-set-instance-variables-from-method-parameters--arguments/</guid>
</item>
<item>
<title>(ASP) ASP (vbscript): Retrieve Remote XML RSS Feed, Modify Using Regular Expression, and then Save to Local XML File - karlhorky</title>
<link>http://snipplr.com/view/20484/asp-vbscript-retrieve-remote-xml-rss-feed-modify-using-regular-expression-and-then-save-to-local-xml-file/</link>
<description><![CDATA[ <p>This script will retrieve a remote xml rss feed, modify it based upon a date extracted from a remote html document (using a regular expression), and save it to a local file.</p> ]]></description>
<pubDate>Wed, 30 Sep 2009 15:00:49 GMT</pubDate>
<guid>http://snipplr.com/view/20484/asp-vbscript-retrieve-remote-xml-rss-feed-modify-using-regular-expression-and-then-save-to-local-xml-file/</guid>
</item>
<item>
<title>(ActionScript 3) Away3D Local 3d to Global 2d point - alexaivars</title>
<link>http://snipplr.com/view/15600/away3d-local-3d-to-global-2d-point/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 06 Jun 2009 06:57:36 GMT</pubDate>
<guid>http://snipplr.com/view/15600/away3d-local-3d-to-global-2d-point/</guid>
</item>
</channel>
</rss>