Skip to content

Instantly share code, notes, and snippets.

View RahulJyala7's full-sized avatar
🎯
Focusing

Rahul Jyala RahulJyala7

🎯
Focusing
View GitHub Profile
@RahulJyala7
RahulJyala7 / Servers
Created October 20, 2019 08:36
Server NOTES
Nginx => http://nginx.org/en/docs/beginners_guide.html
----Load Balancing-----
https://en.wikipedia.org/wiki/Load_balancing_(computing)
------- Reserve Proxy vs Forward Proxy --------
https://www.linuxbabe.com/it-knowledge/differences-between-forward-proxy-and-reverse-proxy
@RahulJyala7
RahulJyala7 / Design Patterns
Last active October 20, 2019 08:55
Design Patterns
---------Design Patterns must read easy way-----------------
https://github.com/feixiao/DesignPattern/tree/master/Java
------------Good Ans ----------------
https://stackoverflow.com/questions/2876616/returning-ienumerablet-vs-iqueryablet
@RahulJyala7
RahulJyala7 / bitwise-operators.md
Last active July 23, 2024 05:40 — forked from dideler/bitwise-operators.md
Bitwise tricks

Inspired by this article. Neat tricks for speeding up integer computations.

Note: cin.sync_with_stdio(false); disables synchronous IO and gives you a performance boost. If used, you should only use cin for reading input (don't use both cin and scanf when sync is disabled, for example) or you will get unexpected results.

Multiply by a power of 2

x = x << 1; // x = x * 2

@RahulJyala7
RahulJyala7 / Bloom Filter
Last active October 5, 2019 15:54
Bloom Filter
1) A Bloom filter is a space-efficient probabilistic data structure that is used to test whether an element is a member of a set
For example, checking availability of username is set membership problem, where the set is the list of all registered username.
The price we pay for efficiency is that it is probabilistic in nature that means, there might be some False Positive results.
False positive means, it might tell that given username is already taken but actually it’s not.
2) The base data structure of a Bloom filter is a Bit Vector
@RahulJyala7
RahulJyala7 / bobp-python.md
Created September 24, 2019 14:45 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@RahulJyala7
RahulJyala7 / Analysis of Algo
Last active August 19, 2019 09:02
Analysis of Algo
#https://en.wikipedia.org/wiki/Analysis_of_algorithms
The rate at which the running time increases as a function of input is called rate of growth
Worst case
○ Defines the input for which the algorithm takes a long time (slowest time to complete).
○ Input is the one for which the algorithm runs the slowest.
○ Big O notation is a convenient way to express the worst-case scenario for a given algorithm
Best case
@RahulJyala7
RahulJyala7 / Git Repo ML
Last active October 7, 2019 06:12
Git Repo ML
https://github.com/Vay-keen/Machine-learning-learning-notes
#do not miss
https://github.com/Yorko/mlcourse.ai
https://github.com/roboticcam/machine-learning-notes
The difference between these two, is that devDependencies are modules which are only required during development.
while dependencies are modules which are also required at runtime.
@RahulJyala7
RahulJyala7 / Core must having
Last active July 30, 2019 11:58
hello DOTNET-CORE
Transient objects are always different; a new instance is provided to every controller and every service.
Scoped objects are the same within a request, but different across different requests.
Singleton objects are the same for every object and every request.
--------------------------------CLR--------------------------------------------
https://www.geeksforgeeks.org/common-language-runtime-clr-in-c-sharp/