[{"data":1,"prerenderedAt":1024},["ShallowReactive",2],{"blog-git-remove-sensitive-info":3,"blog-all-for-related":533},{"id":4,"title":5,"author":6,"body":7,"cardAlt":517,"categories":518,"description":521,"draft":522,"extension":523,"headerImage":524,"keywords":525,"meta":526,"name":527,"navigation":195,"path":528,"seo":529,"series":6,"stem":530,"updated":6,"year":531,"__hash__":532},"blog\u002Fblog\u002Fgit-remove-sensitive-info.md","Securing Git: Remove Sensitive Information",null,{"type":8,"value":9,"toc":512},"minimark",[10,19,22,508],[11,12,13,14,18],"p",{},"While working on projects, a common issue that many developers encounter at some point is ",[15,16,17],"strong",{},"accidentally pushing sensitive information"," like credentials or API keys, to a Git repository. Though, as a general practice everyone is taught to not push sensitive information to git but mistakes happen - we are only human after all 😅",[11,20,21],{},"Good news is that there are couple of ways to rectify this without too much hassle. In this article, we'll explore the steps to safely remove sensitive information from your Git history while preserving the integrity of your project. So, let's dive right in!",[23,24,25,28,33,36,58,61,63,67,70,73,79,425,427,430,433,437,463,480,482,491,494,503],"ads",{},[26,27],"hr",{},[29,30,32],"h2",{"id":31},"why-remove-sensitive-information-from-git-history","Why Remove Sensitive Information from Git History?",[11,34,35],{},"Accidentally pushing sensitive data to a Git repository can be a significant security risk. It's crucial to act quickly to remove this information from the repository's history for several reasons:",[37,38,39,46,52],"ol",{},[40,41,42,45],"li",{},[15,43,44],{},"Security",": Sensitive data, such as passwords, credentials or API keys, should never be accessible to anyone in your repository's history. Removing them ensures your project's security.",[40,47,48,51],{},[15,49,50],{},"Compliance",": Depending on your industry, there might be compliance requirements that mandate the removal of sensitive data from your version control history. Eg. Credit card numbers in fintech apps.",[40,53,54,57],{},[15,55,56],{},"Reputation",": Security is a crucial part of development. Your reputation as a developer can be at stake if you don't handle sensitive information properly. Demonstrating a commitment to security is essential.",[11,59,60],{},"Hence if some sensitive info, API tokens, credentials are pushed - it must be revoked and removed from git history. Also, to clear confusion, just updating code to remove such sensitive info won't solve the concern since that information can still be accessed via older commits.",[26,62],{},[29,64,66],{"id":65},"step-by-step-guide-to-remove-git-history","Step-by-Step Guide to Remove Git History:",[11,68,69],{},"For the scope of this article, we'll use BFG Repo Cleaner tool. There are other ways to achieve the same.",[11,71,72],{},"BFG Repo-Cleaner basically rewrites your repository's history. Since it rewrites history, this results in changes the SHAs for existing commits that you modify along with other dependent commits. As the SHAs change, this may also affect open pull requests in your repository.",[11,74,75,78],{},[15,76,77],{},"Note",": Before proceeding, ensure you have a backup of your repository in case anything goes wrong. These operations can be irreversible.",[37,80,81,151,226,321,362,396,402],{},[40,82,83,86,87],{},[15,84,85],{},"Create a Backup Branch",": Create a new branch in your repository to perform the cleanup without affecting the main branch. This ensures that you can always refer back to the original history if needed.",[88,89,94],"pre",{"className":90,"code":91,"language":92,"meta":93,"style":93},"language-bash shiki shiki-themes github-light github-dark","cp -R \u003Crepo> \u003Crepo>.backup\ngit checkout -b cleanup-branch\n","bash","",[95,96,97,136],"code",{"__ignoreMap":93},[98,99,102,106,110,114,118,122,125,127,129,131,133],"span",{"class":100,"line":101},"line",1,[98,103,105],{"class":104},"sScJk","cp",[98,107,109],{"class":108},"sj4cs"," -R",[98,111,113],{"class":112},"szBVR"," \u003C",[98,115,117],{"class":116},"sZZnC","rep",[98,119,121],{"class":120},"sVt8B","o",[98,123,124],{"class":112},">",[98,126,113],{"class":112},[98,128,117],{"class":116},[98,130,121],{"class":120},[98,132,124],{"class":112},[98,134,135],{"class":116},".backup\n",[98,137,139,142,145,148],{"class":100,"line":138},2,[98,140,141],{"class":104},"git",[98,143,144],{"class":116}," checkout",[98,146,147],{"class":108}," -b",[98,149,150],{"class":116}," cleanup-branch\n",[40,152,153,156,157,160,161,164,165,222,225],{},[15,154,155],{},"Identify Sensitive Data",": First, identify the files or commits that contain the sensitive information you want to remove. You can use tools like ",[95,158,159],{},"git log"," and ",[95,162,163],{},"git blame"," to trace back to the offending commits and files.",[88,166,168],{"className":90,"code":167,"language":92,"meta":93,"style":93},"# create a password.txt\n# add secrets you want to search in your repo separated by newline\nvim passwords.txt\n\n#search for passwords in your repo\ngit grep -ni - f passwords.txt\n",[95,169,170,176,181,190,197,203],{"__ignoreMap":93},[98,171,172],{"class":100,"line":101},[98,173,175],{"class":174},"sJ8bj","# create a password.txt\n",[98,177,178],{"class":100,"line":138},[98,179,180],{"class":174},"# add secrets you want to search in your repo separated by newline\n",[98,182,184,187],{"class":100,"line":183},3,[98,185,186],{"class":104},"vim",[98,188,189],{"class":116}," passwords.txt\n",[98,191,193],{"class":100,"line":192},4,[98,194,196],{"emptyLinePlaceholder":195},true,"\n",[98,198,200],{"class":100,"line":199},5,[98,201,202],{"class":174},"#search for passwords in your repo\n",[98,204,206,208,211,214,217,220],{"class":100,"line":205},6,[98,207,141],{"class":104},[98,209,210],{"class":116}," grep",[98,212,213],{"class":108}," -ni",[98,215,216],{"class":116}," -",[98,218,219],{"class":116}," f",[98,221,189],{"class":116},[223,224],"br",{},"The last command will return all the instances of where passwords matched.",[40,227,228,231,232,253,255,256,307,309,310,313,314,316,317,320],{},[15,229,230],{},"Use BFG Repo-Cleaner",": BFG Repo-Cleaner is a powerful tool for removing unwanted files and content from Git repositories. You can install it using:",[88,233,235],{"className":90,"code":234,"language":92,"meta":93,"style":93},"# for mac users\nbrew install bfg\n",[95,236,237,242],{"__ignoreMap":93},[98,238,239],{"class":100,"line":101},[98,240,241],{"class":174},"# for mac users\n",[98,243,244,247,250],{"class":100,"line":138},[98,245,246],{"class":104},"brew",[98,248,249],{"class":116}," install",[98,251,252],{"class":116}," bfg\n",[223,254],{},"Then, run the BFG Repo-Cleaner:",[88,257,259],{"className":90,"code":258,"language":92,"meta":93,"style":93},"# if you are using the passwords.txt way\nbfg --replace-text passwords.txt .git\n\n# if you already know the files to remove\nbfg --delete-files \u003Cfilename>\n",[95,260,261,266,280,284,289],{"__ignoreMap":93},[98,262,263],{"class":100,"line":101},[98,264,265],{"class":174},"# if you are using the passwords.txt way\n",[98,267,268,271,274,277],{"class":100,"line":138},[98,269,270],{"class":104},"bfg",[98,272,273],{"class":108}," --replace-text",[98,275,276],{"class":116}," passwords.txt",[98,278,279],{"class":116}," .git\n",[98,281,282],{"class":100,"line":183},[98,283,196],{"emptyLinePlaceholder":195},[98,285,286],{"class":100,"line":192},[98,287,288],{"class":174},"# if you already know the files to remove\n",[98,290,291,293,296,298,301,304],{"class":100,"line":199},[98,292,270],{"class":104},[98,294,295],{"class":108}," --delete-files",[98,297,113],{"class":112},[98,299,300],{"class":116},"filenam",[98,302,303],{"class":120},"e",[98,305,306],{"class":112},">\n",[223,308],{},"Replace ",[95,311,312],{},"\u003Cfilename>"," with the name of the file containing the sensitive information.\nBFG output will show all the changes done and even display individual commits that would have changed.",[223,315],{},"If you look into files that have changed, then you'll notice all the sensitive information that matched would be replaced with ",[95,318,319],{},"**REMOVED**"," placeholder.",[40,322,323,326,327],{},[15,324,325],{},"Rewrite Git History",": After using BFG Repo-Cleaner, you'll need to rewrite your Git history to apply the changes. Use the following commands:",[88,328,330],{"className":90,"code":329,"language":92,"meta":93,"style":93},"git reflog expire --expire=now --all && git gc --prune=now --aggressive\n",[95,331,332],{"__ignoreMap":93},[98,333,334,336,339,342,345,348,351,353,356,359],{"class":100,"line":101},[98,335,141],{"class":104},[98,337,338],{"class":116}," reflog",[98,340,341],{"class":116}," expire",[98,343,344],{"class":108}," --expire=now",[98,346,347],{"class":108}," --all",[98,349,350],{"class":120}," && ",[98,352,141],{"class":104},[98,354,355],{"class":116}," gc",[98,357,358],{"class":108}," --prune=now",[98,360,361],{"class":108}," --aggressive\n",[40,363,364,367,368,389,391,392,395],{},[15,365,366],{},"Force Push",": To update your remote repository with the new, cleaned history, you'll need to force push:",[88,369,371],{"className":90,"code":370,"language":92,"meta":93,"style":93},"git push origin cleanup-branch --force\n",[95,372,373],{"__ignoreMap":93},[98,374,375,377,380,383,386],{"class":100,"line":101},[98,376,141],{"class":104},[98,378,379],{"class":116}," push",[98,381,382],{"class":116}," origin",[98,384,385],{"class":116}," cleanup-branch",[98,387,388],{"class":108}," --force\n",[223,390],{},"Be cautious when using ",[95,393,394],{},"--force"," as it overwrites the remote history. Make sure you have the necessary permissions to do this.",[40,397,398,401],{},[15,399,400],{},"Review and Merge",": After successfully removing the sensitive information, review the changes in your cleanup branch to ensure everything is in order. If all looks good, you can merge the cleanup branch into your main branch.",[40,403,404,407,408],{},[15,405,406],{},"Destroy the Cleanup Branch",": Once you've merged the changes, you can delete the cleanup branch:",[88,409,411],{"className":90,"code":410,"language":92,"meta":93,"style":93},"git branch -d cleanup-branch\n",[95,412,413],{"__ignoreMap":93},[98,414,415,417,420,423],{"class":100,"line":101},[98,416,141],{"class":104},[98,418,419],{"class":116}," branch",[98,421,422],{"class":108}," -d",[98,424,150],{"class":116},[26,426],{},[11,428,429],{},"Removing sensitive information from your Git history is a crucial step in maintaining the security and integrity of your project. By following the steps outlined in this guide, you can effectively clean up your repository while preserving your project's reputation and compliance with security standards.",[11,431,432],{},"Remember always to exercise caution when dealing with Git history rewriting, especially when using force pushes. Make sure to communicate any changes to your team and follow best practices to prevent accidental pushes of sensitive data in the future. Happy coding!",[29,434,436],{"id":435},"resources","Resources",[438,439,440,449,456],"ul",{},[40,441,442],{},[443,444,448],"a",{"href":445,"rel":446},"https:\u002F\u002Fgithub.com\u002Frtyley\u002Fbfg-repo-cleaner",[447],"nofollow","BFG repo",[40,450,451],{},[443,452,455],{"href":453,"rel":454},"https:\u002F\u002Fdocs.github.com\u002Fen\u002Fauthentication\u002Fkeeping-your-account-and-data-secure\u002Fremoving-sensitive-data-from-a-repository",[447],"Guide from Github",[40,457,458],{},[443,459,462],{"href":460,"rel":461},"https:\u002F\u002Famzn.to\u002F3qAj23l",[447],"Book: Pro Git",[464,465,466],"blockquote",{},[11,467,468,469,160,474,479],{},"Do explore articles on ",[443,470,473],{"href":471,"rel":472},"https:\u002F\u002Fwww.mohitkhare.com\u002Fcategories\u002Fgolang",[447],"Golang",[443,475,478],{"href":476,"rel":477},"https:\u002F\u002Fwww.mohitkhare.com\u002Fcategories\u002Fsystem%20design",[447],"System Design",". You'll learn something new 💡",[26,481],{},[11,483,484,485,490],{},"Liked the article? Consider ",[443,486,489],{"href":487,"rel":488},"https:\u002F\u002Fwww.buymeacoffee.com\u002FchHAzigTb",[447],"supporting me"," ☕️",[11,492,493],{},"I hope you learned something new. Feel free to suggest improvements ✔️",[11,495,496,497,502],{},"I share regular updates and resources on ",[443,498,501],{"href":499,"rel":500},"https:\u002F\u002Ftwitter.com\u002Fmkfeuhrer",[447],"Twitter",". Let's connect!",[11,504,505],{},[15,506,507],{},"Keep exploring 🔎 Keep learning 🚀",[509,510,511],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":93,"searchDepth":138,"depth":138,"links":513},[514,515,516],{"id":31,"depth":138,"text":32},{"id":65,"depth":138,"text":66},{"id":435,"depth":138,"text":436},"Securing Git: Removing Sensitive Information with BFG",[519,520],"Git","Programming","Protect your code from security breaches by using BFG tool to remove sensitive information from Git history. Learn how to do it in this comprehensive guide.",false,"md","blog\u002Fgit-remove-sensitive-info\u002Fgit-remove-sensitive-info-card.webp","git, git history, git security, bfg tool, code security, git remove sensitive information",{},"git-remove-sensitive-info","\u002Fblog\u002Fgit-remove-sensitive-info",{"title":5,"description":521},"blog\u002Fgit-remove-sensitive-info","2023-10-16","RtFuwzm0koX_JtpHeE3G6ieQKJrgf9ek8dyv8GwuIDE",[534,541,547,555,564,570,577,584,590,596,602,608,614,623,629,636,643,650,656,662,668,670,676,682,688,694,700,706,713,720,726,732,738,744,750,756,762,768,774,780,786,792,798,805,811,817,823,830,836,842,849,856,862,869,875,882,888,895,901,907,913,919,925,931,937,943,949,955,961,967,974,980,987,993,999,1005,1012,1018],{"path":535,"title":536,"description":537,"categories":538,"draft":195,"year":540,"series":6},"\u002Fblog\u002Fai-assisted-workstation","Building an AI-Assisted Personal Workstation","How I built a personal AI workstation: markdown knowledge base, portable agent skills, handoff-driven sessions. What worked, what broke, what I would change.",[539,520],"Productivity","2026-08-26",{"path":542,"title":543,"description":544,"categories":545,"draft":522,"year":546,"series":6},"\u002Fblog\u002Faws-s3-golang","Uploading images to AWS S3 in Golang","In this tutorial I cover how to upload, fetch and manage other operations for objects on AWS S3 in Golang",[473,520],"2020-01-12",{"path":548,"title":549,"description":550,"categories":551,"draft":522,"year":554,"series":6},"\u002Fblog\u002Fbooks-for-engineers","Best Books for Software Engineers","Best Books to help you build you software engineering career - ranging from fundamentats, interview prep to productivity.",[552,553],"Books","Life","2021-12-26",{"path":556,"title":557,"description":558,"categories":559,"draft":522,"year":563,"series":6},"\u002Fblog\u002Fbuilding-acrons","Building Acrons 🚀","Building Acrons, a one-stop tool to decode everyday acronyms like DIY, FOMO, and BRB without losing your flow.",[560,561,562],"Side Projects","Web","Tools","2020-05-26",{"path":565,"title":566,"description":567,"categories":568,"draft":522,"year":569,"series":6},"\u002Fblog\u002Fcap-theorem","CAP Theorem Explained","Learn the concept and misconceptions around popular CAP theorem in system design.",[478,520],"2021-07-26",{"path":571,"title":572,"description":573,"categories":574,"draft":522,"year":576,"series":6},"\u002Fblog\u002Fcode-reviews","Code Review Checklist","Why code reviews matter, and best practices that catch bugs early and keep code quality high before merge.",[575],"Engineering Principles","2020-07-20",{"path":578,"title":579,"description":580,"categories":581,"draft":522,"year":583,"series":6},"\u002Fblog\u002Fdark-mode","Add Dark mode to websites","Dark mode is ❤️️ Add it to your websites with little CSS and JS",[582,561],"Javascript","2020-07-04",{"path":585,"title":586,"description":587,"categories":588,"draft":522,"year":589,"series":6},"\u002Fblog\u002Fdate-time-golang","Working with Date and Time in Go","Learn how to use time in Golang - Multiple formats, locations and using date.",[473,520],"2020-10-09",{"path":591,"title":592,"description":593,"categories":594,"draft":522,"year":595,"series":6},"\u002Fblog\u002Fdefer-in-golang","Understanding Defer In Golang","Learn about defer keyword in golang and how it can help you avoid panics due to bugs.",[473,520],"2021-05-05",{"path":597,"title":598,"description":599,"categories":600,"draft":522,"year":601,"series":6},"\u002Fblog\u002Fenums-golang","Implementing Enums in Golang","Enums are a way to defined set of constant values. Learn how to implement enums in Go using iota with examples.",[473,520],"2021-12-18",{"path":603,"title":604,"description":605,"categories":606,"draft":522,"year":607,"series":6},"\u002Fblog\u002Fenvironment-variable-golang","Guide to Environment variables in Go","Learn what are environment variables and how to use them in Go",[473,520],"2020-08-14",{"path":609,"title":610,"description":611,"categories":612,"draft":522,"year":613,"series":6},"\u002Fblog\u002Ferror-handling-golang","Handle errors the right way — Golang","How to handle errors in golang to make your life easy",[473,520],"2020-01-30",{"path":615,"title":616,"description":617,"categories":618,"draft":195,"year":620,"series":621},"\u002Fblog\u002Ffile-attack-document-macros","File Attack Deep Dives, Part 3: Document Macros","How malicious VBA hides in vbaProject.bin, which AutoOpen entry points fire it, and the sandbox signals that catch it.",[44,619],"Systems","2026-09-17",{"name":622,"part":183},"File Attack Deep Dives",{"path":624,"title":625,"description":626,"categories":627,"draft":522,"year":540,"series":628},"\u002Fblog\u002Ffile-attack-field-guide","How File-Based Attacks Land: A Detection Engineer's Field Guide","A practical taxonomy of how malware and phishing arrive as files, why classic controls miss them, and how detection should think.",[44,619],{"name":622,"part":101},{"path":630,"title":631,"description":632,"categories":633,"draft":195,"year":634,"series":635},"\u002Fblog\u002Ffile-attack-html-smuggling","File Attack Deep Dives, Part 2: HTML Smuggling","How attackers assemble malware inside the browser with Blob URLs, and the URL and script tells that catch it.",[44,619],"2026-09-10",{"name":622,"part":138},{"path":637,"title":638,"description":639,"categories":640,"draft":195,"year":641,"series":642},"\u002Fblog\u002Ffile-attack-lnk-iso","File Attack Deep Dives, Part 5: LNK and ISO Smuggling","How ISO containers and weaponized shortcuts bypass Mark of the Web, and the forensic fields that catch them.",[44,619],"2026-10-01",{"name":622,"part":199},{"path":644,"title":645,"description":646,"categories":647,"draft":195,"year":648,"series":649},"\u002Fblog\u002Ffile-attack-pdf-url-actions","File Attack Deep Dives, Part 4: PDF URL Actions","How PDF OpenAction, Launch, and URI actions turn opening a document into a phishing click, and the action audit that catches them.",[44,619],"2026-09-24",{"name":622,"part":192},{"path":651,"title":652,"description":653,"categories":654,"draft":522,"year":655,"series":6},"\u002Fblog\u002Ffile-upload-golang","Uploading Files in Golang with Multipart Request","Learn how to upload files from your client to server as a multipart request in Golang.",[473,520],"2021-03-13",{"path":657,"title":658,"description":659,"categories":660,"draft":522,"year":661,"series":6},"\u002Fblog\u002Fgit-branch","Git Branch 101","Branching is a new path of development that makes it a lot easier to build features. Learn why and how to use branching in git.",[519,520],"2022-03-20",{"path":663,"title":664,"description":665,"categories":666,"draft":522,"year":667,"series":6},"\u002Fblog\u002Fgit-pull-request-template","Guide to Pull Request Templates","Improve collaboration and code reviews with pull request templates. Blog include PR template and how to create one on github\u002Fgitlab",[519,520],"2023-08-24",{"path":528,"title":5,"description":521,"categories":669,"draft":522,"year":531,"series":6},[519,520],{"path":671,"title":672,"description":673,"categories":674,"draft":522,"year":675,"series":6},"\u002Fblog\u002Fgit-tags-explained","Git tags : Explained","What Git tags are, why and when to use them, and how to start tagging releases in your own projects.",[519,520],"2020-06-18",{"path":677,"title":678,"description":679,"categories":680,"draft":522,"year":681,"series":6},"\u002Fblog\u002Fgo-dependency-injection","Dependency Injection in Go using Wire","Learn about dependency injection, its benefits and how to implement it in Go services using wire",[473,520],"2022-11-26",{"path":683,"title":684,"description":685,"categories":686,"draft":522,"year":687,"series":6},"\u002Fblog\u002Fgo-generics","Introduction to Generics in Go","Learn about generics in Golang, it's benefits and how to implement it in applications.",[473,520],"2022-11-27",{"path":689,"title":690,"description":691,"categories":692,"draft":522,"year":693,"series":6},"\u002Fblog\u002Fgo-in-memory-cache","Building In-Memory Cache in Go","Learn about in-memory caching in Golang, it's benefits and how to implement it with and without generics with a TTL(expiry).",[473,520],"2024-03-28",{"path":695,"title":696,"description":697,"categories":698,"draft":522,"year":699,"series":6},"\u002Fblog\u002Fgo-makefile","Ultimate Makefile for Golang","Boost your productivity and save time with ultimate Makefile for Golang projects.",[473,520],"2024-06-10",{"path":701,"title":702,"description":703,"categories":704,"draft":522,"year":705,"series":6},"\u002Fblog\u002Fgo-middleware","Mastering Middlewares in Golang","Learn about middlewares, their use cases and how to implement them in Golang applications",[473,520],"2022-03-13",{"path":707,"title":708,"description":709,"categories":710,"draft":522,"year":712,"series":6},"\u002Fblog\u002Fgo-naming-conventions","Naming Conventions in Golang","Why naming conventions matter in Go, with best practices and practical examples for clear, readable, maintainable code.",[473,520,711],"Code Quality","2023-05-19",{"path":714,"title":715,"description":716,"categories":717,"draft":522,"year":719,"series":6},"\u002Fblog\u002Fgo-with-redis","Go with Redis","A practical introduction to using Redis with Golang to make your applications faster with in-memory data storage.",[473,718,520],"Database","2020-05-03",{"path":721,"title":722,"description":723,"categories":724,"draft":522,"year":725,"series":6},"\u002Fblog\u002Fgolang-maps","Learn Maps in Golang (with examples)","A complete guide to maps in Golang: creating maps, adding and removing items, iterating, and how map equality works.",[473,520],"2020-09-10",{"path":727,"title":728,"description":729,"categories":730,"draft":522,"year":731,"series":6},"\u002Fblog\u002Fguide-to-cdn","Guide to Content Delivery Network","CDN is one of the backbone of modern world internet infrastructure. Learn about Content Delivery Network, it's working, types and benefits.",[478,520],"2022-01-23",{"path":733,"title":734,"description":735,"categories":736,"draft":522,"year":737,"series":6},"\u002Fblog\u002Fguide-to-rule-engines","Guide to Rule Engines","Rule Engines help in solving changing business requirements with ease. Learn all about Rule engines, it's working, benefits and how to implement one in Golang",[473,520],"2022-09-12",{"path":739,"title":740,"description":741,"categories":742,"draft":522,"year":743,"series":6},"\u002Fblog\u002Fhexagonal-architecture","Guide to Hexagonal Architecture","Learn how to design efficient application with hexagonal architecture with practical example",[478,520],"2020-12-13",{"path":745,"title":746,"description":747,"categories":748,"draft":522,"year":749,"series":6},"\u002Fblog\u002Fhttp-status-codes","Learn HTTP Status Codes","A tour of HTTP response status codes, what each class means, and when to use which code in your applications.",[561,520],"2020-07-30",{"path":751,"title":752,"description":753,"categories":754,"draft":522,"year":755,"series":6},"\u002Fblog\u002Fintroduction-to-goroutines","Introduction to Goroutines","Understand the basics of concurrency and learn how to work with Goroutines in golang.",[473,520],"2021-04-10",{"path":757,"title":758,"description":759,"categories":760,"draft":522,"year":761,"series":6},"\u002Fblog\u002Fjson-in-postgres-with-golang","Storing JSON in Postgres with Golang","Learn how to store JSON objects in Postgres and how to implement it in Golang.",[520,718,473],"2021-02-13",{"path":763,"title":764,"description":765,"categories":766,"draft":522,"year":767,"series":6},"\u002Fblog\u002Fjson-web-token","Complete Guide to JWT","JSON Web Tokens are a very compact way to carry information. Learn about JWTs in depth, from its structure to when to use it.",[520,561],"2021-11-20",{"path":769,"title":770,"description":771,"categories":772,"draft":522,"year":773,"series":6},"\u002Fblog\u002Flearn-to-say-no","Learning to say No","Learn why it's important to say 'NO'. How it helps in increasing productivity and explore strategies for saying No",[553,552],"2022-04-09",{"path":775,"title":776,"description":777,"categories":778,"draft":522,"year":779,"series":6},"\u002Fblog\u002Flearn-unlearn-relearn","Learn - Unlearn - Relearn","Unlearning things to learn new is the way to grow. Discover how to do that!",[539,553],"2020-09-25",{"path":781,"title":782,"description":783,"categories":784,"draft":522,"year":785,"series":6},"\u002Fblog\u002Flinting-in-golang","Introduction to Linting in Go","Introduction to improving code quality using linting. Learn how to add linting in your Go projects.",[473,520],"2021-07-07",{"path":787,"title":788,"description":789,"categories":790,"draft":522,"year":791,"series":6},"\u002Fblog\u002Fload-balancing","Load Balancing 101","Complete guide on load balancers explaining the internal working and how does it help in making applications efficient.",[478,520],"2021-05-29",{"path":793,"title":794,"description":795,"categories":796,"draft":522,"year":797,"series":6},"\u002Fblog\u002Fmaking-decisions-the-right-way","Making Decisions: The right way","Decisions are hard! Learn how to make the right decisions always",[539,553],"2020-06-07",{"path":799,"title":800,"description":801,"categories":802,"draft":522,"year":804,"series":6},"\u002Fblog\u002Fmanage-logs-with-logrotate","Using Logrotate to manage logs","Learn how to use logrotate system utility to manage logs with example",[803,520],"Linux","2020-09-08",{"path":806,"title":807,"description":808,"categories":809,"draft":522,"year":810,"series":6},"\u002Fblog\u002Fmarshal-structs-golang","Marshal structs the right way: Golang","Why Golang marshals empty structs into your JSON instead of null, and how to marshal structs the right way.",[473,520],"2020-03-31",{"path":812,"title":813,"description":814,"categories":815,"draft":522,"year":816,"series":6},"\u002Fblog\u002Fnotes-almanack-naval","Book Notes : Almanack of Naval Ravikant","My notes\u002Fhighlights from Almanack of Naval Ravikant book by Eric Jorgenson",[552,553],"2020-10-17",{"path":818,"title":819,"description":820,"categories":821,"draft":522,"year":822,"series":6},"\u002Fblog\u002Fnotes-anything-you-want","Book Notes : Anything you want","My notes\u002Fhighlights from Anything you want book by Derek Sivers",[552,553],"2021-09-25",{"path":824,"title":825,"description":826,"categories":827,"draft":522,"year":829,"series":6},"\u002Fblog\u002Fnotes-getting-real","Book Notes : Getting Real","My notes and highlights from Getting Real by Jason Fried and David Heinemeier Hansson on building web applications.",[552,828],"Startups","2020-11-03",{"path":831,"title":832,"description":833,"categories":834,"draft":522,"year":835,"series":6},"\u002Fblog\u002Fnotes-hell-yeah-or-no","Book Notes : Hell Yeah or No","My notes\u002Fhighlights from Hell Yeah or No book by Derek Sivers",[552,553],"2020-09-16",{"path":837,"title":838,"description":839,"categories":840,"draft":522,"year":841,"series":6},"\u002Fblog\u002Fnotes-how-to-be-a-capitalist","Book Notes : How to Be a Capitalist Without Any Capital","My notes\u002Fhighlights from How to Be a Capitalist Without Any Capital by Nathan Latka",[552,828],"2020-01-07",{"path":843,"title":844,"description":845,"categories":846,"draft":522,"year":848,"series":6},"\u002Fblog\u002Fnotes-lean-b2b","Book Notes : Lean B2B","My notes and highlights from Lean B2B by Étienne Garbugli on assessing markets, building MVPs, and selling to businesses.",[552,847],"Entrepreneurship","2022-07-02",{"path":850,"title":851,"description":852,"categories":853,"draft":522,"year":855,"series":6},"\u002Fblog\u002Fnotes-lets-talk-money","Book Notes : Let's Talk Money","My notes and highlights from Let's Talk Money by Monica Halan on managing personal finances and savings.",[552,854],"Personal Finance","2021-02-26",{"path":857,"title":858,"description":859,"categories":860,"draft":522,"year":861,"series":6},"\u002Fblog\u002Fnotes-obviously-awesome","Book Notes : Obviously Awesome","My notes and highlights from Obviously Awesome by April Dunford on product positioning and marketing strategy.",[552,828],"2020-04-26",{"path":863,"title":864,"description":865,"categories":866,"draft":522,"year":868,"series":6},"\u002Fblog\u002Fnotes-refactoring-ui","Book Notes: Refactoring UI","My notes and highlights from Refactoring UI by Adam Wathan and Steve Schoger, full of practical design tips for engineers.",[552,867],"Design","2020-05-09",{"path":870,"title":871,"description":872,"categories":873,"draft":522,"year":874,"series":6},"\u002Fblog\u002Fnotes-rework","Book Notes: Rework","My notes and highlights from Rework by Jason Fried and David Heinemeier Hansson on a better way to succeed in business.",[552,828],"2021-04-14",{"path":876,"title":877,"description":878,"categories":879,"draft":522,"year":881,"series":6},"\u002Fblog\u002Fone-on-one-meetings","Guide to Effective 1:1 Meetings","One on One meetings are important for your personal & professional growth. Learn how to master 1:1s with your manager and peers.",[880,539],"Career","2023-03-05",{"path":883,"title":884,"description":885,"categories":886,"draft":522,"year":887,"series":6},"\u002Fblog\u002Fpersonal-okrs","Personal OKRs for Success","Why one should set personal OKRs and how to achieve success with them",[539,553],"2020-06-27",{"path":889,"title":890,"description":891,"categories":892,"draft":522,"year":894,"series":6},"\u002Fblog\u002Fpoker-tips","Poker Tips: Johns Hopkins Poker Class","Notes from Johns Hopkins poker course. This guide will help you improve in Poker and win some large pots.",[553,893],"Poker","2020-06-13",{"path":896,"title":897,"description":898,"categories":899,"draft":522,"year":900,"series":6},"\u002Fblog\u002Fpomodoro","Get work done: The Pomo Way","Learn to focus and get productive by following the Pomodoro Technique",[539],"2020-10-24",{"path":902,"title":903,"description":904,"categories":905,"draft":522,"year":906,"series":6},"\u002Fblog\u002Fpostgres-constraints","Postgres Constraints","Constraints are line of defense for database. Explore various types of constrainsts in postgres",[718,520],"2020-11-07",{"path":908,"title":909,"description":910,"categories":911,"draft":522,"year":912,"series":6},"\u002Fblog\u002Fppf-explained","PPF Explained","Learn basics about Public Provident Fund and why you should invest",[553,854],"2020-12-24",{"path":914,"title":915,"description":916,"categories":917,"draft":522,"year":918,"series":6},"\u002Fblog\u002Fproductivity-chrome-extensions","Boost Productivity with Chrome Extensions","Utitizing chrome extensions to boost your productivity!",[539,562,561],"2020-04-24",{"path":920,"title":921,"description":922,"categories":923,"draft":522,"year":924,"series":6},"\u002Fblog\u002Fproductivity-in-vscode","Improve your productivity with VS Code","Key VS Code features like the integrated terminal, shortcuts, and extensions that improved my everyday productivity.",[539,520],"2020-03-12",{"path":926,"title":927,"description":928,"categories":929,"draft":522,"year":930,"series":6},"\u002Fblog\u002Freading-101","Improving Reading 101","Why reading matters, how to build a reading habit, and what to read next - from my own journey into books.",[552,553],"2020-04-04",{"path":932,"title":933,"description":934,"categories":935,"draft":522,"year":936,"series":6},"\u002Fblog\u002Freverse-proxy","Understanding Reverse Proxy","Learn about reverse proxy, how it is different from forward proxy and explore advantages of using it in system design.",[478,520],"2021-10-03",{"path":938,"title":939,"description":940,"categories":941,"draft":522,"year":942,"series":6},"\u002Fblog\u002Frunning-periodic-background-task-golang","Running periodic background tasks in Golang","How to run periodic background tasks in Golang by combining cron-style scheduling with background execution.",[473,520],"2019-11-21",{"path":944,"title":945,"description":946,"categories":947,"draft":522,"year":948,"series":6},"\u002Fblog\u002Fsessions-in-golang","Sessions using Golang and Redis","How cookies and sessions work, and how to implement persistent login sessions in Golang using Redis.",[473,718,520],"2020-02-25",{"path":950,"title":951,"description":952,"categories":953,"draft":522,"year":954,"series":6},"\u002Fblog\u002Fsolid-dry-kiss-yagni","Solid Dry Kiss Yagni","An introduction to the SOLID, DRY, KISS, and YAGNI principles and how they help you write cleaner, robust code.",[575],"2020-07-17",{"path":956,"title":957,"description":958,"categories":959,"draft":522,"year":960,"series":6},"\u002Fblog\u002Fstack-in-golang","Implement Stack in Golang","Learn how to implement stack data structure in Golang (Full code)",[473,520],"2020-09-14",{"path":962,"title":963,"description":964,"categories":965,"draft":522,"year":966,"series":6},"\u002Fblog\u002Fstart-oss-today","Start your Open Source journey today","Start your OSS journey with intro to GIT. Participate in Hacktoberfest!",[519,520],"2020-09-19",{"path":968,"title":969,"description":970,"categories":971,"draft":522,"year":973,"series":6},"\u002Fblog\u002Fsticky-social-bar","Sticky social share component in HTML","Learn how to build a social media sharing component in HTML and add it to your website.",[520,972],"Frontend","2021-02-05",{"path":975,"title":976,"description":977,"categories":978,"draft":522,"year":979,"series":6},"\u002Fblog\u002Fterm-insurance","Term insurance Simplified","Everything you need to know before you buy a term insurance.",[553,854],"2020-11-29",{"path":981,"title":982,"description":983,"categories":984,"draft":522,"year":986,"series":6},"\u002Fblog\u002Fterminal-output-with-redirection","Handling terminal outputs with Redirection","Learn how to handle terminal outputs with Redirection and saving it to files",[803,985,520],"Terminal","2020-09-06",{"path":988,"title":989,"description":990,"categories":991,"draft":522,"year":992,"series":6},"\u002Fblog\u002Fthink-and-grow-rich","Book Notes: Think and Grow Rich","My notes and highlights from Think and Grow Rich by Napoleon Hill, covering its process for building wealth.",[552,553],"2020-05-19",{"path":994,"title":995,"description":996,"categories":997,"draft":522,"year":998,"series":6},"\u002Fblog\u002Ftransactions-postgres-golang","Transactions on Postgres with Golang","Performing Postgres database operations in Golang with GORM, from basic queries to full transaction support.",[473,718,520],"2020-03-18",{"path":1000,"title":1001,"description":1002,"categories":1003,"draft":522,"year":1004,"series":6},"\u002Fblog\u002Fwaitgroups-in-golang","WaitGroups in Golang","Learn about WaitGroups in golang and how to use them to perform concurrent operations without blocking the main thread.",[473,520],"2022-05-31",{"path":1006,"title":1007,"description":1008,"categories":1009,"draft":522,"year":1011,"series":6},"\u002Fblog\u002Fwhat-i-use","What I Use: Products and Softwares","List of what I use in my day to day life ranging from terminal, editors, softwares, devices to accessories",[553,1010],"Tech","2024-06-01",{"path":1013,"title":1014,"description":1015,"categories":1016,"draft":522,"year":1017,"series":6},"\u002Fblog\u002Fyear-in-review-2020","Year in Review: 2020","It's a wrap! 2020 was a crazy year, See how my year went!",[553],"2020-12-31",{"path":1019,"title":1020,"description":1021,"categories":1022,"draft":522,"year":1023,"series":6},"\u002Fblog\u002Fyear-in-review-2021","Year in Review: 2021","It's a wrap! 2021 was a mixed bag, full of ups and downs. Key Goal for 2022: Start now!",[553],"2021-12-31",1788773187219]