Skip to content

Instantly share code, notes, and snippets.

View PaxPrz's full-sized avatar
💭
searching for a job

Prakash Prajapati PaxPrz

💭
searching for a job
View GitHub Profile
#include <iostream>
using namespace std;
int add(int a, int b){
cout << "It's an integer sum" << endl;
return a + b;
}
double add(double a, double b){
@PaxPrz
PaxPrz / 1adam_payment.py
Last active September 23, 2022 03:55
Example payment
class PaymentProcessor:
...
def pay(self, amount: float, user: int) -> bool:
"""some logic implemented"""
payment = self.run_pay()
return payment.id
@PaxPrz
PaxPrz / self-signed-certificate-with-custom-ca.md
Created September 28, 2020 08:07 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096