- (let ((stream (hunchentoot:send-headers)))
+ (flex:with-output-to-sequence (stream)
and a short benchmark (wrk --latency -c2 -t2 -d 5
)
gives these results. First HT:S-H
:
...
nnoremap <F2> :<C-U>let g:my_slimv_eval_form=vlime#ui#CurTopExpr() \| call vlime#plugin#SendToREPL(g:my_slimv_eval_form)<CR> | |
nnoremap <F3> :<C-U>call vlime#plugin#SendToREPL(vlime#ui#CurTopExpr()) \| call vlime#plugin#SendToREPL(g:my_slimv_eval_form)<CR> |
- (let ((stream (hunchentoot:send-headers)))
+ (flex:with-output-to-sequence (stream)
and a short benchmark (wrk --latency -c2 -t2 -d 5
)
gives these results. First HT:S-H
:
...
#!/bin/bash | |
P="${1:-.}" | |
prev=0 | |
while sleep 30 ; do | |
C=$(btrfs sub list -d "$P" | wc -l) | |
if [[ "$C" != "$prev" ]] | |
then | |
prev="$C" |
$ mkdir config config-example | |
$ touch config/d config-example/d | |
$ touch config/p config-example/p | |
$ ls config*/d | |
config/d config-example/d | |
$ ls config*/p | |
config-example/p config/p | |
$ # Why is the sort order different?? | |
$ locale | |
LANG=de_AT.UTF-8 |
#!/bin/bash | |
#| | |
exec /usr/bin/sbcl --dynamic-space-size 2000 --script "$0" | |
|# | |
(print "hello world") |
(defpackage :perl-symbols) | |
(defun my-qw-reader (stream char) | |
(declare (ignore char)) | |
(let ((*readtable* (copy-readtable nil)) | |
(*package* (find-package :perl-symbols))) | |
(setf (readtable-case *readtable*) | |
:preserve) | |
(set-macro-character #\: nil nil *readtable*) |
#+cl-ppcre | |
(defun :form-count-for-asdf (system &key file-regex per-file) | |
(let ((files 0) | |
(per-file-alist ()) | |
(top-forms 0) | |
(forms 0) | |
;(more-data nil) | |
(system (or (asdf:find-system system) | |
(error "~s not found" system)))) | |
(labels ((rec (f) |
(in-package :cl-user) | |
(ql:quickload '(:hunchentoot :drakma)) | |
(hunchentoot:define-easy-handler (root :uri "/") | |
() | |
(let ((cert (hunchentoot:get-peer-ssl-certificate))) | |
(format nil "It works: ~a" | |
(unless (cffi:null-pointer-p cert) |
# | |
# DRBD configuration used for the RDMA performance Tech Guide | |
# See http://blogs.linbit.com/p/1013/rdma-performance/ | |
# | |
resource r0 { | |
disk /dev/mapper/zero-block-1; | |
meta-disk internal; | |
device minor 0; | |
disk { |