Someone on Reddit asked for a picture
Metric ruler placed on the edge of the scale, for reference. Would probably be best to do a clean drawing of it in a vector format, but this seems fine for dimensions.
Homebrew build logs for subversion on macOS 12.0 | |
Build date: 2021-11-16 14:17:00 |
#!/usr/bin/env bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
function list-headers() { | |
local source="${1:--}" | |
cc -E -H "$source" 2>&1 1>/dev/null \ | |
| sed ' | |
# ignore recursive includes |
Someone on Reddit asked for a picture
Metric ruler placed on the edge of the scale, for reference. Would probably be best to do a clean drawing of it in a vector format, but this seems fine for dimensions.
#!/bin/bash | |
# | |
# Easier project setup for Pharo + Iceberg + Git. | |
# | |
# This script (re)downloads and prepares a ready-to-hack Pharo image, getting all | |
# necessary info from a small config file committed among the project's files. | |
# | |
set -euo pipefail | |
IFS=$'\n\t' | |
# ↑ bash strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/ |
#[derive(Debug)] | |
struct Foo { bar: *mut Bar } | |
#[derive(Debug)] | |
struct Bar { foo: *mut Foo } | |
#[cfg(test)] | |
mod tests { | |
use super::{Foo,Bar}; | |
use std::ptr; |
\ProvidesFile{lstsmalltalk.sty} | |
[2016/02/12 0.3 listings Smalltalk definitions file] | |
% | |
\RequirePackage{listings} | |
\RequirePackage{relsize} | |
\RequirePackage{calc} | |
\newcommand\language@smalltalk{smalltalk} | |
% all this needed to incept the above macro as the name of the language |
$ gem list psych | |
*** LOCAL GEMS *** | |
psych (2.0.8) | |
$ ruby -r yaml -e 'puts Psych.methods.include?(:load_file)' | |
true | |
$ pry -r yaml |
Surprisingly, it took very little time to reverse-engineer it using Sketchup. The joint is symmetric around the diagonal of the cube it is inscribed into, and slides along that diagonal as well.
The scripts are parameterized via environment variables (direnv), notably $CODELESS_TRANSLATION
(see the help text in translate-case.rb
).
translate-case.rb
: automates the initial copy of cases from Qi's original version to a translation directory, and helps opening cases from a given translation.
pre-commit.rb
: git hook to check for french spacing conventions (non-breaking spaces before double punctuation signs and inside quotes.
# run several times using: ledger --strict -f test.ledger balance | |
# most of the time it works fine | |
# but sometimes the account aliases fail (e.g. ledger produces a warning "Unknown account 'tools'") | |
# heisenbug, follow-up at http://bugs.ledger-cli.org/show_bug.cgi?id=1022 | |
commodity € | |
account expenses:tools | |
alias tools |