Skip to content

Instantly share code, notes, and snippets.

View OleksiyRudenko's full-sized avatar
💻
Delivering

Oleksiy Rudenko OleksiyRudenko

💻
Delivering
View GitHub Profile
// based on parts of: http://exploringjs.com/es6/ch_classes.html
const methodName = 'myMethod'; // for computed method names
// class
class Point {
// publicProperty = defaultValue; // NB! Unsupported yet? No assignment - no property!
publicProperty = 1; // need no constructor if it is only to initialize class properties
constructor(x, y) {
this.x = x;
@OleksiyRudenko
OleksiyRudenko / Merging repos.md
Last active October 29, 2018 07:42
Git: merging, rebasing

Merging a repo into another one

Initial situation:

  1. Repository A we want to become a part of another repository.
  2. Repository B we want repo A to be merged into.

Targets:

  1. We want source code from repo A to be located under a sub-directory in repo B and repo A history stored in a dedicated repo B branch.
  2. We do not want original repo A be changed or corrupted.

node-sass vs MS Windows

Для тех, кто, как и я, имеет несчастье работать по MS Windows.

NativeSPAExample, похоже, нормально разворачивается под !Windows, а остальным (sic!) предстоят пляски с бубном.

В этом воркфлоу будем решать проблемы по мере их возникновения. В цитатах логов будут пропущены фрагменты с сообщениями о нормальном течении процесса. Сообщения об ошибках и предупреждения будут пронумерованы для упрощения отсылки к ним.

Полезные ресурсы - в конце документа.

@OleksiyRudenko
OleksiyRudenko / Kottans-WeatherWebApp-supplements.md
Last active February 4, 2018 16:07
Kottans WeatherWebApp supplements
@OleksiyRudenko
OleksiyRudenko / QA-WebApp.md
Last active May 10, 2021 12:16
QA - Web App (ru)

source

GUI — >Functional — >Usability — >Security — >Performance (Load/Stress/Recovery) — >Configuration

Hi Level Blocks

Рассмотрим подробнее:

GUI

@OleksiyRudenko
OleksiyRudenko / Build-and-Publish.md
Last active March 28, 2024 02:04
Building and publishing a web app @ github pages using ParcelJS
@OleksiyRudenko
OleksiyRudenko / Arrays
Last active April 10, 2019 11:50
ES6+ cheatsheet
// initial array
const a = [A,B,C];
// [ABC] is a short-hand notation for [A,B,C]
Array method | arguments | ES6 shorthand | returns | a if mutated
-----------------------------------------------------------------------------------
--- Adding elements
.push D,E .length (5) [ABCDE]
.push [DE] .length (4) [ABC[DE]]
[...a, D, E] [ABCDE]
@OleksiyRudenko
OleksiyRudenko / Rebase techniques.md
Last active October 26, 2020 18:15
Make use of git rebase

Extracted from git-rebase-illustration and refined

Git Rebase Techniques

At this stage it is not so important to follow the history of commits, therefore early commit messages are used to easily identify commits (e.g. A, B etc.) and their rebased variations (e.g. A', B', B'' etc.)

Decorated one-line logs of this repo are used to illustrate

@OleksiyRudenko
OleksiyRudenko / collapsable.md
Last active November 6, 2022 10:28 — forked from joyrexus/README.md
Collapsable markdown

collapsable markdown?

See this gist source code for details (pun intended :) )

Content wrapped in <p> tag

<details><summary>CLICK ME</summary>
<p>