Skip to content

Instantly share code, notes, and snippets.

View ba11b0y's full-sized avatar

Rahul Tiwari ba11b0y

View GitHub Profile
@ba11b0y
ba11b0y / gsoc23-spdx-rahul-tiwari.md
Created August 18, 2023 11:23
Final report of GSoC'23 with SPDX

Summary

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:

parsers

@ba11b0y
ba11b0y / bom-go-mod.json
Created July 29, 2023 05:06
SBOM(json) generated using `sbomgen`
{
"spdxVersion": "SPDX-2.3",
"dataLicense": "CC0-1.0",
"SPDXID": "SPDXRef-DOCUMENT",
"name": "github.com/spdx/spdx-sbom-generator-e9dc169",
"documentNamespace": "https://spdx.org/spdxpackages/github.com/spdx/spdx-sbom-generator-e9dc169-969c38e1-4106-4bf3-93c4-6eced4541ee8",
"creationInfo": {
"creators": [
"Tool: spdx-sbom-generator-source-code"
],
@ba11b0y
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
SPDXID: SPDXRef-DOCUMENT
DocumentName: github.com/spdx/spdx-sbom-generator-4b2ec8f
DocumentNamespace: https://spdx.org/spdxpackages/github.com/spdx/spdx-sbom-generator-4b2ec8f-acfb15b4-1338-458b-82dd-74104bbce3fc
Creator: Tool: spdx-sbom-generator-source-code
Created: 2023-07-28T14:04:53Z
##### Package: github.com/ProtonMail/go-crypto
@ba11b0y
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
ba11b0y / calmcode_feedback.md
Created April 24, 2020 20:41
Calmcode feedback

A short feedback about calmcode.io 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
ba11b0y / instructions.md
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 https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64

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

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

    # SSL configuration

    listen 443 ssl http2 default_server;
    server_name 35.154.10.21;
    listen [::]:443 ssl http2 default_server;
    include snippets/self-signed.conf;
 include snippets/ssl-params.conf;
@ba11b0y
ba11b0y / deployment-instructions.md
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
ba11b0y / instructions.md
Last active May 3, 2018 05:42
Directory structure and nginx config for serving static files
.
├── csite
│   ├── admin.py
│   ├── admin.pyc
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── migrations
│   │   ├── __init__.py
│   │   └── __init__.pyc
@ba11b0y
ba11b0y / invinciblycool-codeheat.md
Last active January 31, 2018 17:50
Codeheat Final Gist

CodeHeat 2017 Contributions - Rahul Tiwari

Project

Open-Event-Server:

Issues(Opened): Closed and Open