<?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>Wed, 10 Jun 2026 03:27:16 +0000</lastBuildDate>
    <item>
      <title>(Bash) Bash script to grab html5 boiler plate - nikefido</title>
      <link>https://snipplr.com/view/59184/bash-script-to-grab-html5-boiler-plate</link>
      <description>&lt;p&gt;EADME&#13;
Use: &#13;
&#13;
$ cd /path/to/where/to/start/project&#13;
$ sh /path/to/h5bp.sh&#13;
&#13;
I have it in my Users/username folder (on my mac) so I do:&#13;
$ cd htdocs&#13;
$ sh ~/h5bp.sh&#13;
&#13;
Alternatively:&#13;
-Edit your ~/.profile file and &#13;
1) add ~/ to your PATH variable if not already there&#13;
2) create an alias:&#13;
alias h5bp="sh /path/to/h5bp.sh"&lt;/p&gt;</description>
      <pubDate>Wed, 28 Sep 2011 04:47:58 UTC</pubDate>
      <guid>https://snipplr.com/view/59184/bash-script-to-grab-html5-boiler-plate</guid>
    </item>
    <item>
      <title>(Bash) Shell script to check log files in real time via ssh - nikefido</title>
      <link>https://snipplr.com/view/59043/shell-script-to-check-log-files-in-real-time-via-ssh</link>
      <description>&lt;p&gt;Check in real time changes to a log file. In this case, the file is created by date, one new one per day (a CodeIgniter log file), so some extra items were added to find the log file&lt;/p&gt;</description>
      <pubDate>Sat, 24 Sep 2011 05:30:05 UTC</pubDate>
      <guid>https://snipplr.com/view/59043/shell-script-to-check-log-files-in-real-time-via-ssh</guid>
    </item>
    <item>
      <title>(jQuery) jQuery plugin template - enhanced - nikefido</title>
      <link>https://snipplr.com/view/53418/jquery-plugin-template--enhanced</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 12 May 2011 04:10:04 UTC</pubDate>
      <guid>https://snipplr.com/view/53418/jquery-plugin-template--enhanced</guid>
    </item>
    <item>
      <title>(Bash) bash shell file for daily database backup - Run as CRON job - nikefido</title>
      <link>https://snipplr.com/view/52579/bash-shell-file-for-daily-database-backup--run-as-cron-job</link>
      <description>&lt;p&gt;Creates a daily backup and deletes any backup older than 60 days. &#13;
Replace:&#13;
*DB_USER&#13;
*DB_PASSWORD&#13;
*DB_NAME &#13;
*/path/to/backup&#13;
with your actual database name, credentials and path to where you want your backup to live.&#13;
&#13;
Last note: you don't necessarily need to wrap your password in quotes. Some characters will cause it to break without them, however.&lt;/p&gt;</description>
      <pubDate>Tue, 26 Apr 2011 06:16:33 UTC</pubDate>
      <guid>https://snipplr.com/view/52579/bash-shell-file-for-daily-database-backup--run-as-cron-job</guid>
    </item>
    <item>
      <title>(jQuery) better jquery plugin template - nikefido</title>
      <link>https://snipplr.com/view/52173/better-jquery-plugin-template</link>
      <description>&lt;p&gt;Following these docs: http://docs.jquery.com/Plugins/Authoring&lt;/p&gt;</description>
      <pubDate>Sat, 16 Apr 2011 04:48:43 UTC</pubDate>
      <guid>https://snipplr.com/view/52173/better-jquery-plugin-template</guid>
    </item>
    <item>
      <title>(JavaScript) Nodejs server with site index fallback - nikefido</title>
      <link>https://snipplr.com/view/52056/nodejs-server-with-site-index-fallback</link>
      <description>&lt;p&gt;Gives you an idea of how to fallback to an 'index' page if URL points to a directory. Not very refined - Will never return a "is directory" error&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 12:54:21 UTC</pubDate>
      <guid>https://snipplr.com/view/52056/nodejs-server-with-site-index-fallback</guid>
    </item>
    <item>
      <title>(PHP) Database dump using PHP - nikefido</title>
      <link>https://snipplr.com/view/51083/database-dump-using-php</link>
      <description>&lt;p&gt;Attempt 1 is a command-line attempt. Likely not to work due to php often running as "nobody". Attempt 2 is a php way, going through teach table in the database and writing out to a file.&lt;/p&gt;</description>
      <pubDate>Fri, 25 Mar 2011 02:27:33 UTC</pubDate>
      <guid>https://snipplr.com/view/51083/database-dump-using-php</guid>
    </item>
    <item>
      <title>(PHP) htaccess redirect all pages to index page - nikefido</title>
      <link>https://snipplr.com/view/51082/htaccess-redirect-all-pages-to-index-page</link>
      <description>&lt;p&gt;Redirects all requests to the index page, unless the file is an asset (css, javascript, image, etc). All directories (real or fake) get redirected to the index page. Note the file extensions (js|css|gif|jpg|jpeg|png|ico|swf|pdf) can be added and subtracted too, depending on your needs.&lt;/p&gt;</description>
      <pubDate>Fri, 25 Mar 2011 02:00:54 UTC</pubDate>
      <guid>https://snipplr.com/view/51082/htaccess-redirect-all-pages-to-index-page</guid>
    </item>
    <item>
      <title>(PHP) Zend Data Mapping example - nikefido</title>
      <link>https://snipplr.com/view/45183/zend-data-mapping-example</link>
      <description>&lt;p&gt;Example set of files for data mapping objects to db records. (Not perfect, but funcional)&lt;/p&gt;</description>
      <pubDate>Fri, 03 Dec 2010 03:05:39 UTC</pubDate>
      <guid>https://snipplr.com/view/45183/zend-data-mapping-example</guid>
    </item>
    <item>
      <title>(PHP) Zend file uploading class - nikefido</title>
      <link>https://snipplr.com/view/45182/zend-file-uploading-class</link>
      <description>&lt;p&gt;A sample wrapper class around Zend_File_Transfer_Adapter_Http&lt;/p&gt;</description>
      <pubDate>Fri, 03 Dec 2010 03:01:23 UTC</pubDate>
      <guid>https://snipplr.com/view/45182/zend-file-uploading-class</guid>
    </item>
    <item>
      <title>(PHP) Sample Zend boot strap file - layout, views, registry, error handling - nikefido</title>
      <link>https://snipplr.com/view/45181/sample-zend-boot-strap-file--layout-views-registry-error-handling</link>
      <description>&lt;p&gt;Sample Zend bootstrap and supporting files&#13;
