Skip to content

Instantly share code, notes, and snippets.

View mousepotato's full-sized avatar

mousepotato mousepotato

View GitHub Profile
@clemsos
clemsos / csv_to_elastic_search_bulk_insert.py
Last active February 27, 2024 10:15
Elastic Search : index large csv files with Python Pandas
from pyelasticsearch import ElasticSearch
import pandas as pd
from time import time
root_path="/home/clemsos/Dev/mitras/"
raw_data_path=root_path+"data/"
csv_filename="week10.csv"
t0=time()
@jasontedor
jasontedor / clone-jdk10.sh
Last active August 24, 2019 14:51
Cloning the OpenJDK sources
#!/bin/bash
hg clone http://hg.openjdk.java.net/jdk10/jdk10 && cd jdk10 && chmod +x get_source.sh && ./get_source.sh