This file contains hidden or 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
<%* | |
/* | |
# Hypothes.idian a templater script for retrieving annotations from Hypothes.is | |
Dev: TfTHacker https://twitter.com/TfTHacker | |
# Prerequisites: | |
+ Templater plugin by https://github.com/SilentVoid13/Templater | |
+ Free Hypothes.is developer token from: https://hypothes.is/account/developer | |
+ This script will prompt you for his token and save it to a file called "hypothesis config.md" | |
+ This file store your configuration and can be located any where in your vault. |
- Weekly Agenda (created on a different day, and embedded with
/Block Reference
) - [[Morning Questions]]
- {{[[slider]]}} How many hours of sleep did I get?
- What's one thing top of mind today?
- What's the one thing I need to get done today to make progress?
- Review #[[Index: Questions]] #values
- Agenda
- {{[[TODO]]}} Morning walk #goal-health #habit
- {{[[TODO]]}} Check calendar for scheduled events
- {{[[TODO]]}} Morning focus hour
This file contains hidden or 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
<?php | |
/** | |
* Plugin Name: Register Post Kind - Name | |
* Plugin URI: https://example.com | |
* Description: Register Post Kind | |
* Version: None | |
* Author: | |
* Author URI: | |
* Text Domain: | |
* Domain Path: |
This bookmarklet will grab 2 or 3 bits of info from the currently viewed webpage and put them into an 'alert' so you can copy & paste into another document.
It should work in any desktop browser (chrome, firefox, ect.) on any OS but I've only personally tested it in Chrome on Windows.
You can press either enter or escape after copying the text. It doesn't make any difference which one you use.
For example, the above URL points to the bookmarklet entry on Wikipedia. If you used the reference bookmarklet on that page it would return the following:
This file contains hidden or 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
<?php | |
/* | |
Listen Template | |
* | |
*/ | |
$mf2_post = new MF2_Post( get_the_ID() ); | |
$cite = $mf2_post->fetch(); | |
if ( ! $cite ) { | |
return; |
This file contains hidden or 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
<?php | |
ini_set('display_errors', 1); | |
error_reporting(E_ALL); | |
$auth = filter_input( | |
INPUT_POST, | |
'auth', | |
FILTER_VALIDATE_REGEXP, | |
array('options' => array('regexp' => '@^authtest_\d+$@')) |
This file contains hidden or 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
<?php | |
if ( !function_exists('indieweb_check_webmention') ) { | |
/** | |
* Using the webmention_source_url, approve webmentions that have been received from previously- | |
* approved domains. For example, once you approve a webmention from http://example.com/post, | |
* future webmentions from http://example.com will be automatically approved. | |
* Recommend placing in your theme's functions.php | |
* |
- https://wordpress.org/plugins/tags/mastodon/
- https://wordpress.org/plugins/autopost-to-mastodon/
- https://github.com/yks118/Mastodon-api-php
- https://github.com/DavidLibeau/mastodon-tools and http://mastodon.tools/
- https://wordpress.org/plugins/wp-mastodon-share/ and https://plugins.trac.wordpress.org/browser/wp-mastodon-share/trunk
- https://wordpress.org/plugins/ostatus-for-wordpress/ covers gnu social and mastodon
This file contains hidden or 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
twitter.com##.module.trends | |
twitter.com##.wtf-module | |
twitter.com##[data-component-context="suggest_activity_tweet"] | |
twitter.com##.nav>.moments | |
twitter.com##.LiveVideoHomePageModuleContainer |
NewerOlder