Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

View execrc's full-sized avatar

Sujith execrc

  • Kanpur, India
  • 04:05 (UTC +05:30)
View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@execrc
execrc / vercel.json
Created February 11, 2024 04:52
Vercel deployment (express.js)
{
"version": 2,
"builds": [
{
"src": "index.js",
"use": "@now/node"
}
],
"routes": [
{
@execrc
execrc / lazyvim.md
Last active December 30, 2023 04:57
This gist contains most commonly used shortcuts of neovim/lazyvim

Basic keymaps in Normal Mode

  • j - go one line down
  • k - go one line up
  • h - go one char left
  • l - go one char right
  • b - go to start of word
  • e - go to end of word
  • w - go to next word
  • 0 - beggining of the line
  • $ - end of the line
@execrc
execrc / connectDB
Last active December 4, 2023 18:32
me.json
const connectDB = async () => {
try {
const connectionInstance = await mongoose.connect(`${process.env.MONGODB_URI}/${DB_NAME}`)
console.log(`\n MongoDB connected !! DB HOST: ${connectionInstance.connection.host}`);
} catch (error) {
console.log("MONGODB connection FAILED ", error);
process.exit(1)
}
}