Skip to content

Instantly share code, notes, and snippets.

View BRoy98's full-sized avatar
🚀
Building software for good 📈

Bishwajyoti Roy BRoy98

🚀
Building software for good 📈
  • localhost:3000, India
  • 22:49 (UTC +05:30)
View GitHub Profile
@BRoy98
BRoy98 / .eslintrc.js
Created October 30, 2022 15:20 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
@BRoy98
BRoy98 / gitcommit.md
Last active June 18, 2020 04:51
Git commit message guidelines

Commit Message Guidelines

You must follow this guideline when writing a new commit on geexec projects.


Message Format

<section>: <title>
- 
PORT=8686
DB_HOST=localhost
@BRoy98
BRoy98 / cloudSettings
Last active November 24, 2021 17:29
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-11-24T17:29:25.029Z","extensionVersion":"v3.4.3"}
@BRoy98
BRoy98 / CardType.java
Last active September 3, 2017 22:21 — forked from LionC/CardType.java
A Java enum representing credit card types (Visa, Mastercard etc) that can detect card type from a credit card number.
package com.gabrielbauman.gist;
import java.util.regex.Pattern;
public enum CardType {
UNKNOWN,
VISA("^4[0-9]{12}(?:[0-9]{3})?$"),
MASTERCARD("^5[1-5][0-9]{14}$"),
AMERICAN_EXPRESS("^3[47][0-9]{13}$"),