Skip to content

Instantly share code, notes, and snippets.

View SumonMSelim's full-sized avatar
🎯
Focusing

Muhammad Sumon Molla Selim SumonMSelim

🎯
Focusing
View GitHub Profile
@SumonMSelim
SumonMSelim / CLA.md
Created October 10, 2026 20:19
Timothy Individual Contributor License Agreement

Timothy Individual Contributor License Agreement

Thank you for your interest in contributing to Timothy (the "Project").

This Contributor License Agreement ("Agreement") clarifies the intellectual property license granted with Contributions from any person or entity. It protects you as a Contributor as well as the Project and its users. It does not change your rights to use your own Contributions for any other purpose.

The Project is maintained by Muhammad Sumon Molla Selim and any legal entity

Build "YOUR_IDEA_NAME": PUT YOUR APP IDEA HERE. Output: WRITE DOWN YOUR APP BEHAVIOUR OR FEATURE OR WHAT DO YOU WANT THE APP TO DO.

Requirements:

  • WRITE DOWN YOUR APP REQUIREMENTS/FEATURES.
  • Use the relevant services from Stripe Projects (projects.dev) catalog.
  • Choose Stack based on that.
  • Guide me on how to create and configure the necessary accounts/credentials.
  • Integrate all the necessary services to build the app as per requirements
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnoster"
plugins=(git)
source $ZSH/oh-my-zsh.sh
@SumonMSelim
SumonMSelim / ssh.pub
Created August 8, 2025 23:46
sumonmselim@SumonMSelim-MBP
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCRAbA3kGjW6SrZqwFKaMM2uIXKJmbMkk6B2P+y3pPQ sumonmselim@SumonMSelim-MBP
# #########################
# Frontend service
# #########################
# node:22-alpine version should be in sync with compatible react,next,react-dom verions in frontend/package.json
# Stage 1: Build
FROM node:22-alpine AS insights-frontend-builder
WORKDIR /app
# install frontend dependencies before copying the frontend code
# into the container so we get docker cache benefits
ARG goversion=1
ARG alpineversion=3.20.3
ARG argocdversion=v2.12.6
#########################
# Base builder
#########################
FROM golang:${goversion}-alpine3.20 AS builder-base
WORKDIR /core
RUN apk --no-cache --update add \
{
    "success": true,
    "message": "User account created.",
    "data": {
        "access_token": "JWT-TOKEN",
        "token_type": "bearer",
        "expires_at": "2025-02-01 22:19:48"
        "user": {
            "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
@SumonMSelim
SumonMSelim / sendAWSSMS.php
Created September 20, 2023 19:47
Sends a text message (SMS message) directly to a phone number using Amazon SNS.
<?php
use Aws\Sns\SnsClient;
use Aws\Exception\AwsException;
/**
* Sends a text message (SMS message) directly to a phone number using Amazon SNS.
*
* This code expects that you have AWS credentials set up per:
* https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html
{
"connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector",
"transforms.TimestampConverter1.target.type": "Timestamp",
"transforms.TimestampConverter2.target.type": "Timestamp",
"connection.password": "xxxxxxxxx",
"transforms": "RenameField1,RenameField2,TimestampConverter1,TimestampConverter2",
"transforms.TimestampConverter1.type": "org.apache.kafka.connect.transforms.TimestampConverter$Value",
"transforms.RenameField1.type": "org.apache.kafka.connect.transforms.ReplaceField$Value",
"transforms.TimestampConverter2.type": "org.apache.kafka.connect.transforms.TimestampConverter$Value",
"insert.mode": "upsert",
@SumonMSelim
SumonMSelim / openvpn.md
Last active November 26, 2021 22:18
Creating the Server Certificate, Key, and Encryption Files

Server: Keypair and certificate request

req: /home/sumon/openvpn/EasyRSA/pki/reqs/server.req
key: /home/sumon/openvpn/EasyRSA/pki/private/server.key

CA: import request with server.req file

./easyrsa import-req /home/deploy/openvpn/server.req server