1) Sets custom layout depending on module used&#13;
2) Adds view helpers - footscript for adding scripts to footer and custom bodyClass helper&#13;
3) Sets baseUrl option for view and layout&#13;
4) Sets error handler to a specific module&#13;
5) Sets custom .ini options into registry&lt;/p&gt;</description>
      <pubDate>Fri, 03 Dec 2010 02:57:17 UTC</pubDate>
      <guid>https://snipplr.com/view/45181/sample-zend-boot-strap-file--layout-views-registry-error-handling</guid>
    </item>
    <item>
      <title>(PHP) Sample Zend config.ini file - nikefido</title>
      <link>https://snipplr.com/view/45180/sample-zend-configini-file</link>
      <description>&lt;p&gt;Same Zend config.ini file with layout, module support, database and custom options. Also some bootstrap code to get custom config items into the systems registry&lt;/p&gt;</description>
      <pubDate>Fri, 03 Dec 2010 02:47:15 UTC</pubDate>
      <guid>https://snipplr.com/view/45180/sample-zend-configini-file</guid>
    </item>
    <item>
      <title>(PHP) Zend ajax controller  - testing if ajax, turning off layout and disabling view file - nikefido</title>
      <link>https://snipplr.com/view/45178/zend-ajax-controller---testing-if-ajax-turning-off-layout-and-disabling-view-file</link>
      <description>&lt;p&gt;Example controller used for AJAX requests - Disables layout, shows how to sent an action to not render a view (setNoRender) and adds some security checks.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Dec 2010 02:36:11 UTC</pubDate>
      <guid>https://snipplr.com/view/45178/zend-ajax-controller---testing-if-ajax-turning-off-layout-and-disabling-view-file</guid>
    </item>
    <item>
      <title>(jQuery) Get public Twitter timeline with jQuery ajax - with retweets - nikefido</title>
      <link>https://snipplr.com/view/45125/get-public-twitter-timeline-with-jquery-ajax--with-retweets</link>
      <description>&lt;p&gt;This is a snippet for grabbing and displaying a public user twitter timeline from Twitter's API using jQuery ajax().&#13;
As a bonus, it also gives some hinting on how to test if its a retweet, and if so, grab the original tweeter's information - so the timeline looks more like twitter.com's timline.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Dec 2010 03:49:38 UTC</pubDate>
      <guid>https://snipplr.com/view/45125/get-public-twitter-timeline-with-jquery-ajax--with-retweets</guid>
    </item>
    <item>
      <title>(JavaScript) Linkify Twitter feed (Usernames, hashtags and links) - nikefido</title>
      <link>https://snipplr.com/view/45124/linkify-twitter-feed-usernames-hashtags-and-links</link>
      <description>&lt;p&gt;This will let you use the linkify_tweet() function on any string to make @username, #hashtags and http://any.links be clickable in your API-received twitter feeds.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Dec 2010 03:42:29 UTC</pubDate>
      <guid>https://snipplr.com/view/45124/linkify-twitter-feed-usernames-hashtags-and-links</guid>
    </item>
    <item>
      <title>(jQuery) jQuery extend template - nikefido</title>
      <link>https://snipplr.com/view/39415/jquery-extend-template</link>
      <description>&lt;p&gt;A quick template for extending javascript/jQuery functionality&lt;/p&gt;</description>
      <pubDate>Mon, 23 Aug 2010 11:37:36 UTC</pubDate>
      <guid>https://snipplr.com/view/39415/jquery-extend-template</guid>
    </item>
    <item>
      <title>(jQuery) jquery plugin template - nikefido</title>
      <link>https://snipplr.com/view/39414/jquery-plugin-template</link>
      <description>&lt;p&gt;A template of a basic jQuery plugin, including over-ridable options&lt;/p&gt;</description>
      <pubDate>Mon, 23 Aug 2010 11:27:14 UTC</pubDate>
      <guid>https://snipplr.com/view/39414/jquery-plugin-template</guid>
    </item>
  </channel>
</rss>
