This file contains hidden or 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
{ | |
"name": "tennis2", | |
"version": "0.1.0", | |
"private": true, | |
"scripts": { | |
"start": "react-app-rewired start", | |
"build": "react-app-rewired build", | |
"test": "react-app-rewired test --env=jsdom", | |
"eject": "react-scripts eject", | |
"rs:start": "react-scripts start", |
This file contains hidden or 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
name: Deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
This file contains hidden or 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
#include <SimpleDHT.h> | |
#include "FastLED.h" | |
#include <SPI.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_PCD8544.h> | |
Adafruit_PCD8544 display = Adafruit_PCD8544(5, 4, 3); | |
#define NUM_LEDS 16 | |
#define DATA_PIN 7 |
This file contains hidden or 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 xAxises = [ | |
{ id: 1, name: 'pero' }, | |
{ id: 2, name: 'foobar' } | |
]; | |
const yAxises = [ | |
{ id: 1, name: 'nesto' }, | |
{ id: 2, name: 'slavko' } | |
]; | |
export const TamTam: React.FC = () => { |
This file contains hidden or 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
{ | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": ["j", "k"], | |
"after": ["<Esc>"] | |
} | |
], | |
"vim.normalModeKeyBindings": [ | |
{ | |
"before": ["B"], |
This file contains hidden or 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 { FirstParam, PromiseType, QueryFn, useQuery as useBaseQuery } from "blitz" | |
import { QueryConfig } from "react-query" | |
export const useQuery = <T extends QueryFn, TResult = PromiseType<ReturnType<T>>>( | |
queryFn: T, | |
params: FirstParam<T>, | |
options?: QueryConfig<TResult, unknown> | undefined | |
) => { | |
return useBaseQuery(queryFn, params, { suspense: false, ...options }) | |
} |
This file contains hidden or 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
class Tracker: | |
slots: Dict[str, Any] | |
def __init__(self, slots="", latest_message=None): | |
self.slots = loads(slots) | |
self.latest_message = latest_message | |
def latest_message(self): | |
return self.latest_message |
This file contains hidden or 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
{ | |
"ResolverImport": { | |
"prefix": "ri", | |
"body": "import { resolver } from 'blitz'" | |
}, | |
"Resolver pipe": { | |
"prefix": "rp", | |
"body": "resolver.pipe(resolver.zod(schema$1), resolver.authorize([Role.Admin, Role.User$2]), " | |
}, | |
"Blitz guard": { |
This file contains hidden or 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
.kr-column-group { | |
width: 100vw !important; | |
} | |
.kr-canvas-header > div > div { | |
display: none; | |
} | |
[data-coda-ui-id="dialog"] > div { | |
max-width: 1600px; | |
width: 90%; |
This file contains hidden or 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
<style> | |
#app > div > div:nth-child(2) > div > div > div:nth-child(3), | |
#app > div > div:nth-child(2) > div > div > div:nth-child(4), | |
div[data-focused-area="Composer"], | |
div[data-focused-area="ComposerToolbar"] { | |
filter: invert(1); | |
background-color: #efefef; | |
} | |