Skip to content

Instantly share code, notes, and snippets.

Wouter Soudan rhythmus

Block or report user

Report or block rhythmus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rhythmus
rhythmus / markdownForFileNames.md
Last active Oct 4, 2018
Proposal for a lightweight, database-less, general purpose, name-based file management app
View markdownForFileNames.md

Proposal for a lightweight, database-less, general purpose, name-based file management app

First draft, Easter Sunday 2014

In line with current trends toward lean and simple software solutions reviving and repurposing long-established standards (open plain text vs proprietary rich text formats; file-based static site generators vs bloated database-driven CMSs), the present proposal inquires into a method (and its application) to device a lightweight, general-purpose solution for small-scale digital asset management.

No database is to be used, there shall be no external dependencies, all information carriers should be self-containing, and everything would be file-based. The software would build on a (yet to be established) convention of file naming, which would store metadata for arbitrary files inside the file name, advancing its portability across platforms.

Put as a — somewhat far-fetched — YC-style one-liner pitch: this proposal is about *

@rhythmus
rhythmus / all-Unicode-BMP-chars-sorted-by-UCA.md
Created Apr 10, 2018
All Unicode characters, sorted alphabetically by Unicode Collation algorithm
View all-Unicode-BMP-chars-sorted-by-UCA.md

All Unicode characters, sorted alphabetically

Using Unicode Collation Algorithm (as implemented by ICU Project).

See discussion at forum.glyphsapp.com.

҈ ҉ ؀ ؁ ؂ ؃ ؄ ؅ ـ ۝ ܏ ߺ ࠤ ࠨ ः ং ঃ ਃ ઃ ଂ ଃ ఁ ం ః ಂ ಃ ം ഃ ං ඃ ༾ ༿ ཿ း ះ ៈ ᠊ ᪾ ⃝ ⃞ ⃟ ⃠ ⃢ ⃣ ⃤ 〮 〯 ꙰ ꙱ ꙲ ﱞ ﱟ ﱠ ﱡ ﱢ ﱣ ﳲ ﳳ ﳴ ﹰ ﹱ ﹲ ﹳ ﹴ ﹶ ﹷ ﹸ ﹹ ﹺ ﹻ ﹼ ﹽ ﹾ ﹿ ゙ ゚    ‾ ﹉ ﹊ ﹋ ﹌ _ ︳ ︴ ﹍ ﹎ ﹏ _ ‗ - ﹣ - ֊ ᠆ ᠇ ‐ ‑ ‒ – ︲ — ︱ ﹘ ― ⸺ ⸻ ⁓ ⸗ ⹀ 〜 〰 ゠ ・ ・ , ︐ ﹐ , ⸴ ⸲ ⹁ ՝ ، ؍ ٫ ٬ ߸ ᠂ ᠈ 、 ︑ ﹑ 、 ﹅ ﹆ ; ; ︔ ﹔ ; ؛ ⁏ ⸵ : ︓ ﹕ : ⩴ ։ ؞ ܃ ܄ ܅ ܆ ܇ ܈ ࠰ ࠱ ࠲ ࠳ ࠴ ࠵ ࠶ ࠷ ࠸ ࠹ ࠺ ࠻ ࠼ ࠽ ࠾ ፡ ፣ ፤ ፥ ፦ ᠄ ᠅ ༔ ៖ ! ︕ ﹗ ! ‼ ⁉ ¡ ՜ ߹ ? ︖ ﹖ ? ⁈ ⁇ ¿ ⸮ ՞ ؟ ܉ ፧ ⳺ ⳻ ‽ ⸘ . ․ ﹒ . ‥ ︰ … ︙ ᠁ ۔ ܁ ܂ ። ᠃ ᠉ ⳹ ⳾ ⸰ ⸼ 。 ︒ 。 · · ⸱ ⸳ । ॥ ᰻ ᰼ ꤯ ၊ ။ ។ ៕ ܀ ߷ ჻ ፠ ፨ ⁕ ⁖ ⁘ ⁙ ⁚ ⁛ ⁜ ⁝ ⁞ ⸪ ⸫ ⸬ ⸭ ⸽ ⳼ ⳿ ⸙ ' ' ‘ ’ ‚ ‛ ‹ › " “ ” „ ‟ ⹂ 〝 〞 〟 « » ( ⁽ ₍ ︵ ﹙ ( ⑴ ⑽ ⑾ ⑿ ⒀ ⒁ ⒂ ⒃ ⒄ ⒅ ⒆ ⑵ ⒇ ⑶ ⑷ ⑸ ⑹ ⑺ ⑻ ⑼ ⒜ ⒝ ⒞ ⒟ ⒠ ⒡ ⒢ ⒣ ⒤ ⒥ ⒦ ⒧ ⒨ ⒩ ⒪ ⒫ ⒬ ⒭ ⒮ ⒯ ⒰ ⒱ ⒲ ⒳ ⒴ ⒵ ㈀ ㈎ ㈁ ㈏ ㈂

