Skip to content

Instantly share code, notes, and snippets.

View jplattel's full-sized avatar

Joost Plattel jplattel

View GitHub Profile
@jplattel
jplattel / main.ts
Created December 5, 2023 15:50
Simple Todoist tasks to placeholder in Obsidian
import { App, Notice, Plugin, request } from 'obsidian';
export default class OmnifocusPlugin extends Plugin {
onload() {
// Add a command to the pallete that autocompletes omnifocus tasks
this.addCommand({
id: 'get-todoist-tasks',
name: 'Fetch todoist tasks',
callback: async () => {
// Current file and state
@jplattel
jplattel / daily.md
Created March 26, 2023 20:00
My Daily Note Template for Obsidian
category
daily

![[Art/{{date:YYYY-MM-DD}}-generated-cover-art.png]]

{{date:YYYY-MM-DD}}

[[{{yesterday}}|< Yesterday]] | {{date:YYYY-MM-DD}} ({{date:dddd}}) | [[{{tomorrow}}|Tomorrow >]]

👥 Persons

💡 Thoughts

@jplattel
jplattel / workspaces.css
Created September 27, 2021 21:04
Obsidian Workspaces status-bar styling
/* Style the workspace picker item */
div.workspace-item[data-workspace-name="your-workspace-name"] {
border: 1px solid red;
}
/* Style the status bar */
body[data-workspace-name="your-workspace-name"] .status-bar {
background-color: red;
@jplattel
jplattel / asetniop.json
Created March 9, 2020 19:05
Karabiner Elements configuration for asetniop layout
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 300,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
@jplattel
jplattel / jplattel.zsh-theme
Last active January 18, 2020 12:27
Personal zsh theme
function collapse_pwd {
echo $(pwd | sed -e "s,^$HOME,~,")
}
function prompt_char {
git branch >/dev/null 2>/dev/null && echo '± >' && return
echo '>'
}
This file has been truncated, but you can view the full file.
[
{
"message": {
"method": "Page.loadEventFired",
"params": {
"timestamp": 146256.825428
}
},
"webview": "(CDC7F7C5FAEE3C55AE8315884E3A3846)"
@jplattel
jplattel / bubble-counter.cpp
Last active January 7, 2018 21:01
A simple bubble counter for a Wemos D1 mini lite
/*
Bubble Counter for fermentation processes
Made by: Joost Plattel
Email: jsplattel@gmail.com
This little arduino project is used for tracking fermentation processes
it works with a little photo interupter and posts the bubble count every
10 minutes to a endpoint specified.
com.partup.PartupIntegrationTest *** ABORTED *** (1 millisecond)
java.lang.RuntimeException: Unable to load a Suite class that was discovered in the runpath: com.partup.PartupIntegrationTest
at org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:81)
at org.scalatest.tools.DiscoverySuite.$anonfun$nestedSuites$1(DiscoverySuite.scala:38)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
at scala.collection.Iterator.foreach(Iterator.scala:929)
at scala.collection.Iterator.foreach$(Iterator.scala:929)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1417)
at scala.collection.IterableLike.foreach(IterableLike.scala:71)
at scala.collection.IterableLike.foreach$(IterableLike.scala:70)
version: "2"
services:
user-api:
image: 3e5d32ad6dd5
environment:
MONGO_URL: mongodb://mongo
MONGO_DB: meteor
METEOR_URL: meteor
METEOR_PORT: 3000

Keybase proof

I hereby claim:

  • I am jplattel on github.
  • I am jplattel (https://keybase.io/jplattel) on keybase.
  • I have a public key whose fingerprint is 763D BCE5 4150 FB8A 2F75 E404 7F0C 1D5B 7999 28B3

To claim this, I am signing this object: