- 
    
        
        Java Sequence Generator examplesAn example to show you how to create a thread safe sequence generator. Date: 2019-08-11 View: 1819 
- 
    
        
        Java Semaphore examplesIn Java, we can use Semaphore to limit the number of threads to access a certain resource. Date: 2019-08-11 View: 1745 
- 
    
        
        Java – Check if a String contains a substringIn Java, we can use String.contains() to check if a String contains a substring. Date: 2019-08-11 View: 1516 
- 
    
        
              Java BlockingQueue examplesIn Java, we can use BlockingQueue to create a queue which shared by both producer and the consumer. Date: 2019-08-11 View: 1532 
- 
    
        
        Git pull refusing to merge unrelated historiesAdd --allow-unrelated-histories to solve the Git fatal error – “refusing to merge unrelated histories” Date: 2019-08-11 View: 1520 
- 
    
        
        Python How to read a file into a list?Python example to read a log file, line by line into a list. Date: 2019-08-11 View: 1440 
- 
    
        
        Java How to read a file into a list?In Java, there are few ways to read a file line by line into a List Date: 2019-08-11 View: 1737 
- 
    
        
        Java Files.walk examplesThe Files.walk API is available in Java 8, it is recommended to use try-with-resources to close the Files.walk stream. Date: 2019-08-11 View: 1644 
- 
    
        
        Java ProcessBuilder examplesIn Java, we can use ProcessBuilder to call external commands easily : Date: 2019-08-11 View: 2140 
- 
    
        
        Python How to list all files in a directory?In Python, we can use os.walker or glob to create a find() like function to search or list files or folders in a specified directory and also it’s subdirectories. Date: 2019-08-11 View: 1722 
- 
    
        
        Java How to list all files in a directory?Two Java examples to show you how to list files in a directory : Date: 2019-08-11 View: 1553 
- 
    
        
        Java How to run Windows bat fileIn Java, we can use ProcessBuilder to run a Windows batch file like this : Date: 2019-08-11 View: 1725 
- 
    
        
        Spring WebFlux Test Timeout on blocking read for 5000 MILLISECONDSTest a Spring Webflux endpoint with the WebTestClient, and hits the following error messages. Is this possible to increase the timeout? Date: 2019-08-11 View: 5867 
- 
    
        
        Java ArrayIndexOutOfBoundsException exampleThis java.lang.ArrayIndexOutOfBoundsException is thrown when we are accessing an array with an index which is greater than the size of an array. Date: 2019-08-11 View: 1795 
- 
    
        
        cURL post JSON data on WindowsOn Windows, the key to send JSON data is double-quotes like this Date: 2019-08-11 View: 2445 


