Skip to content

Instantly share code, notes, and snippets.

View abhisekp's full-sized avatar
🏠
Working from home

Abhisek Pattnaik abhisekp

🏠
Working from home
View GitHub Profile
@abhisekp
abhisekp / # Emojis.md
Last active November 6, 2024 20:07 — forked from rxaviers/gist:7360908
Complete list of Github :octocat: supported emojis — http://j.mp/gh-emojis
@abhisekp
abhisekp / # Mastering Go Series.md
Last active November 5, 2024 04:10
Mastering Go Series
@abhisekp
abhisekp / # Sync Git Hosting Sites.md
Last active September 2, 2024 16:27 — forked from MoOx/README.md
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily
title tags authors
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily
git
github
gitlab
bitbucket
MoOx

MongoDB Setup

@abhisekp
abhisekp / Software Interview Prompt.md
Last active March 25, 2024 04:28
Prompt for Interview for Software Engineering

Prompt

Act as a expert in [programming_language] and become an interviewer. I have [X] yrs of experience in software engineering with [Y] yrs experience in [programming_language]. Ask me relevant questions in relation with my answers. Ask questions one by one. Analyse the answers i provide and correct me whenever i am incorrect. Ask various types of questions including theoretical, mcqs, practical, bug finding, output check, fill in the blanks, etc.

@abhisekp
abhisekp / # SaaS Prompt.md
Last active March 25, 2024 04:28
Prompt for building SaaS product

Prompt

<short_descriptive_product_name> System [description_of_product] using React, Typescript, Nodejs. Use AWS services or other OSS. Provide the outline and plantuml architecture diagram, dockercompose. Provide all the modules and features to be included. Frontend should have realtime data update capabilities. Technologies available: redis, kafka, emqx, fastify, tailwind, reactjs, typescript, nodejs, material-ui, daisy-ui, prisma, posgresql, neo4j, mongodb, cassandra, InfluxDB, docker


Replace the <short_descriptive_product_name> and optionally to add a longer description, replace [description_of_product]


@abhisekp
abhisekp / # Posgresql DB.md
Last active January 26, 2024 08:53
Set up postgresql locally using docker

Postgresql DB

Add the following alias to .zshrc or .bashrc file.

alias psql="docker exec -it postgres psql -U abhisekp"

Traefik Proxy

@abhisekp
abhisekp / #Compile and Run rust.md
Last active January 9, 2024 05:42
Compile and Run rust file provided either from file path or piped

Rust Compile, Run, and Clean Script

This Bash script provides a convenient way to compile, run, and optionally delete a Rust executable. It supports various options, including running in a temporary directory, watching for file changes, sending desktop notifications, and installing the script to the user's local ~/bin directory.

Features

Compile and Run

The script compiles and runs a given Rust file. If the compilation and execution are successful, it deletes the generated executable.