❗ (Moved to d9k-obsidian-style-guide, see fresh version there)
Предназначено для работы в Obsidian с установленным расширением Icon Shortcodes.
❗ (Moved to d9k-obsidian-style-guide, see fresh version there)
Предназначено для работы в Obsidian с установленным расширением Icon Shortcodes.
/* | |
see | |
https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css | |
*/ | |
/* | |
https://stackoverflow.com/questions/47266613/vscode-hide-top-right-icons/69788835#comment133175034_69788835 | |
*/ | |
.tabs-and-actions-container .editor-actions { |
/﹋\_ | |
(҂`_´) | |
<,︻╦╤─ Сoбиpaю apмию против прокрастинации | |
/﹋\ ███████ ]▄▄▄▄▄▄▄▄▄▄▄▄▄ | |
▂▄▅████ ████▅▄▃ | |
█████████████████ | |
◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲ | |
Кoпиpуй и paсстaвляй тaм где прокрастинируют люди! |
export function json(o: any): string { | |
return JSON.stringify(o, null, 2); | |
} | |
export function ljson(o: any): void { | |
console.log(json(o)); | |
} |
import logging | |
import pprint | |
from flask import Flask, redirect | |
from flask_appbuilder import expose, IndexView | |
from superset.typing import FlaskResponse | |
logger = logging.getLogger() |
import "./styles.css"; | |
import React, { useState } from "react"; | |
function CounterVarUpdates({ initialCount }) { | |
const [count, setCount] = useState(initialCount); | |
return ( | |
<div> | |
Count: {count} | |
<button onClick={() => setCount(initialCount)}>Reset</button> | |
<button onClick={() => setCount(count + 1)}>+</button> |
# https://stackoverflow.com/questions/67341992/constructor-with-return-generic-type-based-on-param-enum-ts2322/67376400#67376400 | |
enum Enum { | |
one = 'one', | |
two = 'two', | |
} | |
type Type1 = { | |
field: typeof Enum.one; | |
anotherField: number; |