Skip to content

Instantly share code, notes, and snippets.

View rhythmus's full-sized avatar

Wouter Soudan rhythmus

View GitHub Profile
@rhythmus
rhythmus / all-Unicode-BMP-chars-sorted-by-UCA.md
Created April 10, 2018 21:55
All Unicode characters, sorted alphabetically by Unicode Collation algorithm

All Unicode characters, sorted alphabetically

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

See discussion at forum.glyphsapp.com.

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

TL;DR

Meteor is great at sharing code between different builds for different platforms. You can use the same source for your browser builds, server builds, your builds for iOS, Android, ... But how to organize your project to orchestrate your builds for different use cases? This post elaborates on the reasons why you need these different builds and how you could accomplish this with Meteor easily.

Use cases: Why would you build different apps?

1. Different apps for different roles

Say you have an app with completely different end user experiences depending on their role. It is common practice to have the user logged in, check her authorization (role) and then setup different routes or load different templates to serve that type of user’s needs. While doing so, all types of users load the same build and the app decides what portions of the build to use and what not to use.

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 August 29, 2015 14:06
Mathematical Notation

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
@rhythmus
rhythmus / TypeSpecimen.md
Last active August 29, 2015 14:05
Type Specimen

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 August 29, 2015 14:05
Homeri Ilias

Ὁμήρου Ἰλιὰς

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

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

@rhythmus
rhythmus / test
Created August 16, 2014 09:38
Test for plain text
»... 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 August 29, 2015 14:05
The Gospel of John (KJV)

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.

@rhythmus
rhythmus / test.md
Last active August 29, 2015 14:05
Test Flowchart

UML diagrams

You can also render sequence diagrams like this:

Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
@rhythmus
rhythmus / query-collections.md
Last active November 28, 2015 04:35 — forked from Sewdn/query-collections.md
Query Collections

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