This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getSelectionText() { | |
var text = ""; | |
if (window.getSelection) { | |
text = window.getSelection().toString(); | |
} else if (document.selection && document.selection.type != "Control") { | |
text = document.selection.createRange().text; | |
} | |
return text; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: none | |
--- | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:http://www.example.com/ | |
METHOD:PUBLISH | |
{% for post in site.posts limit:10 %}BEGIN:VEVENT | |
UID:{{ post.date | date: "%Y%m%d" }}@example.com | |
ORGANIZER;CN="Organizer Name":MAILTO:organizer@example.org |