Skip to content

Instantly share code, notes, and snippets.

View gaurav9822's full-sized avatar

Gaurav Deshpande gaurav9822

  • India
View GitHub Profile
@vasanthk
vasanthk / System Design.md
Last active July 21, 2026 04:19
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?
@soifou
soifou / iTerm2.md
Last active August 31, 2024 17:26
iTerm2 Shortcuts

iTerm2 Shortcuts

Tab navigation

  • open new tab: Cmd + t
  • next tab: Cmd + Shift + ]
  • previous tab: Cmd + Shift + [

Pane navigation

@squarism
squarism / iterm2.md
Last active July 14, 2026 10:11
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
@PeterDing
PeterDing / reading.md
Created April 11, 2015 03:20
learn CS totally

ALGORITHM:

C 学习笔记.pdf
http://www.math.pku.edu.cn/teachers/qiuzy/ds_python/courseware/index.htm
数据结构, C语言版 by 严蔚敏, 吴伟民.pdf
Data Structures & Algorithm Analysis in C++, Fourth Edition by Mark A. Weiss.pdf
Programming Pearls, Second Edition by Jon Bentley.pdf
More Programming Pearls -- Confessions of a Coder by Jon Bentley.pdf
The Algorithm Design Manual, Second Edition by Steven S Skiena.pdf

Cracking the Coding Interview -- 150 Programming Questions and Solutions.pdf

@psayre23
psayre23 / gist:c30a821239f4818b0709
Last active March 9, 2026 09:44
Runtime Complexity of Java Collections
Below are the Big O performance of common functions of different Java Collections.
List | Add | Remove | Get | Contains | Next | Data Structure
---------------------|------|--------|------|----------|------|---------------
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array
@vdevigere
vdevigere / standalone.xml
Created October 23, 2014 23:56
Disabling the default logging in Wildfly and use application provided log4j and slf4j libraries
<subsystem xmlns="urn:jboss:domain:logging:2.0">
<add-logging-api-dependencies value="false"/>
<use-deployment-logging-config value="false"/>
....
</subsystem>
@jgold6
jgold6 / gist:66d44b58266cc912fc05
Created September 12, 2014 01:15
OS X terminal commands
OS X Terminal Commands
Mail: get read receipts
defaults write com.apple.mail UserHeaders '{"Disposition-Notification-To" = "myname <my@email.com>";}'
to stop read receipts
defaults delete com.apple.mail UserHeaders
mirror source to destination:
rsync -aE --delete "/path/to/source/" "/path/to/destination/"
@staltz
staltz / introrx.md
Last active July 19, 2026 16:25
The introduction to Reactive Programming you've been missing
@swenson
swenson / gist:cf74cd8e282443b43b8a
Created May 21, 2014 15:51
Google Interview Study Guide
Author unknown.
1.) Algorithm Complexity: You need to know Big-O. If you struggle with
basic big-O complexity analysis, then you are almost guaranteed not to
get hired.
For more information on Algorithms you can visit:
http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=alg_index
2.) Coding: You should know at least one programming language really
well, and it should preferably be C++ or Java. C# is OK too, since
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active July 16, 2026 19:50
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\