Skip to content

Instantly share code, notes, and snippets.

View Aneesh540's full-sized avatar
🏠
Working from home

Aneesh Jain Aneesh540

🏠
Working from home
View GitHub Profile
View efficient.go
package main
import (
nsq "github.com/nsqio/go-nsq"
)
var consumerChannel chan interface
func AddMongoBulk(data){
// your code for preprocessing and adding new value in mongoDB in bulk
}
@Aneesh540
Aneesh540 / naive.go
Last active September 27, 2021 17:06
Consumer-Naive-solution
View naive.go
package main
import (
nsq "github.com/nsqio/go-nsq"
)
func AddMongoDB(data){
// your code for preprocessing and adding new value in mongoDB
}
var handleMessage = func(msg *nsq.Message) error {
View API-Docs.md
@Aneesh540
Aneesh540 / UbuntuDownload.md
Last active December 8, 2017 01:10
Setting of Dev Environment ( Ubuntu 16.04 )
View UbuntuDownload.md
@Aneesh540
Aneesh540 / core-set.sql
Created September 18, 2017 10:21 — forked from backpackerhh/core-set.sql
SQL - Social-Network Query Exercises
View core-set.sql
-- 1. Find the names of all students who are friends with someone named Gabriel.
SELECT H1.name
FROM Highschooler H1
INNER JOIN Friend ON H1.ID = Friend.ID1
INNER JOIN Highschooler H2 ON H2.ID = Friend.ID2
WHERE H2.name = "Gabriel";
-- 2. For every student who likes someone 2 or more grades younger than themselves, return that student's name and grade, and the name and grade of the student they like.
@Aneesh540
Aneesh540 / Anaconda.md
Last active July 18, 2017 15:58
Anaconda and Conda command line interface
View Anaconda.md