Skip to content

Instantly share code, notes, and snippets.

View khex's full-sized avatar

Oleksii Kholiavko khex

View GitHub Profile
@khex
khex / Orders.mermaid
Created December 31, 2022 13:32
Mermaid chart of Orders
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@khex
khex / tamagotchi.py
Created December 18, 2021 15:19 — forked from ryesalvador/tamagotchi.py
Tamagotchi Emulator in PyGame
# Tamagotchi - A port of the Tamagotchi Emulator by aerospark: https://goo.gl/gaZ1fA
# Copyright (C) 2017 Ryan Salvador
# This program 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.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@khex
khex / issue_driven_development.md
Created November 3, 2021 12:59
Issue-Driven Development

Issue-driven Development

Principle of issue-driven development is simple:

  • Always associate development to GitHub issue.

Issue-driven development achieves:

  • Modularity: Commits and branches are self-contained.
  • Granularity: Commits and branches intend a single Issue.
  • Transparency: Discussion on each edition can be seen on Issue.
@khex
khex / client.elm
Created October 24, 2021 08:29 — forked from sabha/client.elm
Elm Client, Node Server , Mongo DB, Mongoose ODM - Get Users and Post User
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import Http
import Json.Decode as Decode
import Json.Encode as Encode
main =

What is semantic release

Semantic Release is an Open-Source Software tool for automatically versioning your software with Semantic Versions based on your Git commit messages. It then releases/deploys the new version to the channel(s) you specify, for example, GitHub Release, NPM, PyPI, etc.

By default, Semantic Release expects commits to be in the Conventional Commit format. In its simplest form, this looks like feat: add feature X or fix: fix bug Y that perform Minor and Patch version bumps respectively.

Since Semantic Release also generates release notes and maintains a CHANGELOG.md for you, >adding quality git commit messages — including a detailed body — becomes increasingly valuable.

@khex
khex / json-schema.js
Created December 25, 2019 10:32 — forked from JamesMessinger/json-schema.js
Using JSON Schema in Postman
// Define the JSON Schema
const customerSchema = {
"required": ["id"],
"properties": {
"id": {
"type": "integer",
"minimum": 100,
"maximum": 1000
},
"name": {
const ROUTES: Route[] = [
{ path: 'home', component: HomeComponent },
{ path: '', redirectTo: 'home', pathMatch: 'full' },
{ path: 'redirectMe', redirectTo: 'home', pathMatch: 'full' },
{ path: 'users/:userid', component: UserComponent,
children: [
{ path: 'notes', component: NotesComponent },
{ path: 'notes/:noteid', component: NoteComponent}
]
},
function y = generateSin(a, f, ph, L, Fs)
% my code goes here
if length(a) ~= length(f)
error('Different sizes of "a" and "f"');
end
if length(a) ~= length(ph)
error('Different sizes of "a" and "ph"');
end

1. Клініка та стадії наркозу

  1. Класифікація видів наркозу. (1)
  2. Клініка ефірного наркозу. (5)
  3. Клініка севофлюранового наркозу. (11)
  4. Основні показники інгаляційних анестетиків: MAС, MACawake, MACst, MAC-BAR. (16)
  5. Стадії наркозу. (31)
  6. Тотальна в/в анестезія: технологія проведення, переваги та недоліки. (36)
  7. Премедикація: її ціль та засоби її досягнення. (61)

2. Фармакологія

to-do

  • update <met>
  • update LD+JSON
  • unite create & edit controllers
  • write algorithm fro updating Schema

Unit Test for MongooseSchema

  • read-one.component & read-one.template
  • read-many.component & read-many.template
  • crup.component & crup.template