Article Index Algorithm, Prgoramming, Architecture, Cloud
- 2001. Getting Started with Linux2001. Getting Started with Linux
This blog records some base knowledge of linux and tools.
- Comments
- |
- Unix, Linux, Shell, Bash
- 2002. Getting Started with macOS2002. Getting Started with macOS
This blog records some common settings or issues when using macOS(Mac OS X).
- Comments
- |
- macOS, Bash, Shell
- 2011. Installing VirtualBox and Creating Ubuntu VM2011. Installing VirtualBox and Creating Ub...
Install VirtualBox and create Ubuntu virtual machine.
- Comments
- |
- VirtualBox, Ubuntu
- 2012. Sharing Files between Host and Guest in VirtualBox2012. Sharing Files between Host and Guest ...
Introduce how to achieve bidirectional file sharing between macOS host and Ubuntu guest.
- Comments
- |
- VirtualBox, Ubuntu, macOS
- 2021. Setting up Java Development Environment on Ubuntu2021. Setting up Java Development Environme...
Install JDK, Apache Tomcat and Eclipse on Ubuntu.
- Comments
- |
- JDK, Tomcat, Eclipse
- 2022. Setting up Java Development Environment on Mac2022. Setting up Java Development Environme...
Install JDK, Apache Tomcat and Eclipse on Mac.
- Comments
- |
- JDK, Tomcat, Eclipse
- 2023. Installing and Using Git2023. Installing and Using Git
Use Git and GitHub as source control tool to manage code revisions.
- Comments
- |
- Git, GitHub, SourceTree
-
- 2025. Installing and Using Atom2025. Installing and Using Atom
Introduce how to install and use Atom to create MarkDown file and write code.
- Comments
- |
- Atom, Markdown
- 2026. Installing and Using Visual Studio Code2026. Installing and Using Visual Studio Co...
Walk through setting up Visual Studio Code and get an overview of the basic features.
- Comments
- |
- Visual Studio Code
- 2031. Installing MySQL and Workbench on Mac2031. Installing MySQL and Workbench on Mac
Install MySQL database and MySQL Workbench on Mac.
- Comments
- |
- MySQL, MySQL Workbench
- 2032. Installing MongoDB on Ubuntu and Mac2032. Installing MongoDB on Ubuntu and Mac
Introduce how to install MongoDB Community Edition on Ubuntu.
- Comments
- |
- MongoDB
- 2033. Using MongoDB in Shell2033. Using MongoDB in Shell
Tutorial for introducing how to create database, collection and documents in MongoDB.
- Comments
- |
- MongoDB, CRUD
- 2301. Java Core - Basic2301. Java Core - Basic
Basic knowledge of java.
- Comments
- |
- String, Integer, Array, List
- 2302. Java Core - Tricks2302. Java Core - Tricks
Some tricky cases when using Java.
- Comments
- |
- Java
- 2303. Java Core - Formatting2303. Java Core - Formatting
Formatting for String, Int and Double.
- Comments
- |
- Formatting
- 2304. Java Core - Array and List2304. Java Core - Array and List
Array, ArrayList and their conversion.
- Comments
- |
- Array, ArrayList
- 2305. Java Core - Iterator2305. Java Core - Iterator
Iterator and customize it for different purposes.
- Comments
- |
- Iterator, Predicate
- 2306. Java Core - Enum2306. Java Core - Enum
Enum and its advantages.
- Comments
- |
- Enum, EnumSet, EnumMap
- 2307. Java Core - Scanner2307. Java Core - Scanner
Scanner, System.io, System.out
- Comments
- |
- Scanner
- 2311. Java Core - Collection2311. Java Core - Collection
Usage of different collection objects, including list, set, map, thread-safe collection objects.
- Comments
- |
- List, Set, Map, Stack
- 2312. Java Core - ArrayList and LinkedList2312. Java Core - ArrayList and LinkedList
ArrayList and LinkedList
- Comments
- |
- ArrayList, LinkedList
- 2313. Java Core - Stack, Queue and Deque2313. Java Core - Stack, Queue and Deque
Queue, Stack, Queue and Heap.
- Comments
- |
- Queue, Stack, Queue, Heap
- 2314. Java Core - Set2314. Java Core - Set
Set Interface, HashSet and TreeSet.
- Comments
- |
- Set, HashSet, TreeSet
- 2315. Java Core - Map2315. Java Core - Map
Map, HashMap and TreeMap.
- Comments
- |
- Map, HashMap, TreeMap
- 2316. Java Core - Comparable vs Comparator2316. Java Core - Comparable vs Comparator
Comparable, Comparator and their difference.
- Comments
- |
- Comparable, Comparator
- 2317. Java Core - Generics2317. Java Core - Generics
Use Generics for java programming.
- Comments
- |
- Generics, Bounded Wildcards
- 2318. Java Core - Generics Type Erasure2318. Java Core - Generics Type Erasure
Learn what is Type Erasure and how generics works.
- Comments
- |
- Type Erasure
- 2321. Java Core - Static Block and Initialization Block2321. Java Core - Static Block and Initiali...
Static block and initialization block in java.
- Comments
- |
- Static Block, Initialization Block, IIB
- 2322. Java Core - BitSet2322. Java Core - BitSet
BitSet, nextClearBit, nextSetBit
- Comments
- |
- BitSet, BitMap
- 2323. Java Core - Socket2323. Java Core - Socket
Use socket to communicate through TCP and UDP between applications.
- Comments
- |
- Socket, TCP, UDP
- 2326. Java Core - IO2326. Java Core - IO
Read and write file in java.
- Comments
- |
- IO, File, Directory, Stream
- 2327. Java Core - NIO2327. Java Core - NIO
Read and write file with NIO APIs.
- Comments
- |
- NIO, Channel
- 2328. Java Core - IO vs NIO2328. Java Core - IO vs NIO
Difference between IO and NIO.
- Comments
- |
- IO, NIO
-
- 2352. Java 8 - New Features2352. Java 8 - New Features
New features in java 8.
- Comments
- |
- Lambda, Stream, Optional
- 2353. Java 8 - Functional programming2353. Java 8 - Functional programming
Functional programming in Java.
- Comments
- |
- Functional programming
- 2354. Java 8 - Higher Order Functions2354. Java 8 - Higher Order Functions
Functional programming in Java.
- Comments
- |
- Higher Order Functions
- 2355. Java 8 - Functional Interfaces2355. Java 8 - Functional Interfaces
Functional Interfaces in Java 8.
- Comments
- |
- Predicate, Supplier, Consumer
- 2356. Java 8 - Functional Composition2356. Java 8 - Functional Composition
Functional Interfaces in Java 8.
- Comments
- |
- Functional Composition
-
- 2358. Java 8 - Predicate2358. Java 8 - Predicate
Predicate interface and its implementations.
- Comments
- |
- Predicate
- 2359. Java 8 - Lazy Execution with Lambda2359. Java 8 - Lazy Execution with Lambda
Functional Interfaces in Java 8.
- Comments
- |
- Lazy, Supplier
- 2360. Java - Java 11,10,9,8,7 - Draft2360. Java - Java 11,10,9,8,7 - Draft
Formatting for String, Int and Double.
- Comments
- |
- Formatting
- 2400. Java Concurrency - Note2400. Java Concurrency - Note
Create concurrent application with threadings.
- Comments
- |
- Multi Threading
- 2401. Java Concurrency - Overview2401. Java Concurrency - Overview
Create concurrent application with threadings.
- Comments
- |
- Multi Threading
- 2402. Java Concurrency - MultiThreading2402. Java Concurrency - MultiThreading
Use Thread class and Runnable interface to create thread.
- Comments
- |
- Thread, Runnable
- 2403. Java Concurrency - wait, notify and notifyAll2403. Java Concurrency - wait, notify and n...
Use wait, notify and notifyAll.
- Comments
- |
- wait, notify, notifyAll
- 2404. Java Concurrency - Thread Pool2404. Java Concurrency - Thread Pool
Create fixed thread pool and scheduled thread pool.
- Comments
- |
- Executors, ExecutorService
- 2405. Java Concurrency - Callable and Future2405. Java Concurrency - Callable and Futur...
Volatile, Final and Atomics.
- Comments
- |
- Callable, Future, FutureTask
- 2406. Java Concurrency - Fork Join2406. Java Concurrency - Fork Join
Learn the fork-join framework
- Comments
- |
- RecursiveTask, Fork Join
- 2407. Java Concurrency - Synchronization2407. Java Concurrency - Synchronization
Thread synchronization.
- Comments
- |
- Synchronization, Reentrant Lock, Monitor
- 2408. Java Concurrency - Synchronizers2408. Java Concurrency - Synchronizers
Synchronizers for multithreading.
- Comments
- |
- CyclicBarrier, CountDownLatch, Semaphore
- 2409. Java Concurrency - Volatile Keyword2409. Java Concurrency - Volatile Keyword
Use volatile keyword to guarantee threads read variable value directly from main memory.
- Comments
- |
- Volatile
- 2410. Java Concurrency - ThreadLocal2410. Java Concurrency - ThreadLocal
Use ThreadLocal in multi-threading.
- Comments
- |
- ThreadLocal, InheritableThreadLocal, ThreadLocalRandom
- 2411. Java Concurrency - Thread Signaling2411. Java Concurrency - Thread Signaling
Most well-known options for JVM configuration.
- Comments
- |
- Thread Signaling
- 2412. Java Concurrency - Dead Lock2412. Java Concurrency - Dead Lock
Understand what is dead lock, how to avoid, how to detect.
- Comments
- |
- synchronized, deadlock
- 2413. Java Concurrency - ConcurrentSkipListMap2413. Java Concurrency - ConcurrentSkipList...
ConcurrentSkipListMap
- Comments
- |
- ConcurrentSkipListMap
- 2415. Java Concurrency - Volatile, Final and Atomics2415. Java Concurrency - Volatile, Final an...
Volatile, Final and Atomics.
- Comments
- |
- Volatile, Final, Atomics
- 2416. Java Concurrency - BlockingQueue2416. Java Concurrency - BlockingQueue
BlockingQueue interface and its implementations.
- Comments
- |
- BlockingQueue, ArrayBlockingQueue
- 2417. Java Concurrency - Reading Files in Parallel2417. Java Concurrency - Reading Files in P...
Different implementations to read files in parallel.
- Comments
- |
- Read File
- 2451. Java Advanced - Java Virtual Machine2451. Java Advanced - Java Virtual Machine
Java Virtual Machine
- Comments
- |
- JVM
- 2452. Java Advanced - JIT Compiler2452. Java Advanced - JIT Compiler
Just-in-time compiler.
- Comments
- |
- JIT
- 2453. Java Advanced - Garbage Collection2453. Java Advanced - Garbage Collection
Garbage Collection
- Comments
- |
- GC, YG, OG
- 2454. Java Advanced - Java Memory Model2454. Java Advanced - Java Memory Model
Java Memory Model
- Comments
- |
- Memory Model, JVM
- 2455. Java Advanced - JVM Parameters2455. Java Advanced - JVM Parameters
Most well-known options for JVM configuration.
- Comments
- |
- JVM Parameters
- 2456. Java Advanced - ClassNotFoundException vs. NoClassDefFoundError2456. Java Advanced - ClassNotFoundExceptio...
ClassNotFoundException vs. NoClassDefFoundError
- Comments
- |
- ClassNotFoundException, NoClassDefFoundError
- 2457. Java Advanced - Hashmap vs WeakHashMap2457. Java Advanced - Hashmap vs WeakHashMa...
Hashmap vs WeakHashMap
- Comments
- |
- WeakHashMap, Weak References
- 2461. Java Advanced - Abstract Class Vs Interface2461. Java Advanced - Abstract Class Vs Int...
Abstract Class, Interface and their difference.
- Comments
- |
- Abstract Class, Interface
- 2462. Java Advanced - Object Class - Draft2462. Java Advanced - Object Class - Draft
Create concurrent application with threadings.
- Comments
- |
- Encryption, Decryption
- 2463. Java Advanced - hashCode() in Java - Draft2463. Java Advanced - hashCode() in Java - ...
Create concurrent application with threadings.
- Comments
- |
- hashCode
- 2464. Java Advanced - Shallow Copy vs Deep Copy2464. Java Advanced - Shallow Copy vs Deep ...
Compare the difference between shallow copy and deep copy.
- Comments
- |
- Shallow Copy, Deep Copy
- 2471. Java Advanced - Cryptography2471. Java Advanced - Cryptography
Introduce how to encrypt and decrypt file with java.
- Comments
- |
- Encryption, Decryption
- 2472. Java Advanced - Web Service2472. Java Advanced - Web Service
Create concurrent application with threadings.
- Comments
- |
- SOAP, WSDL
- 2473. Java Advanced - Message Queue - Draft2473. Java Advanced - Message Queue - Draft
Message Queue, Java Message Service
- Comments
- |
- Message Queue, JMS
- 2474. Java Advanced - Process and ProcessBuilder - Draft2474. Java Advanced - Process and ProcessBu...
Create multiple processes in Java.
- Comments
- |
- Runtime, ProcessBuilder
- 2503. Java - Thread Dumps & Analysis2503. Java - Thread Dumps & Analysis
Thread Dumps, performance analysis.
- Comments
- |
- Thread Dumps
- 2505. Building Web Server with Java Socket2505. Building Web Server with Java Socket
Build a tiny http server with Java Sockets.
- Comments
- |
- Http, Socket
- 2506. Building Web Server with Netty2506. Building Web Server with Netty
Build web servers with Netty.
- Comments
- |
- Netty
- 2511. Checking Which JDK Eclipse is Using2511. Checking Which JDK Eclipse is Using
How to check which JDK Eclipse is using.
- Comments
- |
- JDK, Eclipse
- 2512. Using Java Debugger2512. Using Java Debugger
The Java Debugger, commonly known as jdb, is a useful tool to detect bugs in Java programs.
- Comments
- |
- JDB, Debugging
- 2513. Java Remote Debugging with Eclipse2513. Java Remote Debugging with Eclipse
Tutorial for how to remote debugging with Eclipse.
- Comments
- |
- Eclipse, Debugging
- 2514. Remote Debugging JSP Application2514. Remote Debugging JSP Application
Introduce how to remote debug JSP application which is hosted in Tomcat.
- Comments
- |
- Eclipse, Debugging
- 2521. Running JUnit Tests in Command Line2521. Running JUnit Tests in Command Line
Introduce how to run JUnit tests in command line.
- Comments
- |
- JUnit
- 2522. Dynamic Tests with JUnit 5 in Eclipse2522. Dynamic Tests with JUnit 5 in Eclipse
Introduce how to create and run JUnit 5 tests in Eclipse.
- Comments
- |
- JUnit 5, Maven
- 2523. Dynamic Tests with JUnit 5 in Command Line2523. Dynamic Tests with JUnit 5 in Command...
Introduce how to create and run JUnit 5 tests in command line.
- Comments
- |
- JUnit 5
- 2529. Creating MySQL Container with Docker File for Game Store App2529. Creating MySQL Container with Docker ...
Introduce how to user Docker Container to host MySQL database for JSP Application.
- Comments
- |
- JSP, MySQL, Docker
- 2532. Building Website with JSP and MySQL2532. Building Website with JSP and MySQL
Build a web application with Java Server Pages (JSP) and MySQL database.
- Comments
- |
- JSP, MySQL
- 2533. Building Website with JSP and MongoDB2533. Building Website with JSP and MongoDB
Build a web application with Java Server Pages (JSP) and MongoDB.
- Comments
- |
- JSP, MongoDB, Maven
- 2534. Creating MongoDB Image with Dockerfile2534. Creating MongoDB Image with Dockerfil...
Tutorial for creating MongoDB image with Dockerfile.
- Comments
- |
- MongoDB, Dockerfile, Docker
- 2536. Data Persistence with JPA & Eclipselink2536. Data Persistence with JPA & Eclip...
Use JPA and Eclipselink to persist data into database.
- Comments
- |
- JPA, Eclipse, Eclipselink, ORM
- 2537. Data Persistence with Hibernate2537. Data Persistence with Hibernate
Use Hibernate to persist data into database.
- Comments
- |
- Hibernate, ORM
- 2541. Scripting Java With Rhino2541. Scripting Java With Rhino
Use Rhino to run javascript at server side.
- Comments
- |
- Rhino, Javascript
- 2542. Running JavaScript at Server Side with Rhino2542. Running JavaScript at Server Side wit...
Use Rhino to run javascript at server side which is built with Java Servlet.
- Comments
- |
- Rhino, Javascript, Servlet
- 2543. Calling Java Class from Javascript2543. Calling Java Class from Javascript
Use Rhino to call java class and its method with javascript at server side.
- Comments
- |
- Rhino, Javascript, Java
- 2544. Data Fix with Javascript For Web Application2544. Data Fix with Javascript For Web Appl...
Use Rhino to run javascript to fix data for a web application.
- Comments
- |
- Rhino, Javascript
- 2701. JavaScript - Basic2701. JavaScript - Basic
Basic knowledge of JavaScript.
- Comments
- |
- JavaScript
- 2702. JavaScript - Modern2702. JavaScript - Modern
Advanced topics about javascript.
- Comments
- |
- Promise, Observable, Axios
- 2703. JavaScript - ES52703. JavaScript - ES5
ECMAScript 5 is also known as ES5 and ECMAScript 2009.
- Comments
- |
- ES5
- 2704. JavaScript - ES62704. JavaScript - ES6
ECMAScript 6 is also known as ES6 and ECMAScript 2015.
- Comments
- |
- ES6
- 2705. JavaScript - Async Call in Loop[Draft]2705. JavaScript - Async Call in Loop[Draft...
Introduce how to implement Async call in loop, like array.
- Comments
- |
- Async
- 2901. Design Pattern - Overview2901. Design Pattern - Overview
Design pattern in Java.
- Comments
- |
- Design Pattern
- 2902. Design Pattern - Singleton2902. Design Pattern - Singleton
Creational Pattern: Singleton Pattern.
- Comments
- |
- Singleton Pattern
- 2903. Design Pattern - Factory2903. Design Pattern - Factory
Creational Pattern: Factory Pattern.
- Comments
- |
- Abstract Factory, Factory Method
- 2904. Design Pattern - Builder2904. Design Pattern - Builder
Creational Pattern: Builder Pattern.
- Comments
- |
- Builder Pattern
- 2906. Design Pattern - Prototype2906. Design Pattern - Prototype
Creational Pattern: Prototype Pattern.
- Comments
- |
- Prototype Pattern
- 2907. Design Pattern - DTO - Draft2907. Design Pattern - DTO - Draft
Data Transfer Object design pattern for creating objects.
- Comments
- |
- Data Transfer Object
- 2910. Design Pattern - Adapter2910. Design Pattern - Adapter
Structural Pattern: Adapter Pattern.
- Comments
- |
- Adapter Pattern
- 2911. Design Pattern - Bridge2911. Design Pattern - Bridge
Structural Pattern: Bridge Pattern.
- Comments
- |
- Bridge Pattern
- 2912. Design Pattern - Composite2912. Design Pattern - Composite
Structural Pattern: Composite Pattern.
- Comments
- |
- Composite Pattern
- 2913. Design Pattern - Decorator2913. Design Pattern - Decorator
Structural Pattern: Decorator Pattern.
- Comments
- |
- Decorator Pattern
- 2914. Design Pattern - Facade2914. Design Pattern - Facade
Structural Pattern: Facade Pattern.
- Comments
- |
- Facade Pattern
- 2915. Design Pattern - Flyweight2915. Design Pattern - Flyweight
Structural Pattern: Flyweight Pattern.
- Comments
- |
- Flyweight Pattern
- 2916. Design Pattern - Proxy2916. Design Pattern - Proxy
Structural Pattern: Proxy Pattern.
- Comments
- |
- Proxy Pattern
- 2921. Design Pattern - Command2921. Design Pattern - Command
Behavioral Pattern: Command Pattern.
- Comments
- |
- Command Pattern
- 2922. Design Pattern - Interpreter2922. Design Pattern - Interpreter
Behavioral Pattern: Interpreter Pattern.
- Comments
- |
- Interpreter Pattern
- 2923. Design Pattern - Iterator2923. Design Pattern - Iterator
Behavioral Pattern: Iterator Pattern.
- Comments
- |
- Iterator Pattern
- 2924. Design Pattern - Mediator2924. Design Pattern - Mediator
Behavioral Pattern: Mediator Pattern.
- Comments
- |
- Mediator Pattern
- 2925. Design Pattern - Memento2925. Design Pattern - Memento
Behavioral Pattern: Memento Pattern.
- Comments
- |
- Memento Pattern
- 2926. Design Pattern - Null Object2926. Design Pattern - Null Object
Behavioral Pattern: Null Object Pattern.
- Comments
- |
- Null Object
- 2927. Design Pattern - Observer2927. Design Pattern - Observer
Behavioral Pattern: Observer Pattern.
- Comments
- |
- Observer Pattern
- 2928. Design Pattern - State2928. Design Pattern - State
Behavioral Pattern: State Pattern.
- Comments
- |
- State Pattern
- 2929. Design Pattern - Strategy2929. Design Pattern - Strategy
Behavioral Pattern: Strategy Pattern.
- Comments
- |
- Strategy Pattern
- 2930. Design Pattern - Template Method2930. Design Pattern - Template Method
Behavioral Pattern: Template Method Pattern.
- Comments
- |
- Template Method Pattern
- 2931. Design Pattern - Visitor2931. Design Pattern - Visitor
Behavioral Pattern: Visitor Pattern.
- Comments
- |
- Visitor Pattern