Skip to content

Instantly share code, notes, and snippets.

View ba11b0y's full-sized avatar

Rahul Tiwari ba11b0y

View GitHub Profile
ba11b0y /
Created August 18, 2023 11:23
Final report of GSoC'23 with SPDX


The spdx-sbom-generator tool helps generating SBOM information complying with the SPDX standard and relies heavily on the parsers project. The summer of code was spent improving both these projects and the improvements can be therefore classified among the two as follows:


ba11b0y / bom-go-mod.json
Created July 29, 2023 05:06
SBOM(json) generated using `sbomgen`
"spdxVersion": "SPDX-2.3",
"dataLicense": "CC0-1.0",
"name": "",
"documentNamespace": "",
"creationInfo": {
"creators": [
"Tool: spdx-sbom-generator-source-code"
ba11b0y / bom-go-mod.spdx
Last active July 29, 2023 05:06
SBOM(spdx) generated using `sbomgen`
SPDXVersion: SPDX-2.3
DataLicense: CC0-1.0
Creator: Tool: spdx-sbom-generator-source-code
Created: 2023-07-28T14:04:53Z
##### Package:
ba11b0y / carlsagan.txt
Created April 26, 2020 19:24
Your problems are nothing
Look again at that dot. That's here. That's home. That's us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies, and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every "superstar," every "supreme leader," every saint and sinner in the history of our species lived there--on a mote of dust suspended in a sunbeam.
The Earth is a very small stage in a vast cosmic arena. Think of the rivers of blood spilled by all those generals and emperors so that, in glory and triumph, they could become the momentary masters of a fraction of a dot. Think of the endless cruelties visited by the inhabitants of one corner of this pixel on th
ba11b0y /
Created April 24, 2020 20:41
Calmcode feedback

A short feedback about after going through it.

Things which worked perfectly for me:

  • Short length videos. Personally I despise long videos and these were just the right length videos.
  • Crisp and concise content. No BS. Loved it!

Things which I feel were missing:

  • The files below the videos seem just enough but I personally feel that if you could document the files with comments, they would be just awesome. For instance, I went through the gin lesson and I felt that the code files here would have been easier to go through if commented. I understand it's just a few lines of code but adding a comment like # gin.REQUIRED makes the parameter of the function to be required.
ba11b0y /
Created November 1, 2018 07:13
Minikube Installation on Ubuntu 18.04 which really works!

Installation of Minikube with kvm2 driver which really works!

Disclaimer: Tried on Ubuntu 18.04 LTS

Installation of minikube

  • Apparently installation from snap doesn't work as expected, use curl for installation of the latest version.

  • curl -LO

  • sudo install minikube-linux-amd64n /usr/local/bin/minikube

ba11b0y /
Created May 23, 2018 19:31
Nginx Config for HTTPS
server {

    # SSL configuration

    listen 443 ssl http2 default_server;
    listen [::]:443 ssl http2 default_server;
    include snippets/self-signed.conf;
 include snippets/ssl-params.conf;
ba11b0y /
Last active May 23, 2018 21:48
Deployment Commands

Creating a New Amazon EC2 instance

  • Refer Snapshots

Activating/Creating Virtual Environment

  • virtualenv venvforfinlit -p python3
  • source venforfinlit/bin/activate

Installing dependencies

  • sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx
  • pip install -r requirements.txt

Setting up RDS PostgreSQL instance

  • Refer snapshots
ba11b0y /
Last active May 3, 2018 05:42
Directory structure and nginx config for serving static files
├── csite
│   ├──
│   ├── admin.pyc
│   ├──
│   ├── __init__.pyc
│   ├── migrations
│   │   ├──
│   │   └── __init__.pyc
ba11b0y /
Last active January 31, 2018 17:50
Codeheat Final Gist

CodeHeat 2017 Contributions - Rahul Tiwari



Issues(Opened): Closed and Open