- Weekly Agenda (created on a different day, and embedded with
/Block Reference) - [[Morning Questions]] [[2/24 -- 3/1/2020]]
- {{[[slider]]}} How many hours of sleep did I get?
- [[What's one thing top of mind today?]]
- [[What's the one thing I need to get done today to make progress?]]
- Agenda
- {{[[TODO]]}} 2 hours focused time
- {{[[TODO]]}} Read 30 minutes #goal-learning #habit
- Health & self-care
- {{[[TODO]]}} 30 minutes outside #goal-health #habit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Viktor's Roam Mobile Double tap to Exluce Filters and Right click on bullets | |
| * version: 0.2 | |
| * 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from "react"; | |
| import { useMousePosition } from "~/hooks/useMousePosition"; | |
| /** Component to cover the area between the mouse cursor and the sub-menu, to allow moving cursor to lower parts of sub-menu without the sub-menu disappearing. */ | |
| export function MouseSafeArea(props: { parentRef: React.RefObject<HTMLDivElement> }) { | |
| const { x = 0, y = 0, height: h = 0, width: w = 0 } = props.parentRef.current?.getBoundingClientRect() || {}; | |
| const [mouseX, mouseY] = useMousePosition(); | |
| const positions = { x, y, h, w, mouseX, mouseY }; | |
| return ( | |
| <div |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Clears the SIP protected folder where Soundflower will be loaded by the system | |
| sudo kextcache --clear-staging | |
| if [ -d /Library/Extensions/Soundflower.kext ]; then | |
| sudo kextunload -q /Library/Extensions/Soundflower.kext | |
| sudo rm -rf /Library/Extensions/Soundflower.kext | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* How to use: Simply put #make:yt-large infront of {{youtube: }} */ | |
| [data-tag*="make:yt-large"] ~ div iframe | |
| { | |
| width: 700px; | |
| height: 400px; | |
| } |
- Weekly Agenda (created on a different day, and embedded with
/Block Reference) - [[Morning Questions]]
- {{[[slider]]}} How many hours of sleep did I get?
- What's one thing top of mind today?
- What's the one thing I need to get done today to make progress?
- Review #[[Index: Questions]] #values
- Agenda
- {{[[TODO]]}} Morning walk #goal-health #habit
- {{[[TODO]]}} Check calendar for scheduled events
- {{[[TODO]]}} Morning focus hour
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .kanban-board { | |
| background-color: #fff; | |
| } | |
| .kanban-card { | |
| background-color: white; | |
| margin: 8px; | |
| box-shadow: 0px 1px 2px #9EB3C0; | |
| padding: 10px; | |
| border-radius: 2px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const webpack = require('webpack'); | |
| const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
| const ManifestPlugin = require('webpack-manifest-plugin'); | |
| const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
| const WebpackNotifierPlugin = require('webpack-notifier'); | |
| const TailwindCss = require('tailwindcss'); | |
| const AutoPrefixer = require('autoprefixer'); | |
| const path = require('path'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const mix = require('laravel-mix'); | |
| const tailwindcss = require('tailwindcss'); | |
| require('laravel-mix-purgecss'); | |
| mix.setPublicPath('./web') | |
| .postCss('src/css/main.css', 'css') | |
| .options({ | |
| postCss: [tailwindcss('tailwind.config.js'), require('autoprefixer')], | |
| processCssUrls: false, | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // A sin-y, wobbly, twisty, 3D-looking thing that slices up an image to create its effect. | |
| // For more information and to download the image required, visit: | |
| // https://dribbble.com/shots/5843126-Twisty-3D-effect-using-a-2D-image | |
| // | |
| // Place the image inside a folder called “data” alongside the Processing sketch for it to work. | |
| // Created using Processing 3.4. | |
| // | |
| // Code by @marcedwards from @bjango. | |
| PImage twist; |