<?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 15:11:05 +0000</lastBuildDate>
    <item>
      <title>(ASP) ASP.net MVC: Accept file upload from all browsers. - jink</title>
      <link>https://snipplr.com/view/41413/aspnet-mvc-accept-file-upload-from-all-browsers</link>
      <description>&lt;p&gt;I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.&lt;/p&gt;</description>
      <pubDate>Mon, 04 Oct 2010 10:56:16 UTC</pubDate>
      <guid>https://snipplr.com/view/41413/aspnet-mvc-accept-file-upload-from-all-browsers</guid>
    </item>
    <item>
      <title>(ASP) MySQL: Preventing "Unable to convert MySQL date/time value to System.DateTime" (Invalid Date Data). - jink</title>
      <link>https://snipplr.com/view/35863/mysql-preventing-unable-to-convert-mysql-datetime-value-to-systemdatetime-invalid-date-data</link>
      <description>&lt;p&gt;Changing the connection string in the web.config to allow zero date and converting it prevents this error.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jun 2010 02:34:12 UTC</pubDate>
      <guid>https://snipplr.com/view/35863/mysql-preventing-unable-to-convert-mysql-datetime-value-to-systemdatetime-invalid-date-data</guid>
    </item>
    <item>
      <title>(ASP) ASP: Altering web.config to allow MySQL outside of GAC - jink</title>
      <link>https://snipplr.com/view/35862/asp-altering-webconfig-to-allow-mysql-outside-of-gac</link>
      <description>&lt;p&gt;Add the System.Data config settings for MySql.  Update the version to number referenced.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jun 2010 02:19:40 UTC</pubDate>
      <guid>https://snipplr.com/view/35862/asp-altering-webconfig-to-allow-mysql-outside-of-gac</guid>
    </item>
    <item>
      <title>(Bash) OSX: Restore "2D" dock (pre leopard). - jink</title>
      <link>https://snipplr.com/view/29624/osx-restore-2d-dock-pre-leopard</link>
      <description>&lt;p&gt;Restores the 2D (tiger) dock.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Mar 2010 18:31:17 UTC</pubDate>
      <guid>https://snipplr.com/view/29624/osx-restore-2d-dock-pre-leopard</guid>
    </item>
    <item>
      <title>(Bash) OSX: Mouse highlighting of items in stacks. - jink</title>
      <link>https://snipplr.com/view/29623/osx-mouse-highlighting-of-items-in-stacks</link>
      <description>&lt;p&gt;Puts mouse highlighting behind stacks.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Mar 2010 18:29:13 UTC</pubDate>
      <guid>https://snipplr.com/view/29623/osx-mouse-highlighting-of-items-in-stacks</guid>
    </item>
    <item>
      <title>(ActionScript) .htaccess: (YUI) Disable Etag, Compress Fonts, Compress HTML/CSS/JS - jink</title>
      <link>https://snipplr.com/view/28971/htaccess-yui-disable-etag-compress-fonts-compress-htmlcssjs</link>
      <description>&lt;p&gt;Etag Removal: http://developer.yahoo.com/performance/rules.html#etags&#13;
