Skip to content

Instantly share code, notes, and snippets.

@taneltm
taneltm / README.md
Last active April 12, 2024 08:47
Obsidian timeline CSS snippet

Obsidian timeline

This is a CSS snippet for Obsidian.md to create a timeline in your daily notes.

To include the timeline in your daily note, add the following to your daily note template:

<div data-timeline="{{date:DDD}}"></div>

Preview can be found here: https://codepen.io/taneltm/pen/eYyeyBe

@JoshuaGrams
JoshuaGrams / reveal.tw
Last active April 2, 2024 08:26
Line-by-line text reveal: Twine/SugarCube.
:: Some Passage
This will show at the start.
@@.hide;This will show after you click or press space/enter.@@
@@.hide;.nocontinue;This will show after you advance again, but will <em>not</em> have the continue marker.@@
<span class="hide">HTML tags work fine too, but the other notation is shorter.</span>
@penelopede
penelopede / support.md
Last active May 1, 2022 10:47
Support Resources for /r/SeriousConversation/w/resources

A reference of support resources. See the index to jump to a relevant section ⇢  

^(Need help now?) ^( call) ^1-800-273-TALK ^(8255) ^or ^text ^START ^to ^741-741 ^for ^the ^(Crisis Text Line.) ^(International lines can be found) ^(here) ^and ^(here.)


General Support

7 Cups of Tea www.7cups.com

@darekkay
darekkay / trakt-backup.php
Last active June 18, 2024 14:28
Trakt.tv backup script
<?php
/*
Backup script for trakt.tv (API v2).
Live demo: https://darekkay.com/blog/trakt-tv-backup/
*/
// create a Trakt app to get a client API key: http://docs.trakt.apiary.io/#introduction/create-an-app
$apikey = "CLIENT_API_KEY";