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


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.

rhythmus /
Last active Aug 29, 2015
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 /
Last active Aug 29, 2015
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 / 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 /
Last active Aug 29, 2015
Homeri Ilias

Ὁμήρου Ἰλιὰς

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

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


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 /
Last active Aug 29, 2015
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}

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

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 / 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 to do the math
$radius: sqrt(($height * $width)/pi());
@include border-radius($radius);
height: $radius*2;
width: $radius*2;
rhythmus /
Last active Nov 28, 2015 — forked from Sewdn/
Query Collections

Query Collections

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


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

You can’t perform that action at this time.