<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: setting code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 27 Jul 2008 08:28:10 GMT</pubDate>
    <description>DZone Snippets: setting code</description>
    <item>
      <title>nginx gzip config</title>
      <link>http://snippets.dzone.com/posts/show/5385</link>
      <description>&lt;code&gt;&lt;br /&gt;  # output compression saves bandwidth &lt;br /&gt;  gzip              on;&lt;br /&gt;  gzip_proxied      any;&lt;br /&gt;  gzip_http_version 1.1;&lt;br /&gt;  #gzip_min_length   1100;&lt;br /&gt;  gzip_comp_level   5;&lt;br /&gt;  #gzip_buffers      4 8k;&lt;br /&gt;  gzip_types        text/plain text/html text/xml text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/atom+xml;&lt;br /&gt;  #gzip_vary        on;&lt;br /&gt;  #gzip_disable     "MSIE [1-6]\.";&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 18 Apr 2008 14:09:29 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5385</guid>
      <author>indiehead (John)</author>
    </item>
    <item>
      <title>rails sendmail settings</title>
      <link>http://snippets.dzone.com/posts/show/5378</link>
      <description>&lt;code&gt;&lt;br /&gt;config.action_mailer.raise_delivery_errors = true&lt;br /&gt;ActionMailer::Base.delivery_method = :sendmail&lt;br /&gt;ActionMailer::Base.sendmail_settings = {&lt;br /&gt;    :location       =&gt; '/usr/sbin/sendmail',&lt;br /&gt;    :arguments      =&gt; '-i -t'&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 17 Apr 2008 13:23:44 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5378</guid>
      <author>indiehead (John)</author>
    </item>
    <item>
      <title>Read setting from web.config</title>
      <link>http://snippets.dzone.com/posts/show/1334</link>
      <description>Set the settings in web.config&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;appSettings&gt;&lt;br /&gt;&lt;add key="ResourcesPath" value="/Resources"/&gt;&lt;br /&gt;&lt;/appSettings&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;How to read the settings in c#&lt;br /&gt;&lt;code&gt;&lt;br /&gt;string s = System.Configuration.ConfigurationManager.AppSettings["ResourcesPath"]&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 01 Feb 2006 17:43:38 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1334</guid>
      <author>casperskovgaard (Casper Skovgaard)</author>
    </item>
  </channel>
</rss>
