Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am scottTomaszewski on github.
* I am scotttomaszewski (https://keybase.io/scotttomaszewski) on keybase.
* I have a public key whose fingerprint is 6CF5 1431 A993 00A0 7FCD 7986 D210 4B39 1CD2 C604
To claim this, I am signing this object:
@scottTomaszewski
scottTomaszewski / AsyncTaskWithTimeout.java
Last active April 6, 2021 03:48
Extension of Android's AsyncTask which adds support for timeout
package com.grok.notes.util;
import android.app.Activity;
import android.os.AsyncTask;
import android.util.Log;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
@scottTomaszewski
scottTomaszewski / filtering_dv.js
Created October 2, 2023 01:27
This DataviewJS View helps to add filtering functionality to a Dataview Table in Obsidian.
/*
This DataviewJS View helps to add functionality to a Dataview Table.
THIS IS A BETA RELEASE - there are bugs and its not feature-complete
Version: v0.6.0
Given a Dataview Query, this view will
- Execute the query
- Extract the headers/columns of the result
- Render filters to adjust the Dataview table results
- Render the table results, filtering and re-rendering on filter changes
@scottTomaszewski
scottTomaszewski / DM Screen.md
Created October 11, 2023 13:11
Vertical DM Screen for Obsidian
aliases tags

DM Screen

[!NOTE]+ Dice Tray:

| d100: dice: d100 | d20: dice: d20 | d12: dice: d12 | d10: dice: d10 | d8 dice: d8 | d6: dice: d6 | d4: dice: d4 |