Skip to content

Instantly share code, notes, and snippets.

jsn / a.txt
Created Oct 26, 2020
(an excerpt from Dogen's Shobogenzo)
View a.txt
Question 10: Some have said: “Do not concern yourself about birth-and-death.
There is a way to promptly rid yourself of birth-and-death. It is by grasping
the reason for the eternal immutability of the ‘mind-nature.’ The gist of it is
this: although once the body is born it proceeds inevitably to death, the
mind-nature never perishes. Once you can realize that the mind-nature, which
does not transmigrate in birth-and-death, exists in your own body, you make it
your fundamental nature. Hence the body, being only a temporary form, dies here
and is reborn there without end, yet the mind is immutable, unchanging
throughout past, present, and future. To know this is to be free from
birth-and-death. By realizing this truth, you put a final end to the
View prometheus-nginxlog-exporter-bin.diff
diff --git a/PKGBUILD b/PKGBUILD
index bc1a54d..875ab64 100644
@@ -2,12 +2,13 @@
View a.html
<!doctype html>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style type="text/css" media="screen">
#outer > div {
position: relative ;
float: left ;
border: 1px solid black ;
View gist:fff04d868005d8fe880dd1cd12d164e2
set $to_yandex 0;
if ($cookie_bltsr) {
set $to_yandex 1;
if ($http_x_aab_http_check) {
set $to_yandex 1;
View surfingkeys.js
unmap('i') ;
map('iu', 'g0') ;
map('io', 'g$') ;
map('ij', '<Ctrl-6>') ;
map('d', 'x') ;
map('u', 'X') ;
map('ih', 'S') ;
map('il', 'D') ;
map('gn', "<Ctrl-'>");
settings.scrollStepSize = 250 ;
View trampoline.clj
;; in the code below, 'f' function is exactly the same as 'g' function,
;; and every line starting with '(time ...)' measures exactly the same
;; calculation. Which is for some reason fast for 'f', for as long as
;; 'g' is not defined, and after that it soon becomes slow both for 'f'
;; and for 'g'. The effect is quite reproducible.
user=> (set! *warn-on-reflection* true)
user=> (def xs (int-array 1 0))
jsn / global-deps.edn
Last active Dec 26, 2019
my clojure repl setup
View global-deps.edn
:aliases {
:deps {:extra-deps
{org.clojure/tools.deps.alpha {:mvn/version "0.6.474"}}}
:dev {:extra-paths ["/home/jason/.clojure/my-dev"]
{com.bhauman/rebel-readline {:mvn/version "0.1.4"}
nrepl/nrepl {:mvn/version "0.6.0"}
cider/cider-nrepl {:mvn/version "0.21.1"}}
:main-opts ["-m" "myrepl"]}

Simpler-than-Pilaf Baked Rice

  • MAKES: 4 servings
  • TIME: 30 minutes

This basic, valuable technique is a combination of pilaf and paella but simpler than either, especially if you omit the spices and go with just salt and pepper. See "15 Ingredients to Stir Into Rice Pilaf or Simpler-than-Pilaf Baked Rice" (page 461) for ideas too.


Tomato and Cheese Frittata

MAKES: 4 servings

TIME: 30 minutes

All sorts of vegetables can be used here. See the variations and the list that follows.

  1. 2 tablespoons extra virgin olive oil
  2. 1/2 onion, sliced
View gist:2c33727b1e204038c807b1ec2c7cdb62
jason@jsn cr $ head -n1000
==> <==
def q
puts "in q"
Q = q()
class Z