<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:26:21 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Javascript: Create UTC - chrisaiv</title>
      <link>https://snipplr.com/view/326413/javascript-create-utc</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2017/08/25/js-create-utc-from-new-date/&lt;/p&gt;</description>
      <pubDate>Fri, 25 Aug 2017 10:50:35 UTC</pubDate>
      <guid>https://snipplr.com/view/326413/javascript-create-utc</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS: Turn image into Vector art silhouette - chrisaiv</title>
      <link>https://snipplr.com/view/88119/nodejs-turn-image-into-vector-art-silhouette</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2015/01/22/js-turn-image-into-vector-art-silhouette/&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jan 2015 10:25:58 UTC</pubDate>
      <guid>https://snipplr.com/view/88119/nodejs-turn-image-into-vector-art-silhouette</guid>
    </item>
    <item>
      <title>(JavaScript) Proper Global Variables - chrisaiv</title>
      <link>https://snipplr.com/view/82405/proper-global-variables</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2014/11/27/js-proper-global-variables/&lt;/p&gt;</description>
      <pubDate>Thu, 27 Nov 2014 04:45:13 UTC</pubDate>
      <guid>https://snipplr.com/view/82405/proper-global-variables</guid>
    </item>
    <item>
      <title>(JavaScript) Wordpress: Change admin email to new users (example 2) - chrisaiv</title>
      <link>https://snipplr.com/view/77689/wordpress-change-admin-email-to-new-users-example-2</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2014/09/18/wordpress-change-admin-e-mail-to-new-users/&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2014 03:40:09 UTC</pubDate>
      <guid>https://snipplr.com/view/77689/wordpress-change-admin-email-to-new-users-example-2</guid>
    </item>
    <item>
      <title>(JavaScript) Wordpress: Change admin e-mail to new users (example 1) - chrisaiv</title>
      <link>https://snipplr.com/view/77687/wordpress-change-admin-email-to-new-users-example-1</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2014/09/18/wordpress-change-admin-e-mail-to-new-users-example-1/&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2014 03:34:18 UTC</pubDate>
      <guid>https://snipplr.com/view/77687/wordpress-change-admin-email-to-new-users-example-1</guid>
    </item>
    <item>
      <title>(JavaScript) Wordpress: Upgrade an old theme\'s jQuery - chrisaiv</title>
      <link>https://snipplr.com/view/77403/wordpress-upgrade-an-old-themes-jquery</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2014/09/13/wordpress-upgrade-an-old-jquery/&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2014 10:47:04 UTC</pubDate>
      <guid>https://snipplr.com/view/77403/wordpress-upgrade-an-old-themes-jquery</guid>
    </item>
    <item>
      <title>(JavaScript) Wordpress: Show posts from only one category - chrisaiv</title>
      <link>https://snipplr.com/view/77391/wordpress-show-posts-from-only-one-category</link>
      <description>&lt;p&gt;If youâ€™d like to show posts from only one category on your homepage, then itâ€™s easy enough to do.&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2014 10:05:33 UTC</pubDate>
      <guid>https://snipplr.com/view/77391/wordpress-show-posts-from-only-one-category</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS: Parse Cloud Example - chrisaiv</title>
      <link>https://snipplr.com/view/73147/nodejs-parse-cloud-example</link>
      <description>&lt;p&gt;Parse Cloud Code allows you to build an ExpressJS app that connects with Parse's specialized cloud functions + infrastructure. These two examples simply show how you can access Parse's methods: through webhooks or cloud calls.&lt;/p&gt;</description>
      <pubDate>Sat, 14 Dec 2013 02:34:21 UTC</pubDate>
      <guid>https://snipplr.com/view/73147/nodejs-parse-cloud-example</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS: Detect if an Object is empty or not - chrisaiv</title>
      <link>https://snipplr.com/view/73112/nodejs-detect-if-an-object-is-empty-or-not</link>
      <description>&lt;p&gt;Using ExpressJS, I wanted a simple function that would respond (through JSON) whether a request query was present or not.&lt;/p&gt;</description>
      <pubDate>Sun, 08 Dec 2013 12:11:28 UTC</pubDate>
      <guid>https://snipplr.com/view/73112/nodejs-detect-if-an-object-is-empty-or-not</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS: Server-side browser detection - chrisaiv</title>
      <link>https://snipplr.com/view/69258/nodejs-serverside-browser-detection</link>
      <description>&lt;p&gt;Browser detection before sending any resources to the client.&lt;/p&gt;</description>
      <pubDate>Wed, 26 Dec 2012 04:36:54 UTC</pubDate>
      <guid>https://snipplr.com/view/69258/nodejs-serverside-browser-detection</guid>
    </item>
    <item>
      <title>(JavaScript) Firebase: Leaderboard - chrisaiv</title>
      <link>https://snipplr.com/view/66264/firebase-leaderboard</link>
      <description>&lt;p&gt;Easy-to-use leaderboard&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jul 2012 04:39:49 UTC</pubDate>
      <guid>https://snipplr.com/view/66264/firebase-leaderboard</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS: Minimize all the JS files in a directory using Uglify-js - chrisaiv</title>
      <link>https://snipplr.com/view/66177/nodejs-minimize-all-the-js-files-in-a-directory-using-uglifyjs</link>
      <description>&lt;p&gt;If you happen to have 5 or 6 javascript files that you'd like to compress into 1, then try uglify within terminal.&lt;/p&gt;</description>
      <pubDate>Tue, 17 Jul 2012 12:51:36 UTC</pubDate>
      <guid>https://snipplr.com/view/66177/nodejs-minimize-all-the-js-files-in-a-directory-using-uglifyjs</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS: Delivering a crossdomain.xml file using Express.JS - chrisaiv</title>
      <link>https://snipplr.com/view/66014/nodejs-delivering-a-crossdomainxml-file-using-expressjs</link>
      <description>&lt;p&gt;There are many ways to deliver a crossdomain.xml file through NodeJS or Express.js.  Here is one solution&lt;/p&gt;</description>
      <pubDate>Sat, 07 Jul 2012 10:32:23 UTC</pubDate>
      <guid>https://snipplr.com/view/66014/nodejs-delivering-a-crossdomainxml-file-using-expressjs</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript: Controlling video using D-Pad control - chrisaiv</title>
      <link>https://snipplr.com/view/65748/javascript-controlling-video-using-dpad-control</link>
      <description>&lt;p&gt;If you happen to have a GoogleTV and you want to control &lt;video&gt; using the D-Pad, here's how you do it using a switch case and jQuery.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Jun 2012 06:13:28 UTC</pubDate>
      <guid>https://snipplr.com/view/65748/javascript-controlling-video-using-dpad-control</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript: User-agent detect GoogleTV or Boxee - chrisaiv</title>
      <link>https://snipplr.com/view/65746/javascript-useragent-detect-googletv-or-boxee</link>
      <description>&lt;p&gt;Simple way to detect GoogleTV or Boxee browsers using Javascript.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Jun 2012 05:50:48 UTC</pubDate>
      <guid>https://snipplr.com/view/65746/javascript-useragent-detect-googletv-or-boxee</guid>
    </item>
    <item>
      <title>(JavaScript) NodeJS + ExpressJS: Strip out port from req.headers.host - chrisaiv</title>
      <link>https://snipplr.com/view/65682/nodejs--expressjs-strip-out-port-from-reqheadershost</link>
      <description>&lt;p&gt;I doubt anyone will ever need this but just in case.  I had a scenario where I needed to deliver the hostname (without the port) through an .ejs variable.  The hostname comes from the request header so that's easy to find and I simply used a .match with a ternary conditional to keep things clean.&lt;/p&gt;</description>
      <pubDate>Mon, 18 Jun 2012 01:58:16 UTC</pubDate>
      <guid>https://snipplr.com/view/65682/nodejs--expressjs-strip-out-port-from-reqheadershost</guid>
    </item>
    <item>
      <title>(JavaScript) Node.js: Import geo-based Flickr data into CouchDB - chrisaiv</title>
      <link>https://snipplr.com/view/64875/nodejs-import-geobased-flickr-data-into-couchdb</link>
      <description>&lt;p&gt;The Flickr URL creates a JSON feed with geo-based photos.  Using Node.js, CouchDB, and cradle (npm install cradle), you can ingest the JSON data into CouchDB and perform complicated spatial indexing queries.  The command for the import is bash$ node name_of_this_javascript.js&lt;/p&gt;</description>
      <pubDate>Wed, 16 May 2012 02:12:45 UTC</pubDate>
      <guid>https://snipplr.com/view/64875/nodejs-import-geobased-flickr-data-into-couchdb</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript: Copy a video frame and turn it into an image - chrisaiv</title>
      <link>https://snipplr.com/view/64256/javascript-copy-a-video-frame-and-turn-it-into-an-image</link>
      <description>&lt;p&gt;Very cool example of copying a frame from an MP4 and displaying it on the canvas or image. In order for images to be saved, the video must come from the same domain&lt;/p&gt;</description>
      <pubDate>Sat, 31 Mar 2012 07:05:43 UTC</pubDate>
      <guid>https://snipplr.com/view/64256/javascript-copy-a-video-frame-and-turn-it-into-an-image</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery: Collect img tags based on src then replace them - chrisaiv</title>
      <link>https://snipplr.com/view/58586/jquery-collect-img-tags-based-on-src-then-replace-them</link>
      <description>&lt;p&gt;This two liner is powerful.  It shows you how to find images on a page based on the source (src) and replace them with another image.&lt;/p&gt;</description>
      <pubDate>Sat, 10 Sep 2011 09:44:04 UTC</pubDate>
      <guid>https://snipplr.com/view/58586/jquery-collect-img-tags-based-on-src-then-replace-them</guid>
    </item>
    <item>
      <title>(JavaScript) JS: Turn text into TitleCase - chrisaiv</title>
      <link>https://snipplr.com/view/55858/js-turn-text-into-titlecase</link>
      <description>&lt;p&gt;I love this script.  It's perfect for anyone trying to transforms headlines into some sort of Title Case format without using CSS&lt;/p&gt;</description>
      <pubDate>Wed, 29 Jun 2011 03:06:46 UTC</pubDate>
      <guid>https://snipplr.com/view/55858/js-turn-text-into-titlecase</guid>
    </item>
    <item>
      <title>(JavaScript) SWFObject: Full sreen flash with browser scrollbar - chrisaiv</title>
      <link>https://snipplr.com/view/45792/swfobject-full-sreen-flash-with-browser-scrollbar</link>
      <description>&lt;p&gt;If you are trying to solving one or both of these problems:&#13;