Font Compression: http://www.phpied.com/gzip-your-font-face-files/&#13;
Compression: http://developer.yahoo.com/performance/rules.html#gzip&lt;/p&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:44:37 UTC</pubDate>
      <guid>https://snipplr.com/view/28971/htaccess-yui-disable-etag-compress-fonts-compress-htmlcssjs</guid>
    </item>
    <item>
      <title>(Apache) Wordpress: .htaccess for permalinks - jink</title>
      <link>https://snipplr.com/view/28969/wordpress-htaccess-for-permalinks</link>
      <description>&lt;p&gt;Use this rewrite rule to enable permalinks on a host.  Used when Wordpress doesn't write the conditions correctly (like on a host I am testing with).&lt;/p&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:35:09 UTC</pubDate>
      <guid>https://snipplr.com/view/28969/wordpress-htaccess-for-permalinks</guid>
    </item>
    <item>
      <title>(PHP) Wordpress: Inject thumbnails in RSS feeds - jink</title>
      <link>https://snipplr.com/view/28756/wordpress-inject-thumbnails-in-rss-feeds</link>
      <description>&lt;p&gt;Placed in the functions.php file.&lt;/p&gt;</description>
      <pubDate>Mon, 22 Feb 2010 15:03:52 UTC</pubDate>
      <guid>https://snipplr.com/view/28756/wordpress-inject-thumbnails-in-rss-feeds</guid>
    </item>
    <item>
      <title>(JavaScript) ASP.net &amp; MS AJAX: Enabling WebKit support (chrome, safari) in MS AJAX (fixing webkit browser detection) - jink</title>
      <link>https://snipplr.com/view/22958/aspnet--ms-ajax-enabling-webkit-support-chrome-safari-in-ms-ajax-fixing-webkit-browser-detection</link>
      <description>&lt;p&gt;Load this Javascript after the MS AJAX files have been loaded.  In the example I am using jQuery to call the patchMicrosoftAjax() method, but you can use any method you desire.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Nov 2009 22:18:34 UTC</pubDate>
      <guid>https://snipplr.com/view/22958/aspnet--ms-ajax-enabling-webkit-support-chrome-safari-in-ms-ajax-fixing-webkit-browser-detection</guid>
    </item>
    <item>
      <title>(JavaScript) ASP.net: Page Validation on Client Side. - jink</title>
      <link>https://snipplr.com/view/18915/aspnet-page-validation-on-client-side</link>
      <description>&lt;p&gt;Page_ClientValidate is a global function.  When called this will return true/false if the validator group provided is valid or not.&lt;/p&gt;</description>
      <pubDate>Thu, 27 Aug 2009 15:04:18 UTC</pubDate>
      <guid>https://snipplr.com/view/18915/aspnet-page-validation-on-client-side</guid>
    </item>
    <item>
      <title>(JavaScript) JS/ASP.net: Bind to UpdatePanel's update event in Javascript - jink</title>
      <link>https://snipplr.com/view/15781/jsaspnet-bind-to-updatepanels-update-event-in-javascript</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:08:16 UTC</pubDate>
      <guid>https://snipplr.com/view/15781/jsaspnet-bind-to-updatepanels-update-event-in-javascript</guid>
    </item>
    <item>
      <title>(C#) ASP.net: Update SQL from a DropDownList dynamically created in a GridView. - jink</title>
      <link>https://snipplr.com/view/15440/aspnet-update-sql-from-a-dropdownlist-dynamically-created-in-a-gridview</link>
      <description>&lt;p&gt;Bind the DropDownList like normal (set DataSourceID, DataTextField, DataValueField), and &lt;%BIND%&gt; the SelectedValue field.  AutoPostBack should be enabled.  In the OnSelectedIndexChanged:&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jun 2009 20:39:26 UTC</pubDate>
      <guid>https://snipplr.com/view/15440/aspnet-update-sql-from-a-dropdownlist-dynamically-created-in-a-gridview</guid>
    </item>
    <item>
      <title>(C#) DotNetNuke: Pull URL for a given tab NAME. (DNN 5.1+) - jink</title>
      <link>https://snipplr.com/view/15437/dotnetnuke-pull-url-for-a-given-tab-name-dnn-51</link>
      <description>&lt;p&gt;Use this code to pull a DotNetNuke URL from a tab name.  We use this to replace "?tabname=blah" type URLs which do NOT transfer language info.&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jun 2009 17:13:15 UTC</pubDate>
      <guid>https://snipplr.com/view/15437/dotnetnuke-pull-url-for-a-given-tab-name-dnn-51</guid>
    </item>
    <item>
      <title>(C#) ASP.net: Add a Javascript tag to the HEAD of the page. - jink</title>
      <link>https://snipplr.com/view/15205/aspnet-add-a-javascript-tag-to-the-head-of-the-page</link>
      <description>&lt;p&gt;Call with the path of any javascript you want to load into the HEAD of the ASPX page.&lt;/p&gt;</description>
      <pubDate>Wed, 20 May 2009 18:02:32 UTC</pubDate>
      <guid>https://snipplr.com/view/15205/aspnet-add-a-javascript-tag-to-the-head-of-the-page</guid>
    </item>
    <item>
      <title>(C#) ASP.net: Retrieve PostBack sender (on Page_Load) - jink</title>
      <link>https://snipplr.com/view/15199/aspnet-retrieve-postback-sender-on-pageload</link>
      <description>&lt;p&gt;Returns the postback sender ID.  This is usually a button ID from a form that caused a post back.&lt;/p&gt;</description>
      <pubDate>Wed, 20 May 2009 13:31:09 UTC</pubDate>
      <guid>https://snipplr.com/view/15199/aspnet-retrieve-postback-sender-on-pageload</guid>
    </item>
    <item>
      <title>(ASP) ASP.Net: Working around Flash Cookie Bug AKA restoring the session | SWFUpload - jink</title>
      <link>https://snipplr.com/view/15180/aspnet-working-around-flash-cookie-bug-aka-restoring-the-session--swfupload</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 19 May 2009 17:42:39 UTC</pubDate>
      <guid>https://snipplr.com/view/15180/aspnet-working-around-flash-cookie-bug-aka-restoring-the-session--swfupload</guid>
    </item>
    <item>
      <title>(ASP) ASP.net: Session timeout prevention (keep alive). - jink</title>
      <link>https://snipplr.com/view/14837/aspnet-session-timeout-prevention-keep-alive</link>
      <description>&lt;p&gt;Call AddKeepAlive() in Page_Load of the page that needs it.  Change the path to the correct keep alive page.&#13;
&#13;
Page should disable caching, like in second code snippet.&lt;/p&gt;</description>
      <pubDate>Fri, 08 May 2009 10:09:37 UTC</pubDate>
      <guid>https://snipplr.com/view/14837/aspnet-session-timeout-prevention-keep-alive</guid>
    </item>
    <item>
      <title>(ASP) ASP.net: Retrieve connection string from web.config - jink</title>
      <link>https://snipplr.com/view/14712/aspnet-retrieve-connection-string-from-webconfig</link>
      <description>&lt;p&gt;Replace *SERVERNAME* with the name of the server name in the web.config&lt;/p&gt;</description>
      <pubDate>Mon, 04 May 2009 13:41:08 UTC</pubDate>
      <guid>https://snipplr.com/view/14712/aspnet-retrieve-connection-string-from-webconfig</guid>
    </item>
    <item>
      <title>(ASP) ASP.net: Prevent Caching of a Page - jink</title>
      <link>https://snipplr.com/view/14705/aspnet-prevent-caching-of-a-page</link>
      <description>&lt;p&gt;Code snippet prevents caching of the page by setting http header values and a LAST MODIFIED header to prevent google from caching too long.  This should go into the page load event.&lt;/p&gt;</description>
      <pubDate>Mon, 04 May 2009 10:28:12 UTC</pubDate>
      <guid>https://snipplr.com/view/14705/aspnet-prevent-caching-of-a-page</guid>
    </item>
    <item>
      <title>(ASP) ASP.net: Send a file to a user through Response - jink</title>
      <link>https://snipplr.com/view/14619/aspnet-send-a-file-to-a-user-through-response</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 30 Apr 2009 16:44:23 UTC</pubDate>
      <guid>https://snipplr.com/view/14619/aspnet-send-a-file-to-a-user-through-response</guid>
    </item>
  </channel>
</rss>
