Skip to content

Instantly share code, notes, and snippets.

View neo7337's full-sized avatar
πŸ‘¨β€πŸ’»

Aditya Kumar neo7337

πŸ‘¨β€πŸ’»
View GitHub Profile
@neo7337
neo7337 / README.md
Last active November 9, 2024 08:18
Setup SSL on your Server

This is a documentation steps for setting up SSL on your server.

Pre-requisites

  1. Your have a running reverse-proxy (NGINX) running in a containerised environment or as a service
  2. Your application server is running behind the NGINX reverse-proxy (ideal scenario)

Steps to start generating your SSL Certificate

  1. Install certbot using the follwing command - sudo apt install certbot python3-certbot-nginx
  2. make sure to stop your any existing NGINX services, either container or the system service.
@neo7337
neo7337 / main.go
Created July 10, 2022 17:49
Working with MSSQL + Golang
package main
import (
"context"
"database/sql"
"fmt"
_ "github.com/denisenkom/go-mssqldb"
)
type Database struct {
@neo7337
neo7337 / init.sh
Last active April 23, 2021 14:48
Single Script to install them all
#!/bin/sh
set -e
#############################
# Script Init #
# - git #
# - java-vX.X #
# - npm #
# - python #
@neo7337
neo7337 / grafana+prometheus.md
Last active September 22, 2020 17:14
Grafana + Prometheus installation on minikube

Grafana is a strong open source visualization software which helps users to understand complex data with the help of data metrics.
Prometheus is an event-monitoring and alerting tool which is also open source.
Prometheus comes with an alertmanager.

Both grafana and prometheus can be installed using the helm charts provided by their open source taems on Github.
Grafana
Prometheus

Once helm is configured on your local system, install grafana and prometheus with the following commands

Grafana ->\