Regular Markdown here.
![[firstDiagram.png]]
Details
@startuml firstDiagram
Alice -> Bob: Hello
Bob -> Alice: Hi!
| # | |
| # ~/Documents/Powershell/Microsoft.PowerShell_profile.ps1 | |
| # | |
| # get reference to the profile file dir | |
| $HEREDIR = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| # add this directory/bin | |
| $env:PATH += ";${HEREDIR}\bin" |
| source_url "https://raw.githubusercontent.com/cachix/devenv/d1f7b48e35e6dee421cfd0f51481d17f77586997/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0=" | |
| use devenv |
Regular Markdown here.
![[firstDiagram.png]]
@startuml firstDiagram
Alice -> Bob: Hello
Bob -> Alice: Hi!
| // ==UserScript== | |
| // @name Disable Auto Scroll | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Disable mouse middle button completely. As a result it does not activate browser auto scroll. Open hyperlink in a new tab with middle button click still works. | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
| # #!/usr/bin/env python3 | |
| # # code: language=python3 insertSpaces=true tabSize=4 | |
| # Install: | |
| # - put in ~/.local/bin/slack-musi-status | |
| # - chmod +x ~/.local/bin/slack-musi-status | |
| # - install python 3.10.10 or better | |
| # - pip install dbus-python | |
| # | |
| # Linux: Create a Systemd Unit |
| > import dynamic from "next/dynamic"; | |
| > | |
| > import { createAdmin } from "../../../services/Cms/ClientAdminUi"; | |
| > | |
| > const Blank = () => <></>; | |
| > | |
| > export const AdminPageContainer = dynamic( | |
| > async () => { | |
| > if (typeof window === "undefined") return Blank; | |
| > await createAdmin(); |
drop all the files included (replacing _ with /)
create three apps in github oauth settings: Local DEV, Staging, Prod
name: ☝️home page: your url (http://localhost:3000, https://staging.your.doma.in, https://your.doma.in)description: whatever... but the user will see thisauthorization callback url: as above but with /api/callback : (http://localhost:3000/api/callback, https://staging.your.doma.in/api/callback, https://your.doma.in/api/callback)on the application detail page:
| import type { PropsWithChildren } from "react"; | |
| import { useBlanket } from "./useBlanket"; | |
| export function Blanket({ children }: PropsWithChildren) { | |
| const { isOpen, setIsOpen, zIndex, color } = useBlanket(); | |
| return ( | |
| <> | |
| {isOpen && ( | |
| <div |