Skip to content

Instantly share code, notes, and snippets.

View freesoft's full-sized avatar
🏠

Wonhee Jung freesoft

🏠
View GitHub Profile
@freesoft
freesoft / text.py
Created August 30, 2018 21:14 — forked from psorianom/text.py
Text feature extractor with okapi bm25 and delta idf
# -*- coding: utf-8 -*-
# Authors: Olivier Grisel <olivier.grisel@ensta.org>
# Mathieu Blondel <mathieu@mblondel.org>
# Lars Buitinck <L.J.Buitinck@uva.nl>
# Robert Layton <robertlayton@gmail.com>
# Jochen Wersdörfer <jochen@wersdoerfer.de>
# Roman Sinayev <roman.sinayev@gmail.com>
#
# License: BSD 3 clause
"""
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@freesoft
freesoft / gist:981ee1f4d7067feb55903fd37c3e6eeb
Created June 21, 2021 17:45
Quick hack to send n http request with curl on terminal
# Not intended for heavy load testing or something, just in case you need small number of
# traffic need to created in your local terminal
# below create 10 requests with given curl command
seq 1 10 | xargs -n1 -P10 curl --header "Content-Type: application/json" --header "Authorization: Bearer ADD_YOUR_TOKEN_HERE" -d "{\"accountId\":1234567890}" https://YOUR_FULL_URL_HERE