@rhythmus
rhythmus / query-collections.md
Last active Nov 28, 2015 — forked from Sewdn/query-collections.md
Query Collections
View query-collections.md

Query Collections

How to reactively change a resultset when a query’s parameters change

TL;DR

A query defines a set of conditions on a collection of documents. Most of the time, only the documents that meet these conditions need to be published to the client. In many cases the query’s conditions are subject to the state of the application (for instance the selected sorting field). This pattern describes how to update your query’s result set reactively without losing the cursor’s state. This way, results are preserved over different adjustements of a query if they meet both set of conditions.

An example case

@rhythmus
rhythmus / SassDynamicVariables.scss
Created Jul 30, 2012
dynamic variables for Sass (squaring the circle :-)
View SassDynamicVariables.scss
@mixin makecircle($method) {
// ? $height: getvalue(height).this;
// ? $width: getvalue(width).this;
@if ($method == area) {
// using https://github.com/scottkellum/Sassy-math to do the math
$radius: sqrt(($height * $width)/pi());
@include border-radius($radius);
}
height: $radius*2;
width: $radius*2;
View samples.md

TeX Samples

The following equations are represented in the HTML source code as LaTeX expressions.

The Lorenz Equations \begin{aligned} \dot{x} & = \sigma(y-x) \ \dot{y} & = \rho x - y - xz \ \dot{z} & = -\beta z + xy \end{aligned}

@rhythmus
rhythmus / experiment.md
Last active Aug 29, 2015
Mathematical Notation
View experiment.md

Why should we write \sqrt{2}, while we could have √2? Instead of a monstrosity in (La)TeX syntax, like

f(x) = \int_{-\infty}^\infty
    \hat f(\xi)\,e^{2 \pi i \xi x}
    \,d\xi

wouldn’t it be lovely, if we could just type something along the lines of

f(x) = int{-inf inf} ^f(xi), e^{2 pi i xi x}, d xi
View TypeSpecimen.md

Type Specimen

Gaza frequens Libycos duxit Karthagos tripumphos. Zwei Boxkämpfer jagen Eva quer durch Sylt. Pchnąć w tę łódź jeża lub osiem skrzyń fig. Żywioł, jaźń, Świerk. Flygande bäckasiner söka strax hwila på mjuka tuvor. βρεγμένοι ξυλουργοί πίνουν ψηφιακό ζύθο χωρίς δισταγμό. В чащах юга жил был цитрус...—да, но фальшивый экземпляр!

By a Typographer, I do not mean a Printer, as he is Vulgarly accounted, any more than Dr Dee means a Carpenter or Mason to be an Architect: But by a Typopgrapher, I mean such a one, who by his own Judgment, from solid reasoning with himself, can either perform, or direct others to perform from the beginning to the end, all the Handy-works and Physical Operations relating to Typographie. -- Joseph Moxon

Typographia ars artium omnium conservatrix.

In principio erat Verbum, et Verbum erat apud Deum, et Deus erat Verbum. Sic erat in principio apud Deum. Omnia per ipsum facta sunt: et sine ipso factum est nihil, quod factum est: in ipso vita erat, et vita erat lux homin

@rhythmus
rhythmus / Ilias.md
Last active Aug 29, 2015
Homeri Ilias
View Ilias.md

Ὁμήρου Ἰλιὰς

1 — Ὁμήρου Ἰλιὰς Α

Μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος οὐλομένην, ἣ μυρί᾿ Ἀχαιοῖς ἄλγε᾿ ἔθηκε, πολλὰς δ᾿ ἰφθίμους ψυχὰς Ἄϊδι προΐαψεν ἡρώων, αὐτοὺς δὲ ἑλώρια τεῦχε κύνεσσιν οἰωνοῖσί τε πᾶσι· Διὸς δ᾿ ἐτελείετο βουλή, 1.5

@rhythmus
rhythmus / test
Created Aug 16, 2014
Test for plain text
View test
»... den 24. November 1663 wurde Otto von Rilke / auf
Langenau / Gränitz und Ziegra / zu Linda mit seines in
Ungarn gefallenen Bruders Christoph hinterlassenem Anteile
am Gute Linda beliehen; doch mußte er einen Revers
ausstellen / nach welchem die Lehensreichung null und
nichtig sein sollte / im Falle sein Bruder Christoph (der
nach beigebrachtem Totenschein als Cornet in der Kompagnie
des Freiherrn von Pirovano des kaiserl. österr. Heysterschen
Regiments zu Roß .... verstorben war) zurückkehrt ...«
@rhythmus
rhythmus / John1.md
Last active Aug 29, 2015
The Gospel of John (KJV)
View John1.md

In the beginning was the Word, and the Word was with God, and the Word was God. The same was in the beginning with God. All things were made by him; and without him was not any thing made that was made. In him was life; and the life was the light of men. And the light shineth in darkness; and the darkness comprehended it not. There was a man sent from God, whose name was John. The same came for a witness, to bear witness of the Light, that all men through him might believe. He was not that Light, but was sent to bear witness of that Light.

You can’t perform that action at this time.