Skip to content

Instantly share code, notes, and snippets.

@peanutpi
peanutpi / server_config.md
Last active August 18, 2016 12:11
server config

Notes

Steps to secure Ubuntu server

1. Get started

passwd
@peanutpi
peanutpi / good_read.md
Last active August 16, 2016 14:32
Good books to read for a developer
  • Code Complete (2nd edition) by Steve McConnell
  • The Pragmatic Programmer
  • Structure and Interpretation of Computer Programs
  • The C Programming Language by Kernighan and Ritchie
  • Introduction to Algorithms by Cormen, Leiserson, Rivest & Stein
  • Design Patterns by the Gang of Four
  • Refactoring: Improving the Design of Existing Code
  • The Mythical Man Month
  • The Art of Computer Programming by Donald Knuth
  • Compilers: Principles, Techniques and Tools by Alfred V. Aho, Ravi Sethi and Jeffrey D. Ullman
@peanutpi
peanutpi / planning.md
Created August 15, 2016 16:58
Checklist for Planning

Planning Checklist.

Initialization

  • How to initialize this library or component.
  • How it’s instance is created and used by other classes (client application).
    • Instance is created by spring
    • Instance is needed to be singleton or not.
    • is there any state that we have to maintain.
@peanutpi
peanutpi / algo_learning.md
Created August 15, 2016 16:50
Algorithm Learning

Following are the Algorithms/Concepts that one must know to solve CS puzzles:

  • Lists, Arrays, Stack
  • Trees-
    • Binary,
    • k-ary,
    • AVL,
    • B and B+ tree
    • range trees (variously known as interval trees or segment trees)
    • Additionally, many DP algorithms make use of a prefix sum array.
@peanutpi
peanutpi / learning.md
Created August 15, 2016 16:47
Learning

Academic Learning

Develop logical reasoning and knowledge of discrete math

import java.util.Properties;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Store;
public class MailReader {
private static final String FOLDER = "Inbox";