Skip to content

Instantly share code, notes, and snippets.

@tripu
tripu / gist:6488537
Last active December 22, 2015 14:49
Spain vs. Japan in relevant, objective, measurable terms
@tripu
tripu / All public holidays in 2014 for Madrid city (Spain), in RTM format
Created November 15, 2013 18:54
All public holidays in 2014 for Madrid city (Spain), in RTM format
Public holiday (Spain) !1 #holiday #Spain ^1 Jan 2014
Public holiday (Spain) !1 #holiday #Spain #weekend ^6 Jan 2014
Public holiday (Spain) !1 #holiday #Spain ^17 Apr 2014
Public holiday (Spain) !1 #holiday #Spain #weekend ^18 Apr 2014
Public holiday (Spain) !1 #holiday #Spain #weekend ^1 May 2014
Public holiday (Madrid region) !1 #holiday #Madridregion #weekend ^2 May 2014
Public holiday (Madrid city) !1 #holiday #Madridcity ^15 May 2014
Public holiday (Spain) !1 #holiday #Spain ^19 Jun 2014
Public holiday (Spain) !1 #holiday #Spain #weekend ^15 Aug 2014
Public holiday (Spain) !1 #holiday #Spain #weekend ^1 Nov 2014
@tripu
tripu / Useful-glyphs.md
Last active October 29, 2018 07:37
Useful glyphs
@tripu
tripu / japan-todo.md
Last active November 26, 2019 08:09
My Japanese to-do list
Public holiday (Japan): “gantan” (new year's day) !1 #holiday #Japan ^1 Jan 2014
Public holiday (Japan): “seijin no hi” (“coming of age” day) !1 #holiday #Japan #weekend ^13 Jan 2014
Festivity (Japan): “setsubun” (beginning of Spring) #festivity #Japan ^3 Feb 2014
Public holiday (Japan): “kenkoku kinen no hi” (national foundation day) !1 #holiday #Japan ^11 Feb 2014
Festivity (Japan): “hina matsuri” (girls' or dolls' festival) #festivity #Japan ^3 Mar 2014
Public holiday (Japan): “shunbun no hi” (Spring equinox) !1 #holiday #Japan ^20 Mar 2014
Public holiday (Japan): “Showa no hi” (Showa day) !1 #holiday #Japan ^29 Apr 2014
Public holiday (Japan): “kenpo kinenbi” (constitution day; part of Golden Week) !1 #holiday #Japan #weekend ^3 May 2014
Public holiday (Japan): “midori no hi” (greenery day; part of Golden Week) !1 #holiday #Japan #weekend ^4 May 2014
Public holiday (Japan): “kodomo no hi” (childrens' day; part of Golden Week) !1 #holiday #Japan #weekend ^5 May 2014
Public holiday (Japan): “gantan” (new year's day) !1 #holiday #Japan ^1 Jan 2015
Public holiday (Japan): “seijin no hi” (“coming of age” day) !1 #holiday #Japan #weekend ^12 Jan 2015
Festivity (Japan): “setsubun” (beginning of Spring) #festivity #Japan ^3 Feb 2015
Public holiday (Japan): “kenkoku kinen no hi” (national foundation day) !1 #holiday #Japan ^11 Feb 2015
Festivity (Japan): “hina matsuri” (girls' or dolls' festival) #festivity #Japan ^3 Mar 2015
Public holiday (Japan): “shunbun no hi” (Spring equinox) !1 #holiday #Japan #weekend ^21 Mar 2015
Public holiday (Japan): “Showa no hi” (Showa day) !1 #holiday #Japan ^29 Apr 2015
Public holiday (Japan): “kenpo kinenbi” (constitution day; part of Golden Week) !1 #holiday #Japan #weekend ^3 May 2015
Public holiday (Japan): “midori no hi” (greenery day; part of Golden Week) !1 #holiday #Japan #weekend ^4 May 2015
Public holiday (Japan): “kodomo no hi” (childrens' day; part of Golden Week) !1 #holiday #Japan #weekend ^5 May 2015
@tripu
tripu / OPML.js
Last active August 29, 2015 14:02
Extract main categories from OPML document
var nodes = document.getElementsByTagName('outline');
var names = [];
for (var i in nodes) {
if (nodes[i].childElementCount > 0) {
names.push(nodes[i].attributes[0].nodeValue.toLowerCase());
}
}
names.sort();
@tripu
tripu / All public holidays in 2015 for Madrid city (Spain), in RTM format
Last active August 29, 2015 14:15
All public holidays in 2015 for Madrid city (Spain), in RTM format
Public holiday (Spain) !1 #holiday #Spain ^1 Jan 2015
Public holiday (Spain) !1 #holiday #Spain ^6 Jan 2015
Public holiday (Spain) !1 #holiday #Spain ^19 Mar 2015
Public holiday (Spain) !1 #holiday #Spain #weekend ^2 Apr 2015
Public holiday (Spain) !1 #holiday #Spain #weekend ^3 Apr 2015
Public holiday (Spain) !1 #holiday #Spain #weekend ^1 May 2015
Public holiday (Madrid region) !1 #holiday #Madridregion #weekend ^2 May 2015
Public holiday (Madrid city) !1 #holiday #Madridcity #weekend ^15 May 2015
Public holiday (Spain) !1 #holiday #Spain ^4 Jun 2015
Public holiday (Spain) !1 #holiday #Spain #weekend ^15 Aug 2015