Skip to content

Instantly share code, notes, and snippets.

View msteenhagen's full-sized avatar

Maarten Steenhagen msteenhagen

View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
After 6/4,https://www.idfa.nl/en/film/87f324fd-1e7c-4446-96ac-2ada94091cb7/after-6-4?filters[tvPrice]=Free&collectionType=idfa
Aftermath: the Remnants of War,https://www.idfa.nl/en/film/a5e99788-3bf0-40d5-a5f1-51b48f7f0161/aftermath-the-remnants-of-war?filters[tvPrice]=Free&collectionType=idfa
Agnes & Nancy,https://www.idfa.nl/en/film/d3c44439-56db-4fd4-a717-45414dc0fa8e/agnes-nancy?filters[tvPrice]=Free&collectionType=idfa
Ahmad's Hair,https://www.idfa.nl/en/film/4108da06-ad71-47a5-8baa-cd7c517cf391/ahmads-hair?filters[tvPrice]=Free&collectionType=idfa
All Cats Are Grey in the Dark,https://www.idfa.nl/en/film/c330a007-84ce-41d4-8302-2d1684f43abc/all-cats-are-grey-in-the-dark?filters[tvPrice]=Free&collectionType=idfa
All of Me,https://www.idfa.nl/en/film/63be9d35-7f21-4b9c-b785-d0accc5bcf9d/all-of-me?filters[tvPrice]=Free&collectionType=idfa
"Alma, a Tale of Violence",https://www.idfa.nl/en/film/d35f2c4f-be9c-4fb8-a8f6-b7ff6b3ee0d6/alma-a-tale-of-violence?filters[tvPrice]=Free&collectionType=idfa
"Am I Dreami
@msteenhagen
msteenhagen / wsj.md
Created August 9, 2020 21:33
WSJ artikel

Latest Research Points to Children Carrying, Transmitting Coronavirus; Researchers say new studies and anecdotal reports suggest kids are more vulnerable to the virus than initially suspected Children might be more vulnerable to Covid-19 [https://www-wsj-com.ezproxy.its.uu.se/news/collection/coronavirus0312-256f2943] than once believed, with new research suggesting that they are able to contract and spread the virus, especially if they don't take precautions such as wearing a mask.

Several studies and reports published in recent weeks found coronavirus infections among children of all ages at places ranging from schools to camps to homes. Other research suggested that kids, especially older ones, can be a driving force behind transmission. And some researchers found children carry high levels of Covid-19's genetic material in their upper respiratory tract, which doesn't mean they are transmitting the virus but that they potentially could.

Most of the studies have limitations, and more research is needed, ex

Egyptian philosophy: influence on ancient Greek thought
By Lefkowitz, Mary R.
DOI: 10.4324/9780415249126-Z015-1
Article Summary
Before the decipherment of hieroglyphics (a process only completed in the 1830s), it was widely believed that many famous Greek philosophers had studied in Egypt and that Greek philosophy was ultimately derived from a lost ’Egyptian mystery system’. This belief was derived in part from ancient sources, which described how certain Greek philosophers had studied with Egyptian priests. The notion that these individual sessions were part of an extensive formal programme of education derives from an historical novel, Séthos (1731), by the Abbé Jean Terrasson. This book, which pretended to be based on lost original sources, offered a detailed portrait of a complex Egyptian university system. It was translated into several European languages and widely popularized in the rituals and mythology of Freemasonry.
@msteenhagen
msteenhagen / pastevents.md
Last active October 25, 2015 12:24
A liquid post loop with n past events

The problem

Normally, it's easy to use th limit: tag in Liquid to restrict the outputs of a post loop. The following code, for example, will simply list the 5 events with the most recent date.

{% for event in site.categories.events limit:5 %}
  <h2>{{ event.title }}</h2>
{% endfor %}

But things get tricky if we want to show the first five events in the past. To show past events, we compare the current time with the time of the event, and tell our loop only to output those events where (EventDate < CurrentDate). That's not too difficult, and can be done by translating the dates as the number of seconds that have passed since computers started wearing watches. Here's an example:

@msteenhagen
msteenhagen / oxford-colleges.csv
Last active November 6, 2024 13:25
List of Oxford colleges
Name Foundation Sister college at Cambridge Type Religion
All Souls College 1438 Trinity Hall College n/a
Balliol College 1263 St John's College College n/a
Brasenose College 1509 Gonville and Caius College College n/a
Christ Church 1546 Trinity College College n/a
Corpus Christi College 1517 Corpus Christi College College n/a
Exeter College 1314 Emmanuel College College n/a
Green Templeton College 2008 St Edmund's College College n/a
Harris Manchester College 1786 (1996) Homerton College College n/a
Hertford College 1282(1740) None College n/a
- author: "Name, Initial"
title: "Title"
type: book/article/chapter/novel/other
citekey: ""
date: ""
start: ""
finish: ""
notes: ""
<!-- Hi, I've got this great idea for a story, but I can't get beyond this awesome opening line. --!>
# Opening scene
Once upon a time