+ If the window is resized to a smaller size that was designed for - a scrollbar would be nice.&#13;
+ If the content is larger than the original design - a scrollbar would be nice&#13;
&#13;
Then use this code!&lt;/p&gt;</description>
      <pubDate>Thu, 16 Dec 2010 04:19:18 UTC</pubDate>
      <guid>https://snipplr.com/view/45792/swfobject-full-sreen-flash-with-browser-scrollbar</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript: Creating a Google Calendar RF3339 Timestamp - chrisaiv</title>
      <link>https://snipplr.com/view/44492/javascript-creating-a-google-calendar-rf3339-timestamp</link>
      <description>&lt;p&gt;I needed a way to talk to Google Calendars.  here's how I was able to create a RFC 3339 timestamp&lt;/p&gt;</description>
      <pubDate>Sat, 20 Nov 2010 10:32:06 UTC</pubDate>
      <guid>https://snipplr.com/view/44492/javascript-creating-a-google-calendar-rf3339-timestamp</guid>
    </item>
    <item>
      <title>(JavaScript) Appcelerator: Simple Zip Code City Finder - chrisaiv</title>
      <link>https://snipplr.com/view/23990/appcelerator-simple-zip-code-city-finder</link>
      <description>&lt;p&gt;Appcelerator Titanium Mobile is a framework + IDE designed to help you build iPhone applications using only HTML and Javascript.  This example shows how to make a simple Ajax request&lt;/p&gt;</description>
      <pubDate>Tue, 01 Dec 2009 13:51:16 UTC</pubDate>
      <guid>https://snipplr.com/view/23990/appcelerator-simple-zip-code-city-finder</guid>
    </item>
    <item>
      <title>(JavaScript) JS: Parse RSS Feed - chrisaiv</title>
      <link>https://snipplr.com/view/12469/js-parse-rss-feed</link>
      <description>&lt;p&gt;Simple Javascript that will get a feed and parse it using Ajax&lt;/p&gt;</description>
      <pubDate>Sun, 22 Feb 2009 14:40:26 UTC</pubDate>
      <guid>https://snipplr.com/view/12469/js-parse-rss-feed</guid>
    </item>
    <item>
      <title>(JavaScript) JQuery: Rounded Corners - chrisaiv</title>
      <link>https://snipplr.com/view/9555/jquery-rounded-corners</link>
      <description>&lt;p&gt;You will need to download a few things to easily create rounded corners.  They are jQuery (http://jquery.com/) and the jQuery rounded corners plug-in (http://www.malsup.com/jquery/corner/).&lt;/p&gt;</description>
      <pubDate>Fri, 07 Nov 2008 19:11:58 UTC</pubDate>
      <guid>https://snipplr.com/view/9555/jquery-rounded-corners</guid>
    </item>
    <item>
      <title>(JavaScript) JQuery: Detecting a Browser Resize - chrisaiv</title>
      <link>https://snipplr.com/view/9097/jquery-detecting-a-browser-resize</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/&lt;/p&gt;</description>
      <pubDate>Sat, 18 Oct 2008 12:11:45 UTC</pubDate>
      <guid>https://snipplr.com/view/9097/jquery-detecting-a-browser-resize</guid>
    </item>
    <item>
      <title>(JavaScript) JQuery: Common Browser Sniffing - chrisaiv</title>
      <link>https://snipplr.com/view/9096/jquery-common-browser-sniffing</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/&lt;/p&gt;</description>
      <pubDate>Sat, 18 Oct 2008 12:05:38 UTC</pubDate>
      <guid>https://snipplr.com/view/9096/jquery-common-browser-sniffing</guid>
    </item>
    <item>
      <title>(JavaScript) JQuery: Ensure that at least one checkbox is selected - chrisaiv</title>
      <link>https://snipplr.com/view/8513/jquery-ensure-that-at-least-one-checkbox-is-selected</link>
      <description>&lt;p&gt;https://www.chrisjmendez.com/2008/09/21/jquery-ensure-that-at-least-one-checkbox-is-selected/&lt;/p&gt;</description>
      <pubDate>Sat, 20 Sep 2008 17:13:28 UTC</pubDate>
      <guid>https://snipplr.com/view/8513/jquery-ensure-that-at-least-one-checkbox-is-selected</guid>
    </item>
  </channel>
</rss>
