Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Alexey Okhrimenko obenjiro

🎯
Focusing
Block or report user

Report or block obenjiro

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
View fileupload.service.ts
import { Injectable, OnDestroy } from '@angular/core';
import { HttpClient, HttpEventType, HttpEvent } from '@angular/common/http';
import { Subject, BehaviorSubject } from 'rxjs';
import { switchMap, tap } from 'rxjs/operators';
@Injectable({ providedIn: 'root' })
export class FileUploadService implements OnDestroy {
public progress$ = new BehaviorSubject<Number>(0);
public loading$ = new BehaviorSubject<Boolean>(false);
@obenjiro
obenjiro / json-query.md
Last active Jul 6, 2019
Сложная работа со сложными данными - SQL(подробные) запросы для JSON
View json-query.md
@obenjiro
obenjiro / gist:c69f7732b62b96099fa9bf2219a897e5
Created May 22, 2019 — forked from dmethvin/gist:1676346
Breakpoint on access to a property
View gist:c69f7732b62b96099fa9bf2219a897e5
function debugAccess(obj, prop, debugGet){
var origValue = obj[prop];
Object.defineProperty(obj, prop, {
get: function () {
if ( debugGet )
debugger;
return origValue;
},
@obenjiro
obenjiro / machine-learning.md
Last active Sep 13, 2019
Самый мягкий и пушистый путь в Machine Learning
View machine-learning.md
@obenjiro
obenjiro / steal.md
Created May 13, 2019
Великие художники воруют
View steal.md

COMING SOON...

@obenjiro
obenjiro / html-clipper.js
Created Apr 21, 2019
HTML Clipper Fixed Version
View html-clipper.js
/*
HtmlClipper v0.1
Made by Florentin Sardan
florentinwww (at) gmail.com
Project's page:
http://www.betterprogramming.com/htmlclipper.html
My portfolio:
http://www.betterprogramming.com
@obenjiro
obenjiro / contrast.md
Created Apr 16, 2019
Про проверку контраста и WCAG
View contrast.md
@obenjiro
obenjiro / calendar.md
Created Apr 13, 2019
Пару календарей назад я был совсем другим
View calendar.md

COMING SOON...

You can’t perform that action at this time.