Skip to content

Instantly share code, notes, and snippets.

View navind062g's full-sized avatar
🎯
Focusing

Navin Dhirwani navind062g

🎯
Focusing
View GitHub Profile
@navind062g
navind062g / MyLoggerConfig.java
Created January 30, 2023 21:34
Logging Configuration for Spring Application
package com.code.section.ten;
import java.util.logging.ConsoleHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
@navind062g
navind062g / System Design.md
Created July 26, 2022 17:34 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@navind062g
navind062g / review-checklist-draft.md
Last active December 16, 2020 22:01
Markdown Practice01
  • Run Tests
  • Preview Changes on Staging Server
  • Review Styleguide
@navind062g
navind062g / main.js
Created December 14, 2020 04:24
Mysterious Organism Project
// Returns a random DNA base
const returnRandBase = () => {
const dnaBases = ['A', 'T', 'C', 'G'];
return dnaBases[Math.floor(Math.random() * 4)];
};
// Returns a random single stand of DNA containing 15 bases
const mockUpStrand = () => {
const newStrand = [];
for (let i = 0; i < 15; i++) {