Skip to content

Instantly share code, notes, and snippets.

View L04DB4L4NC3R's full-sized avatar
😏
Noob is just a state of mind

Angad Sharma L04DB4L4NC3R

😏
Noob is just a state of mind
View GitHub Profile

Blep

A high availability log sourcing tool for modern DevOps


Our implementation


  • Decentralizing calls to a distributed log-store, rqlite
  • Fast logs sourcing using NATS and gRPC
@L04DB4L4NC3R
L04DB4L4NC3R / newer-recruits.md
Last active May 4, 2019 16:54
CodeChef projects

Projects'19

Projects for the new recruits summer 2019


Songs recommendation using sound rhythm/beats

  • harsha ------------------> ML
  • Vaibhav -----------------> Backend

Comment analysis on websites

Ishaan Sourav (Backend) and Anurag (ML)

  • Make a sentiment analysis
  • Use neural networks, not bag of words
  • CodeChefVIT Social media comments
    • Try facebook, instagram
  • Output graph sentiment analysis on comments
  • Repo link
@L04DB4L4NC3R
L04DB4L4NC3R / config.toml
Last active August 18, 2019 01:46
Blogs
baseURL = "[http://example.org/](http://example.org/)"
languageCode = "en-us"
title = "About me"
theme = "m10c"
[params]
author = "Angad Sharma"
description = "Noob is just a state of mind"
[[params.social]]
name = "github"
@L04DB4L4NC3R
L04DB4L4NC3R / main.go
Created August 18, 2019 02:48
Examinaar
package main
import (
"html/template"
"log"
"net/http"
)
// Setting up static file handler and HTTP server to listen and serve
func main() {
@L04DB4L4NC3R
L04DB4L4NC3R / host.go
Last active August 18, 2019 02:50
Examinaar 2
package controller
import (
"html/template"
)
type Host struct {
temp \*template.Template
}
@L04DB4L4NC3R
L04DB4L4NC3R / host.go
Last active August 18, 2019 03:12
Examinaar 3
// Attaching a servepage function to the /host endpoint to handle post request
func (h Host) servepage(w http.ResponseWriter, r \*http.Request) {
err := r.ParseForm()
if err != nil {
log.Println(err)
}
f := r.Form
type Model struct {
BatchID string `json:"batchID" bson:"batchID"`
OrgID string `json: "orgID" bson:"orgID"`
Tasks []Task `json:"tasks" bson:"tasks"`
Type string `json:"type" bson:"type"`
CreatedBy string `json:"createdBy" bson:"createdBy"`
State string `json:"state" bson:"state"`
UnitID string `json:"unitID" bson:"unitID"`
FileMeta FileMetaStruct `json:"fileMeta", bson:"fileMeta"`
}
func (h *Handler) Ping(c echo.Context) error {
err := h.bulkops.Hello.CallPingTask("santhosh")
if err != nil {
return c.JSON(400, err)
}
return c.NoContent(http.StatusOK)
}