Skip to content

Instantly share code, notes, and snippets.

View tik9's full-sized avatar
💭
Working on an API

Timo Körn tik9

💭
Working on an API
View GitHub Profile
@1st
1st / tests_for_toptal_on_codility.py
Last active May 19, 2022 19:58
My answers for tests on http://codility.com that I passed for company http://toptal.com I use Python language to solve problems.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Test that I passed on codility.com for TopTal company
#
# Task #1
def binary_gap(N):
@pawarvijay
pawarvijay / app.js
Last active January 9, 2022 17:51
how to send http post request by curl to node expressjs
var express = require('express');
var bodyParser = require('body-parser');
var app = express();
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(function (req, res, next) {
console.log('aeee ' + JSON.stringify(req.body))
next()