Skip to content

Instantly share code, notes, and snippets.

Readwise Settings

File name

{{title|replace('.','')|replace('&','and')|replace(',','')|replace('•','')|replace('.','')|replace('"','')|replace('','')|replace(':','–')|replace('/','')|replace('*','')|replace('=','equals')|replace('|','')|replace('[','')|replace(']','')|replace('#','')|replace('%','')|replace('----','')|replace('---','')|replace('--','–')|replace('@', '')}}

Page title

# {{full_title if category!="tweets" else author|replace("on Twitter", "")|replace("@", "")}}
@douglasdrumond
douglasdrumond / README.md
Created March 2, 2022 01:58 — forked from dexter-stpierre/README.md
Readwise-Obsidian Workflow

Motivation

I decided to create this workflow based on my belief that if information is synced into my Obsidian vault then that data should be completely owned by the tool that synced it. It should never be edited within my vault, and it should be able to be deleted and resynced (hard resync) from that tool with little to no impact to my vault. If you don't agree with this mindset then no worries! This workflow can still help you keep track of which articles you have processed and which ones have new highlights to process. Even if you think this workflow isn't for you, you might learn something in this that might help you solve some problems in your own vault.

Since I only edit highlights and notes from Readwise in Readwise I had to have a way of knowing which highlights I have reviewed/processed and which highlights I still need to do that for. Since I wanted to be abnle to do a hard resync that had to live completely outside of the information that Readwise tracks in my vault. So I created a system in wh

@doitian
doitian / ob-bookmarks.py
Last active February 9, 2022 19:59
A script to export Vivaldi bookmarks into markdown files.
#!/usr/bin/env python3
from pathlib import Path
import tempfile
import json
import textwrap
import hashlib
import os
import shutil
import filecmp
@celechii
celechii / PronounSystem.cs
Last active January 18, 2024 06:22
Pronoun System to be used for keeping track of character's pronouns and determining when and how to use them :)
/*
MIT License
Copyright (c) 2021 Noé Charron
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
// ==UserScript==
// @name FV - Quests (no jumping)
// @author msjanny (#7302)
// @match https://www.furvilla.com/quest*
// ==/UserScript==
(function() {
'use strict';
/* globals $:false */
@sgtrusty
sgtrusty / chrome-extensions.md
Last active September 27, 2021 17:44
Chrome Extensions
  • Ecosia - The search engine that plants trees: This extension sets your search engine to Ecosia and customizes your new tab page so you can plant trees with every search.
  • HTTPS Everywhere: Encrypt the Web! Automatically use HTTPS security on many sites.
  • Kaspersky Protection: Your protection on the Internet with extension from Kaspersky
  • NoScript: Maximum protection for your browser: NoScript allows active content only for trusted domains of your choice to prevent exploitation.
  • Privacy Badger: Privacy Badger automatically learns to block invisible trackers
  • Read Aloud: A Text to Speech Voice Reader: Read out loud the current web-page article with one click. Supports 40+ languages.
  • Tab Snooze: Save articles, videos and todos for later. They'll magically reopen when you need them.
  • The Great Suspender: Make your computer run smoothly by suspending the tabs you aren't using malware
    • or OneTab
  • Toby for Chrome: Better than bookmarks. Organize your browser tabs and access them quickly anywhere.
@bborysenko
bborysenko / obsidian.css
Created September 23, 2020 15:19
Obsidian Custom CSS
/* -----------------------------------------------------------------------------
Bullet Point Relationship Lines
https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/2
----------------------------------------------------------------------------- */
.cm-hmd-list-indent .cm-tab, ul ul {
position: relative;
}
.cm-hmd-list-indent .cm-tab::before, ul ul::before {
content:'';
border-left: 1px solid var(--text-accent);
@NikolaRusakov
NikolaRusakov / copy-tabs.js
Last active September 27, 2021 17:49
copy mobile tabs
tabs = document.querySelectorAll('.subrow-box .url')
str = '';
for (i=0;i<tabs.length;i++){
console.log(tabs[i].innerHTML)
if (tabs[i].innerHTML != null){
str += tabs[i].innerHTML+'\n'
}
}
copy(str)
@Matts966
Matts966 / open_cloud_tabs.bash
Last active June 3, 2023 23:01
Open all tabs in cloud tabs using sqlite3 on mac
#!/bin/bash
if [ "$#" == 0 ]; then
browser=Google\ Chrome
elif [ "$#" == 1 ]; then
browser=$1
else
echo "please pass me a browser name or run with no argument (default browser is 'Google\ Chrome')"
echo "e.g. './open_cloud_tabs.bash Safari'"
exit 1
fi