Skip to content

Instantly share code, notes, and snippets.

View wKich's full-sized avatar
:octocat:
Githubing

Dmitriy Lazarev wKich

:octocat:
Githubing
View GitHub Profile
@wKich
wKich / target.c
Created September 17, 2023 09:15
jhemcu
/*
* This file is part of INAV.
*
* INAV is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* INAV is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@wKich
wKich / inav
Created September 17, 2023 09:10
inav
Entering CLI Mode, type 'exit' to return, or 'help'
# diff
# version
# INAV/JHEMCUF722 6.1.1 Jun 27 2023 / 08:58:55 (GITDIR-N)
# GCC-10.2.1 20201103 (release)
# start the command batch
directive @extend(generatedTypeName: String, interface: String, is: ExtendIsArgument, when: ExtendWhenArgument) on INTERFACE
directive @field(at: FieldAtArgument!, default: FieldDefaultArgument) on FIELD_DEFINITION
directive @relation(kind: String, name: String, nodeType: String) on FIELD_DEFINITION
type API implements IAPI & IEntity & Node & Ownable {
consumers(after: String, before: String, first: Int, last: Int): ComponentConnection
definition: String!
description: String!
[
{
"x": 0,
"y": 2.531424272351668
},
{
"x": 1,
"y": 2.852312746541452
},
{
@wKich
wKich / material-ui-dependents.json
Created March 23, 2021 08:57
Material-UI Dependents
This file has been truncated, but you can view the full file.
[
["mui-org/material-ui", 65985],
["pixijs/pixi.js", 32186],
["preactjs/preact", 28520],
["dkhamsing/open-source-ios-apps", 26717],
["formium/formik", 26609],
["hasura/graphql-engine", 20948],
["SeleniumHQ/selenium", 20316],
["mongodb/mongo", 19440],
["react-hook-form/react-hook-form", 19154],
@wKich
wKich / stars.json
Created March 17, 2021 09:13
List of public github repos whos use effector ranked by stars
[
["effector/effector", 3062],
["artalar/reatom", 566],
["dai-shi/will-this-react-global-state-work-in-concurrent-mode", 263],
["howtocards/frontend", 191],
["goupaz/goupaz.com", 163],
["mg901/effector-react-realworld-example-app", 119],
["goodmind/treact", 110],
["effector/patronum", 104],
["Nitrino/easysubs", 103],
@wKich
wKich / babel-plugin-minify-dead-code-elimination.d.ts
Created May 9, 2020 10:08
babel-plugin-minify-dead-code-elimination types
declare module 'babel-plugin-minify-dead-code-elimination' {
const plugin: (options: {
types: typeof import('@babel/types');
traverse: typeof import('@babel/traverse').default;
}) => { name: string; visitor: import('@babel/traverse').Visitor };
export default plugin;
}
@wKich
wKich / notes.md
Last active March 30, 2019 12:28
Windows WSL Dev

Requirements

  • Install WSL
    • Run from Admin Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    • Restart
    • Install Linux Distr from Microsoft Store
  • Git
  • Terminal
@wKich
wKich / starter.md
Last active April 23, 2018 06:00
React-Typescript-Babel

Enviroment

  • VS Code extensions
    • Equinusocio.vsc-material-theme
    • Shan.code-settings-sync
    • WallabyJs.quokka-vscode (?)
    • christian-kohler.path-intellisense
    • dbaeumer.vscode-eslint
    • eamodio.gitlens
    • eg2.tslint
@wKich
wKich / toPx.js
Created September 28, 2016 12:18
convert CSS units to pixels
// imported from https://github.com/heygrady/Units
let preCalculated = false;
let computedValueBug = false;
const defaultView = document.defaultView;
const getComputedStyle = defaultView && defaultView.getComputedStyle;
const runit = /^(-?[\d+\.\-]+)([a-z]+|%)$/i;
const convert = {
mm2px: 1/25.4,