View 跋夜孔雀.md

曾经流行于亚非诸多民族的收继婚、犹太教传统的Yibbum在现代背景下如何演绎,这个主题拍一部文艺片完全没问题。 但是实际上并没有拍好,依靠旁白和伪旁白(很多人物间的对话完全是在交代情况,本质上是旁白)生硬地搭了一个架子, 然后更生硬地填充了很多所谓的传统文化元素,再剪得碎一点,打乱一下顺序。 这文艺片拍得比很多类型片还流水线。

也许本片的意义就是示范了批量炮制所谓文艺片的套路: 先从世界各地的传统文化中找一个现代背景下的禁忌话题, 然后找两三个给人感觉比较文艺的城市取些景, 用真伪旁白搭好框架, 再填充上一些传统或者玄学元素,

View download_index.rb
#!/usr/bin/env ruby
# Given an index page listing files,
# download all files listed.
#
# License: 0BSD
require 'nokogiri'
require 'open-uri'
View vim-completion.md

VIM Completion Configuration

Built-in

Vim has built-in support for completions in insert or replace modes. See :help ins-completion.

By default, Vim uses separate Emacs style key bindings (<C-x C-key>) for different kinds of completions.

View benchmark.txt
Seagate BUP BK
NTFS
Sample Size: 10.0 MiB (10,485,760 bytes)
Average Read Rate: 93.2 MB/s (100 samples)
Average Write Rate: 39.2 MB/s (100 samples)
Average Acess Time: 17.30 msec (1000 samples)
EXT4
View ruby-racket.md

Ruby and Racket

[Why Racket? Why Lisp?][why-racket] listed 10 features of Racket, and concluded that:

with Racket I’ve been able to ren­der big­ger ideas into pro­grams more quickly, and with fewer bugs, than any lan­guage I’ve used be­fore (and there have been many— Ba­sic, C, C++, Perl, Java, JavaScript, Python, and oth­ers).

View LICENSE
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted.
This software is provided "as is" without express or implied warranty.
View Exercise-125_sum.rkt
#lang racket
(require lang/htdp-beginner)
; Htdp 2e. Exercise 125
;
; A List-of-amounts is one of:
; – empty
; – (cons PositiveNumber List-of-amounts)
; interp. a List-of-amounts represents some amounts of money
View gpgxz.sh
#!/bin/sh
# Encrypt a directory with gnupg and xz.
#
# Usage:
#
# gpgxz dir
#
# This will tar the directory, compress it with xz,
# and sign and encrypt it with the current user's gnupg key.
View Notes-on-The-autobiography-of-Benjamin-Franklin
> I believe I have omitted mentioning that, in my first voyage from
> Boston, being becalm'd off Block Island, our people set about catching
> cod, and hauled up a great many. Hitherto I had stuck to my resolution
> of not eating animal food, and on this occasion consider'd, with my
> master Tryon, the taking every fish as a kind of unprovoked murder,
> since none of them had, or ever could do us any injury that might
> justify the slaughter. All this seemed very reasonable. But I had
> formerly been a great lover of fish, and, when this came hot out of the
> frying-pan, it smelt admirably well. I balanc'd some time between
> principle and inclination, till I recollected that, when the fish were
View chindogu_test.rb
# An attempt to port [gambiarra/klud.js][t] to Ruby.
#
# [t]: http://zserge.com/blog/minimal-testing.html
currentTest = nil
expected = []
actual = []
define_method(:tesuto, ->(e, test_function, msg) do
currentTest = {}
if e == 'begin'