Skip to content

Instantly share code, notes, and snippets.

View ilyar's full-sized avatar
🖖
InfinityHackathon

ilyar

🖖
InfinityHackathon
View GitHub Profile
@ilyar
ilyar / Install_gitflow_on_Windows.md
Created April 22, 2014 19:16
Install gitflow on Windows

Install gitflow on Windows

Download and install Git from MSysGit or Git SCM. Download and install getopt.exe from the util-linux package into C:\Program Files\Git\bin. (Only getopt.exe, the others util-linux files are not used). Also install libintl3.dll and libiconv2.dll from the Dependencies packages (libintl and libiconv), into the same directory.

Suppose that Git is installed in the folder c:\bin\git and GnuWin32 in the folder c:\bin\GnuWin32.

Clone the git-flow sources from GitHub:

$ git clone --recursive git://github.com/nvie/gitflow.git
@ilyar
ilyar / step-1.md
Last active May 4, 2024 14:30
Игра на чистом JavaScript — Создание Canvas и рисование на нём — шаг 1 из 10

Игра на чистом JavaScript

Создание Canvas и рисование на нём — шаг 1 из 10

Это 1й шаг из 10. Прежде чем мы сможем начать писать функциональные возможности игры, нам необходимо создать базовую структуру для рендеринга игры внутри. Это можно сделать с помощью HTML и элемента <canvas>.

HTML игры

Структура HTML документа довольно проста, так как игра будет полностью визуализироваться в [``](https://developer.mozilla.org/ru/docs/Web/HTML/Element/canvas 'HTML Элемент может быть использо

@ilyar
ilyar / manually_merge_pull_request.md
Last active March 22, 2024 09:39
We can’t automatically merge this pull request. Use the command line to resolve conflicts before continuing.

We can’t automatically merge this pull request.

Use the command line to resolve conflicts before continuing.

Checkout via command line If you cannot merge a pull request automatically here, you have the option of checking it out via command line to resolve conflicts and perform a manual merge.

Step 1: From your project repository, check out a new branch and test the changes.

@ilyar
ilyar / education_path.md
Last active February 7, 2024 18:22
Маршруты обучения STEM (Science, Technology, Engineering, Mathematics)

Education STEM (Science, Technology, Engineering, Mathematics) path

STEM-навыки жизненно необходимы в современном мире, но технология сама по себе, как утверждал когда-то Стив Джобс — это не всё, а Google это доказал https://ru.hexlet.io/blog/posts/stem-or-humanity

Основы

Курсы и практики без настроек локального окружения, тебуется только браузер.

@ilyar
ilyar / clear_state_of_contract_on_near_protocol.md
Last active January 24, 2024 18:37
How do clear the state of a contract on Near protocol?

How do clear the state of a contract on Near protocol?

Prepare

source neardev/dev-account.env
export CONTRACT_NAME=$CONTRACT_NAME

View state

@ilyar
ilyar / Vagrantfile.md
Created June 8, 2017 16:45
Find out current OS inside Vagrantfile

Add this into your Vagrantfile:

module OS
    def OS.windows?
        (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
    end

    def OS.mac?
 (/darwin/ =~ RUBY_PLATFORM) != nil
@ilyar
ilyar / ‎rsync_tutorial‎.md
Last active December 25, 2023 03:29
rsync tutorial‎

How rsync works

(source: https://sites.google.com/site/rsync2u/home/rsync-tutorial/how-rsync-works3)

~/demo1$rsync is efficient. The first time rsync is run, destination is created and the full source is copied to destination. Thereafter, only changes in source are copied to destination. If the --link-dest option is used, unchanged files are hard linked to the previous backup.

A hard link is a pointer to a file. Hard links have the advantage of using very little memory. There is an illustrated explanation of hard links on http://blog.interlinked.org/tutorials/rsync_time_machine.html > scroll down to “Hard-Links”.

Here is how the "rsync --link-dest=DIR" algorithm creates files in destination:

if destination does not exists,

Метод вычисления сроков выполнения проекта по Бобуку-Бацеку

Рисунок 1

Oпытнан команда

The Bobuk-Bacek method for calculating project deadlines

Figure 1

Experienced team