Skip to content

Instantly share code, notes, and snippets.

View luxplanjay's full-sized avatar
:shipit:
Just doing corona things

Alexander Repeta luxplanjay

:shipit:
Just doing corona things
View GitHub Profile
@luxplanjay
luxplanjay / students.json
Created September 24, 2025 14:25
Students dashboard API base collection
[
{
"_id": {
"$oid": "65ca67e7ae7f10c88b598375"
},
"name": "Abel Gibson-Jakubowski",
"age": 15,
"gender": "male",
"avgMark": 10.6,
"onDuty": false,
@luxplanjay
luxplanjay / notes.json
Created September 24, 2025 14:16
NoteHub API base notes collection
[
{
"title": "Buy groceries",
"content": "Milk, eggs, bread, coffee",
"tag": "Shopping"
},
{
"title": "Weekly meeting notes",
"content": "Discussed Q3 goals and deadlines",
"tag": "Meeting"
@luxplanjay
luxplanjay / nodejs.yml
Created November 5, 2020 13:31
Деплой по ftp с github actions
name: Node.js CI
on:
push:
branches:
- master
jobs:
FTP-Deploy-Action:
name: Build and publish via FTP
runs-on: ubuntu-latest
steps:
@luxplanjay
luxplanjay / flex-basis-calc.css
Last active April 10, 2025 17:07
Формула расчёта ширины flex-элемента в сетке
.element {
flex-basis: calc((100% - кол-во маржинов в строке * значение маржина) / кол-во элементов в строке);
}
@luxplanjay
luxplanjay / visually-hidden.css
Last active September 26, 2025 11:48
Visually hidden CSS pattern
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
alt-require: true
attr-lowercase: true
attr-no-duplication: true
attr-unsafe-chars: true
attr-value-double-quotes: true
attr-value-not-empty: false
doctype-first: true
doctype-html5: true
head-script-disabled: true
href-abs-or-rel: false
rules:
block-no-empty: true
color-no-invalid-hex: true
font-family-no-duplicate-names: true
font-family-no-missing-generic-family-keyword: true
function-calc-no-invalid: true
function-calc-no-unspaced-operator: true
function-linear-gradient-no-nonstandard-direction: true
string-no-newline: true
unit-no-unknown: true
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
// Install packages
// npm install --save-dev prettier eslint-config-airbnb eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y husky lint-staged
{
"extends": [
"eslint:recommended",
"react-app",
"airbnb",
"plugin:import/errors",
"plugin:react/recommended",
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",