-
Concurrency programming in Java
11 commentsVolatile The Java volatile keyword is used to mark a Java variable as 'being stored in main memory'. More precisely that means, that every read of a volatile variable will be read from the computer's main memory, and not from the CPU cache, and that every write to a vo …
Read More -
JSP (JavaServer Pages)
11 commentsJSTL - Core <c:if> Tag The <c:if> tag evaluates an expression and displays its body content only if the expression evaluates to true. The <c:if> tag has the following attributes − Attribute Description Required …
Read More -
Intellij IDEA
11 commentsIf we want to import a module, but it is not a library, you can associate the project with the main application as follows in IntelliJ IDEA: Project Structure -> Modules -> Add new Module (+) Project Structure -> Modules -> Dependencies -> Add Modu …
Read More -
Linux & Server Administration
11 commentsFinding files $ grep -rnw '/path/to/somewhere/' -e 'pattern' -r or -R is recursive, -n adds line numbers, -w stands for match the whole word, -l (lower-case L) can be added to just give the file name of matching files Ref: How do I find …
Read More -
Copying on Mac OS X
11 commentsTo copy files on Mac OS X on a remote server can be used FileZilla program, because it uses a secure FTPS protocol. Another good alternative to browsing the file system is e.g. Double Commander (similar to Total Commander) and Midnight Commander. https://filezill …
Read More