Skip to content

Instantly share code, notes, and snippets.

@thesved
thesved / day-night.md
Last active June 29, 2020 21:58
Roam Research day-night css

core

/* IMPORT CORE THEME */
@import url('https://azlen.github.io/roam-themes/core.css');

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');	

canvas[data-id="layer2-node"] {	
    filter: invert(1) hue-rotate(110deg) saturate(2.5);	
@thesved
thesved / roam-auto-enclose.js
Last active October 12, 2020 17:33
Roam Research Auto Enclose for quotes et al
/*
* Viktor's Roam Native Autoenclose PoC
* version: 0.3
* author: @ViktorTabori
*
* How to install it:
* - go to page [[roam/js]]
* - create a node with: {{[[roam/js]]}}
* - create a clode block under it, and change its type from clojure to javascript
* - allow the running of the javascript on the {{[[roam/js]]}} node
@thesved
thesved / roam-table-embed.css
Created June 5, 2020 22:56
Team Alignment Map in Roam Research
/* don't limit the block width for tables */
.rm-block-text {
max-width: none!important;
}
/* clean up tables embedded in tables and blocks within tables */
.roam-table, .roam-table th, .roam-table td, .roam-table tr {
padding:0!important;
vertical-align: top;
min-width:auto!important;
@thesved
thesved / bmc-template
Last active October 4, 2021 07:36
Business Model Canvas in Roam Research w/ tables and block embeds
- [[Business Model Canvas]] test
- table: Roam Research BMC
- {{[[table]]}}
- ((top row id))
- ((bottom row id))
- structure
- intermediary rows
- {{[[table]]}}
- {{[[embed]]: ((activity id))}}
- {{[[embed]]: ((resource id))}}
pragma solidity ^0.4.17;
import "./ERC20MiniMe.sol";
import "./CappedCrowdsale.sol";
import "./FinalizableCrowdsale.sol";
import "./TokenController.sol";
import "./Pausable.sol";
/**
* @title EthealNormalSale