1. How to groupBy in vanilla javascript

    Currently i need to work with javascript more and more. So, i have to learn how to do same tricks i did in python/java/swift/etc in javascript :) Recenlty I needed to group some data by key and first thing that came to my mind is to use lodash…

    on javascript es6 groupBy

  2. Fixing "io.swagger.client.ApiException: Content type "text/plain" is not supported" problem

    Let's say we have a endpoint definition in swagger like this : /hello: post: summary: Say hello description: '' operationId: sayHello consumes: - text/plain produces: - application/json parameters: - in: body name: body required: false schema: type: string responses: '200': description: successful operation schema: $ref: '#/definitions/Hello' You…

    on swagger-codegen swagger java

  3. Keeping your serverless project size nice and clean

    At New10, as a Software Engineer in Test, i'm quite often build some small serverless projects that help our teams to make test automation and debugging of our system. Easier. I'm working now more and more with things like yarn, javascript and serverless framework. Today i discovered a nice yarn…

    on javascript serverless yarn npm

  4. Cool git trick for setting author

    Don't know about you, but in the past i had couple times burned myself when wrong git configuration of the project was making me to commit things under wrong author. I'm using my work laptop for personal projects as well, so sometimes i mix "identities" and get in…


  5. How to pretty print JSON in bash console

    Recently i was playing with Swagger Codegen tool and i needed to look at available configuration fields for java language. You can do it easily by running : curl -X GET --header 'Accept: application/json' 'https://generator.swagger.io/api/gen/clients/java' But, as an output, you'll get this : {"…

    on swagger-codegen javascript bash json prettyprint

  6. How to fix docker-machine installation on Mac OS X

    Recently i got a new macbook pro and i started setting it up. Everything was going great until i tried to install docker and create default docker machine. After i installed Docker for Mac, i tried to start virtual machine : docker-machine create -d virtualbox default Running pre-create checks... Creating machine.…

    on virtualbox docker docker-machine macosx