Skip to content

Instantly share code, notes, and snippets.

View wirtzdan's full-sized avatar
👋

Daniel Wirtz wirtzdan

👋
View GitHub Profile
/**
* Get and write the user settings
*/
export const useSettings = () => {
const { authUser } = useFirestoreUser();
const [settings, setSettings] = useState("");
/* Default settings */
const defaultSettings = {
hideFloatingHelpIcon: {
@wirtzdan
wirtzdan / cloudSettings
Created November 23, 2020 22:06 — forked from samselikoff/cloudSettings
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-01T19:06:41.818Z","extensionVersion":"v3.4.3"}
:root {
--font-size: 15.5px;
--font-color: hsl(205, 23%, 16%);
--font-color-lighter: hsl(0, 0%, 40%);
--font-color-placeholder: hsl(0, 0%, 70%);
--link-color: hsl(203, 82%, 35%);
--selection-color: hsl(203, 100%, 74%);
--border-color: rgba(0, 0, 0, 0.08);
--subtle-border-color: rgba(0, 0, 0, 0.05);
--main-background-color: hsl(210, 9%, 98%);
@wirtzdan
wirtzdan / magic-list-queries.md
Last active March 5, 2022 17:25
Magic List Queries
  • Recently assigned
    • {{[[query]]: {and: [[TODO]] {not: {or: [[Today]] [[Upcoming]] [[Later]] [[Template]] [[query]]]}}}}}
  • Today
    • {{[[query]]: {and: [[TODO]] [[Today]] {not: {or: [[Template]] [[query]]]}}}}}
  • Upcoming
    • {{[[query]]: {and: [[TODO]] [[Upcoming]] {not: {or: [[Template]] [[query]]]}}}}}
  • Later
    • {{[[query]]: {and: [[TODO]] [[Later]] {not: {or: [[Template]] [[query]]]}}}}}
@wirtzdan
wirtzdan / roam-kanban.css
Created September 13, 2020 14:41
Better Kanban Styling Roam Research
.kanban-board {
background-color: #f2f5f9;
max-height: 600px;
overflow-x: auto;
overflow-y: auto;
}
.kanban-column {
background-color: transparent;
}
  • Recently assigned
    • {{[[query]]: {and: [[TODO]] {not: {or: [[Today]] [[Upcoming]] [[Later]] [[Template]] [[query]]]}}}}}
  • Today
    • {{[[query]]: {and: [[TODO]] [[Today]] {not: {or: [[Template]] [[query]]]}}}}}
  • Upcoming
    • {{[[query]]: {and: [[TODO]] [[Upcoming]] {not: {or: [[Template]] [[query]]]}}}}}
  • Later
    • {{[[query]]: {and: [[TODO]] [[Later]] {not: {or: [[Template]] [[query]]]}}}}}
@wirtzdan
wirtzdan / cloudSettings
Last active November 22, 2020 16:32
VS Code Settings
{"lastUpload":"2020-11-22T16:32:39.038Z","extensionVersion":"v3.4.3"}
import * as React from "react"
import { useState } from "react"
import { Frame, addPropertyControls, ControlType } from "framer"
import styled, { css } from "styled-components"
import MaterialIcon from "material-icons-react"
addPropertyControls(ChromeKit, {
link: { type: ControlType.String, title: "Link" },
tabs: { type: ControlType.Number, title: "Number of open tabs" },
themecolor: { type: ControlType.Color, title: "Theme Color" },
<app-header-bg [background]="'/assets/geometry-bg-white.png'" [dark]="false"></app-header-bg>
<section class="fdb-block pb-0">
<div class="container">
<div class="row">
<div class="col">
<h1>Pricing Plans</h1>
<p class="text-h3">Find the right package for your service</p>
</div>
</div>
</div>
els-MBP:publicweb-stream DanielWirtz$ ng generate component contact
bash: ng: command not found
Daniels-MBP:publicweb-stream DanielWirtz$ yarn
yarn install v1.1.0
[1/4] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 0.80s.
Daniels-MBP:publicweb-stream DanielWirtz$ ng generate component contact
bash: ng: command not found
Daniels-MBP:publicweb-stream DanielWirtz$ npm serve