Skip to content

Instantly share code, notes, and snippets.

View vadjs's full-sized avatar

Vadim Zhamkov vadjs

  • Nebius
  • Amsterdam
View GitHub Profile
@vadjs
vadjs / comparsion.ts
Last active February 28, 2020 14:45
ng-openapi-gen broken respose types
export class ContractTypesService extends BaseService {
contractTypesGet$Json$ResponseOLD(params?: {
}): Observable<StrictHttpResponse<{ [key: string]: string }>> {
const rb = new RequestBuilder(this.rootUrl, ContractTypesService.ContractTypesGetPath, 'get');
if (params) {
}
@vadjs
vadjs / fun.js
Last active August 7, 2018 14:50
Fun JS
a = new Date();
b = new Date();
console.log(a == b); //false
console.log(a < b); //false
console.log(a <= b); //true
o = {};
k = {a: 1, b: 2};
@vadjs
vadjs / interceptors-presentation-links.md
Created April 2, 2018 21:51
Interceptors presentation links
@vadjs
vadjs / Dockerfile
Created June 26, 2017 14:33
Docker multistage
# IMPORTANT! Works with Docker 17.05+
FROM kkarczmarczyk/node-yarn AS buildContainer
# Create a directory where our app will be placed
RUN mkdir -p /tmp/src/app
# Change directory so that our commands run inside this new directory
WORKDIR /tmp/src/app