Skip to content

Instantly share code, notes, and snippets.

View mithranalandur's full-sized avatar

mithranalandur

View GitHub Profile
@mithranalandur
mithranalandur / plotly-dash-timeseries.py
Created February 20, 2018 19:44
Glitch in dash when plotting timseries data in realtime
import random
from datetime import datetime, timedelta
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objs as go
import pandas as pd
@mithranalandur
mithranalandur / Application.java
Last active December 6, 2017 03:30
Sample numeric query
import uk.co.flax.luwak.*;
import uk.co.flax.luwak.matchers.SimpleMatcher;
import uk.co.flax.luwak.presearcher.TermFilteredPresearcher;
import java.io.IOException;
import org.apache.lucene.document.IntPoint;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
public class Application {
public static void main(String[] args){