Skip to content

Instantly share code, notes, and snippets.

View antoniel's full-sized avatar
πŸ‘Ύ

Antoniel MagalhΓ£es antoniel

πŸ‘Ύ
  • Brazil
View GitHub Profile
@antoniel
antoniel / gist:30df7a210b633d4085feba4f837ea7f3
Created February 20, 2026 20:58
tony-vs-code-shortcuts-2026
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+b",
"command": "multiCommand.makeRoom"
},
// Trigger vspacecode in empty editor group
// Keybindings required for edamagit
// https://github.com/kahole/edamagit#vim-support-vscodevim
// Cannot be added to package.json because keybinding replacements
'''
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Iluminacao β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ + status: boolean β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ + ligar(): void β”‚
β”‚ + desligar(): void β”‚
β”‚ + getStatus(): boolean β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
@antoniel
antoniel / jest.config.js
Last active February 2, 2022 14:32
jest.config.js
// yarn add --dev jest @types/jest @swc/core @swc/jest
module.exports = {
testEnvironment: "jsdom",
// setupFilesAfterEnv: ["<rootDir>/src/tests/setupTests.js"], // Uncomment if you need to run setupTests.js
collectCoverage: true,
moduleDirectories: ["node_modules", "<rootDir>"],
collectCoverageFrom: [
"**/*.{js,jsx,ts,tsx}",
"!**/*.d.ts",
"!**/node_modules/**",
@antoniel
antoniel / Contra.tsx
Last active September 29, 2021 00:09
import { Suspense } from "react";
import graphql from "babel-plugin-relay/macro";
import {
RelayEnvironmentProvider,
loadQuery,
usePreloadedQuery,
} from "react-relay/hooks";
import { ErrorBoundary } from "react-error-boundary";
import RelayEnvironment from "./RelayEnvironment";