Skip to content

Instantly share code, notes, and snippets.

View lingqingmeng's full-sized avatar
😀
Hi

Ling Qing Meng lingqingmeng

😀
Hi
View GitHub Profile

Feature / Product Title

Overview

Why are we building this?

Goals

What do you want to achieve with building this? You can even talk about how this will effect Metrics or KPIs

@lingqingmeng
lingqingmeng / failsafe.service
Created June 4, 2019 20:27 — forked from hskang9/failsafe.service
failsafe script daemon for systemctl
[Unit]
Description=command for running the cosmos node after restart.
ConditionPathExists=/home/ubuntu/go/bin/gaiad
After=network.target
[Service]
Type=simple
User=ubuntu
Restart=on-failure
@lingqingmeng
lingqingmeng / IndexingExample.java
Created July 10, 2017 21:09 — forked from mocobeta/IndexingExample.java
Hello Lucene! (6.0.0)
package example;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.*;
import org.apache.lucene.index.*;
import org.apache.lucene.queryparser.classic.ParseException;
import org.apache.lucene.queryparser.classic.QueryParser;
import org.apache.lucene.search.*;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.FSDirectory;