Skip to content

Instantly share code, notes, and snippets.

View mdroidian's full-sized avatar

Michael Gartner mdroidian

View GitHub Profile
@mdroidian
mdroidian / App.tsx
Last active February 28, 2024 01:57
tldraw-beta2-custom-arrow
import {
ArrowShapeTool,
ArrowShapeUtil,
TLArrowShape,
TLUiOverrides,
Tldraw,
toolbarItem,
} from "@tldraw/tldraw";
import "@tldraw/tldraw/tldraw.css";
@mdroidian
mdroidian / App.tsx
Last active February 28, 2024 01:46
tldraw-v12-custom-arrow
import {
App as Editor,
TldrawEditor,
TldrawUi,
ContextMenu,
Canvas,
TLArrowUtil,
TLArrowTool, // overrode to export
TldrawEditorConfig,
defineShape,
@mdroidian
mdroidian / gist:95116b8a843a7931ca6fb9fcbc3e91dd
Created February 28, 2024 00:42
[[Dashboards Home]] styles
[data-page-title="Dashboards Home"] table tr td:nth-child(3) span {
pointer-events:auto
}
div[id*="RW-hw1Dg7"] {
pointer-events: none;
}
[data-page-title="Dashboards Home"] .kanban-board {
pointer-events: none;
@mdroidian
mdroidian / gist:946ca13a778e6ff34f765317cdfd444f
Created February 28, 2024 00:42
[[📊 Dashboard]] table
div[data-page-title="📊 Dashboard"] .rm-table .roam-table td,
div[data-page-title="Open sourcing scientific research with results graphs"] .rm-table .roam-table td
{
border-right: none;
border-left: none;
border-top: none;
}
div[data-page-title="📊 Dashboard"] .rm-table .roam-table tr,
div[data-page-title="Open sourcing scientific research with results graphs"] .rm-table .roam-table tr
@mdroidian
mdroidian / react-pdf-images.ts
Created February 2, 2024 02:46
react-pdf + react-markdown images
import React from "react";
import {
Document,
Page,
Text,
StyleSheet,
View,
Link,
PDFViewer,
Image,
@mdroidian
mdroidian / test.js
Created January 3, 2024 20:37
test
console.log("loaded")
@mdroidian
mdroidian / main.js
Created January 3, 2024 20:06
sept qb
This file has been truncated, but you can view the full file.
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ var __webpack_modules__ = ({