Skip to content

Instantly share code, notes, and snippets.

View Zykov86's full-sized avatar

Sergey Zykov Zykov86

View GitHub Profile
@raineorshine
raineorshine / memrise-export.js
Last active December 1, 2021 17:02
Export Memrise course words to CSV. There is also a Chrome Extension: https://chrome.google.com/webstore/detail/memrise-export/hcllgkpmoiolndnhmbdceffaidjmkoam
/*
UPDATE: This is now a Chrome Extension: https://chrome.google.com/webstore/detail/memrise-export/hcllgkpmoiolndnhmbdceffaidjmkoam
Source Code: https://github.com/raineorshine/memrise-export
Export Memrise course words to CSV (technically TSV, or "tab separated file", but it is effectively the same).
1. Log into Memrise.
2. Navigate to the course page you would like to export (e.g. https://app.memrise.com/course/2156672/german-random-01/).
3. Open the browser's Developer Console (https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console)
@backpackerhh
backpackerhh / core-set.xml
Created May 23, 2014 19:03
XML World-Countries XPath and XQuery Exercises
<!-- 1. Return the area of Mongolia. -->
<!-- Reminder: To return the value of an attribute attr, you must use data(@attr), although just @attr may be used in comparisons. You will need to remember this for some later questions as well. -->
//country[@name = "Mongolia"]/data(@area)
<!-- 2. Return the names of all cities that have the same name as the country in which they are located. -->
//city[name = parent::country/data(@name)]/name