Skip to content

Instantly share code, notes, and snippets.

Looking for a job (contract/sponsorship contribution)

Eugene Obrezkov ghaiklor

Looking for a job (contract/sponsorship contribution)
Block or report user

Report or block ghaiklor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ghaiklor / output.txt
Created Jul 30, 2019
Wix Technical Task (Jul 2019)
View output.txt
$ tsc --target es6 --module commonjs wix.ts && node wix.js
BinaryTree {
root: BinaryNode {
value: 'A',
left: BinaryNode { value: 'B', left: [BinaryNode], right: [BinaryNode] },
right: BinaryNode { value: 'G', left: null, right: null }
View say-hello.wat
(type $t0 (func))
(type $t1 (func (param i32 i32) (result i32)))
(import "main" "sayHello" (func $main.sayHello (type $t0)))
(func $add (export "add") (type $t1) (param $p0 i32) (param $p1 i32) (result i32)
get_local $p0
get_local $p1
(func $f2 (type $t0)
call $main.sayHello)
View fluentd-match.conf
<match **>
@type copy
@type gelf
host "#{ENV['GELF_HOST']}"
port "#{ENV['GELF_PORT']}"
protocol "#{ENV['GELF_PROTOCOL']}"
flush_at_shutdown true
View fluentd-match.conf
<match **>
@type copy
@type gelf
host "#{ENV['GELF_HOST']}"
port "#{ENV['GELF_PORT']}"
protocol "#{ENV['GELF_PROTOCOL']}"
View fluentd-source.conf
@type tail
tag kubernetes.containers.*
path /var/log/containers/*.log
  refresh_interval 2
  read_from_head true
  pos_file /var/log/fluentd-containers.log.pos
  rotate_wait 5
  enable_watch_timer true
  enable_stat_watcher false
ghaiklor / cloudSettings
Last active Jun 20, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
ghaiklor / config.yml
Created Aug 4, 2018
CircleCI configuration for mono-repository
View config.yml
version: 2
- &docker_environment
- image: circleci/node:8-stretch
- image: circleci/mongo:3.6
- image: circleci/rabbitmq:3.6.6
- &checkout
path: ~/elasticio
- &restore_cache_dependencies
name: "Restoring node_modules from the cache"
ghaiklor / math-parser.js
Last active Jan 14, 2018
The simplest parser for mathematical expressions with explanation
View math-parser.js
* What are we going to do?
* We are going to implement the simplest parser for mathematical expressions with parenthesis and precedence.
* Why?
* Just for get knowing more about software development.
* What will be the result of the parser?
ghaiklor /
Last active Oct 30, 2017
Script for getting all the sources and building second stage boot loader
# Install pre-requisites
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y build-essential
sudo apt-get install -y nasm
sudo apt-get install -y qemu
# Download the sources
curl > boot.asm
curl > loader.asm
You can’t perform that action at this time.