curl

Doc Cases

En Pod Minutes

En Pod Minutes partner in crime: a person you always do things together with I am joined by my partner in crime, Bob Copeland. not a day goes by: [80] phrase used to show you always do something From the...

cheat sheet - set pwd & setup xdebug

1. Send pwd to ‘sudo’ in shell script The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal device. The password must be followed by a newline character. echo "asdf" | sudo...

Design Principles SOLID

Overview The SOLID principles lie at the heart of the object-oriented programming. Single-responsiblity principle (S, SRP) a class should have one, and only one, reason to change. Classes should change for only a single reason. Open-closed principle (O, OCP) you...

HashMap(Java)

HashMap Internal structure (1) The interface Map<K,V>: The Java HashMap class implements it main methods: V put(K key, V value) V get(Object key) V remove(Object key) Boolean containsKey(Object key) (2) the Entry<K, V>: is used to keep data. key-value pair...