Try   HackMD
  •  
    BadCoders
    ·
    Last edited by vishwassingh910 on Sep 25, 2021
    Linked with GitHub
    Contributed by
  • Edit
Log in to edit or delete your comments and be notified of replies.
Sign upAlready have an account? Log in
There is no commentSelect some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Last changed by 

 
BadCoders
Developed by/for coders who are good at writing bad code.
0
135

Read more

Competitive Coding

Longest Substring Without Repeating Characters https://leetcode.com/problems/longest-substring-without-repeating-characters/ Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. /**

Feb 11, 2022
Competitive Coding : Standard Alogorithms

Sorting: https://leetcode.com/problems/sort-an-array/ Quick Sort: :::info Divide and Conquer Algorithm. In-Place Sorting Algorithm (No extra auxilary space needed) It picks an element as pivot and partitions the given array around the picked pivot.

Feb 11, 2022
How Does HTTPS(HyperText Markup Language Secure) Works

Advantages of HTTPS(Secure) over HTTP Data is encrypted before sending in HTTPs (Prevents Man In The Middle Attacks i.e Reading sniffed packtes). HTTPS does not have any separate protocol. It operates using HTTP but uses encrypted TLS/SSL connection and HTTP is build on top of TCP protocol. :::info TCP works on Application Layer but in addition to this, in HTTPS SSL/TLS works on the Transport Layer. More about OSI model is here ::: HTTPs requires SSL certificate and it should be signed by trusted Certificate Authority(CA) (Prevents Phishing,MITM Attacks). HTTPS connection(SSL/TLS Handshake)

Nov 24, 2020
**Health Check API**

You have applied the Microservice architecture pattern. Sometimes a service instance can be incapable of handling requests yet still be running. For example, it might have run out of database connections. When this occurs, the monitoring system should generate an alert. How to detect that a running service instance or HTTP server is unable to handle requests? In a microservice MYSQL, Redis, and RabbitMq is used, then how to make sure MYSQL, Redis, and RabbitMQ are alive. Create an API for the health check of the server. In which we are checking the connection of MYSQL, Redis, and RabbitMQ. How to check MySQL Health? MySQL Health check code in NodeJs with TypeScript.

Nov 1, 2020
Read more from BadCoders

Published on HackMD
    Expand allBack to topGo to bottom
Expand allBack to topGo to bottom

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up