-
Open Termux, then run these commands
pkg install x11-repo
pkg install nodejs firefox
Open Termux, then run these commands
pkg install x11-repo
pkg install nodejs firefox
# This script requires to have some basic Python skills | |
# - Install python dependencies (thanks to TitwitMuffbiscuit on reddit) : | |
# pip install nltk beautifulsoup4 googlesearch-python trafilatura wolframalpha | |
# | |
# If you get this error "Resource punkt not found", it's because Punkt sentence tokenizer for Natural Language Toolkit is missing. | |
# Edit the file and add this before | |
# from nltk.tokenize import word_tokenize , | |
# it will download the necessary english.pickle: | |
# import nltk | |
# nltk.download('punkt') |
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
:: 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> | |
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.)
7 Cups of Tea www.7cups.com
<?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"; |