Meditations on a Class Method

<p>I keep a file of code I like. When looking for inspiration, I read through the
file. It’s short; I often re-write the samples to be nothing but the minimally
inspiring thought.</p>

<p>Here is the first snippet:</p>

<pre><code>def self.run(user)
new(user).run
end
</code></pre>

Read more at the source

An Explained psqlrc

<p>Let’s walk through my short psqlrc(5) to see what I’ve set, and to inspire you
to find your own configuration that fits into your workflow. Here is my
complete psqlrc:</p>

<pre><code>\set ON_ERROR_ROLLBACK interactive
\set COMP_KEYWORD_CASE upper
\set HISTFILE …</code></pre>

Read more at the source
close