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
VITE v5.4.9 ready in 156 ms | |
➜ Local: http://localhost:4001/ | |
➜ Network: use --host to expose | |
➜ press h + enter to show help | |
2024-10-21T13:13:35.634Z vite:transform 7.39ms /src/routes.tsx | |
2024-10-21T13:13:35.636Z vite:transform 2.71ms /@react-refresh | |
2024-10-21T13:13:35.644Z vite:transform 6.89ms /node_modules/.vite/deps/react_jsx-dev-runtime.js?v=da4504a8 | |
2024-10-21T13:13:35.655Z vite:transform 11.40ms /node_modules/.vite/deps/@mantine_core.js?v=da4504a8 |
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
export interface ApiV0 { | |
blogitems: { | |
id: number; | |
oid: string; | |
title: string; | |
pub_date: string; | |
categories: | |
| [] | |
| [ | |
{ |
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 { spawn } = require("child_process"); | |
function vite() { | |
const child = spawn("npm", ["run", "dev"], { | |
cwd: "my-vite-react-ts-app", | |
}); | |
// console.log(`Spawned process PID: ${child.pid}`); | |
console.time("Getting 200 OK"); | |
setInterval(() => { |
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
function defaultTokenizer(text: string) { | |
//remove punctuation from text - remove anything that isn't a word char or a space | |
var rgxPunctuation = /[^(a-zA-ZA-Яa-я0-9_)+\s]/g; | |
var sanitized = text.replace(rgxPunctuation, " "); | |
return sanitized.split(/\s+/); | |
} | |
/** |
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
function defaultTokenizer(text: string) { | |
//remove punctuation from text - remove anything that isn't a word char or a space | |
var rgxPunctuation = /[^(a-zA-ZA-Яa-я0-9_)+\s]/g; | |
var sanitized = text.replace(rgxPunctuation, " "); | |
return sanitized.split(/\s+/); | |
} | |
/** |
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
# https://github.com/casey/just | |
# https://just.systems/ | |
dev: | |
npm run dev | |
dev-with-languages: | |
NODE_ENV=development ENABLED_LANGUAGES=all nodemon src/frame/server.ts | |
start-fixtures-server-dev: |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
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
"context_href","count_" | |
"https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api#basic-authentication","730" | |
"https://docs.github.com/fr/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","219" | |
"https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting","178" | |
"https://docs.github.com/pt/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","178" | |
"https://docs.github.com/ja/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","175" | |
"https://docs.github.com/de/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","117" | |
"https://docs.github.com/en/enterprise-cloud@latest/admin/identity-and-access-management/understanding-iam-for-enterprises/about-enterprise-managed-users#authenticating-as-a-managed-user","105" | |
"https://docs.github.com/en/actions/using-workflows/events-that-trigger |
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
#!/bin/bash | |
set -ex | |
# 1 | |
pushd docs-internal.de-de | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd |
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
/* Orange color for light color scheme (Default) */ | |
/* Can be forced with data-theme="light" */ | |
[data-theme=light], | |
:root:not([data-theme=dark]) { | |
--pico-text-selection-color: rgba(244, 93, 44, 0.25); | |
--pico-primary: #bd3c13; | |
--pico-primary-background: #d24317; | |
--pico-primary-underline: rgba(189, 60, 19, 0.5); | |
--pico-primary-hover: #942d0d; | |
--pico-primary-hover-background: #bd3c13; |
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
❯ pyenv install 3.12 | |
python-build: use openssl@3 from homebrew | |
python-build: use readline from homebrew | |
Installing Python-3.12.1... | |
python-build: use tcl-tk from homebrew | |
python-build: use readline from homebrew | |
python-build: use ncurses from homebrew | |
python-build: use zlib from xcode sdk | |
BUILD FAILED (OS X 14.3 using python-build 2.3.35-11-g9908daf8) |
NewerOlder