This file contains 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
[INFO][2023-04-13 14:58:04] .../vim/lsp/rpc.lua:662 "Starting RPC client" { args = { "--stdio" }, cmd = "vscode-eslint-language-server", extra = { cwd = "/home/red/abf/timbra" }} | |
[DEBUG][2023-04-13 14:58:04] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { codeActionProvider = { codeActionKinds = { "quickfix", "source.fixAll.eslint" } }, executeCommandProvider = { commands = { "eslint.applySingleFix", "eslint.applySuggestion", "eslint.applySameFixes", "eslint.applyAllFixes", "eslint.applyDisableLine", "eslint.applyDisableFile", "eslint.openRuleDoc" } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = false }, willSaveWaitUntil = false }, workspace = { workspaceFolders = { supported = true } } } }} | |
[INFO][2023-04-13 14:58:04] .../lua/vim/lsp.lua:1345 "LSP[eslint]" "server_capabilities" { server_capabiliti |
This file contains 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 { format } from 'date-fns' | |
import React, { memo, useEffect, useState } from 'react' | |
import styled from 'styled-components' | |
import { AnalogClockConfigType } from './ClockType' | |
const TIMER_PRECISION = 250 | |
interface AnalogClockProps { | |
config: AnalogClockConfigType |
This file contains 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
did:3:kjzl6cwe1jw14bg0df6fnhf4uf8v3vg2qa10ovxq74qqb0fflt89g0xt2wb5oak |
This file contains 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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreid2ea6xnxe4rk7hj43nlmsh7yjbozvu3cldsimogxtra7drcn3wby ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
This file contains 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 encode = data => data.split('').map(c => c.toUpperCase()); |
This file contains 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 encode = data => { | |
const encoded = []; | |
data.split('').map(c => encoded.push(c.toUpperCase())); | |
return encoded; | |
} |
This file contains 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 useState = (initValue) => { | |
let state = initValue; | |
const setState = (newState) => { | |
if (typeof newState === 'function') { | |
state = newState(state); | |
return; | |
} | |
state = newState; | |
} |
This file contains 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 [counter, setCounter] = useState(0); | |
const handleClick = () => { | |
setCounter(prevCounter => prevCounter + 1); | |
setCounter(prevCounter => prevCounter + 1); | |
} | |
console.log(counter); |
This file contains 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 [counter, setCounter] = useState(0); | |
const handleClick = () => { | |
setCounter(counter + 1); | |
setCounter(counter + 1); | |
} | |
console.log(counter); |
This file contains 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 [counter, setCounter] = useState(0); | |
const handleClick = () => setCounter(counter + 1); | |
console.log(counter); |
NewerOlder