PID=`fuser -c [path]/journal-1.lock`
kill -9 $PID
| ./gradlew dependencies $(./gradlew -q projects \ | |
| | grep -Fe ---\ Project \ | |
| | sed -Ee "s/^.+--- Project '([^']+)'/\1:dependencies/") > all-dependencies.txt |
| Below are the Big O performance of common functions of different Java Collections. | |
| List | Add | Remove | Get | Contains | Next | Data Structure | |
| ---------------------|------|--------|------|----------|------|--------------- | |
| ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
| LinkedList | O(1) | O(n) | O(n) | O(n) | O(1) | Linked List | |
| CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array | |
find . -maxdepth 1 -type d -print -execdir git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;
To be honest, I googled a lot to learn something to fit in my context and after to consume, to read, and let some hairs on the way(Lol) I found a solution! (Inspired by Al Scoot)
There are some approaches to serve a PDF file through a Rest Express API, for example download method: send.download(filePath).
But when you need to serve a file in memory the problem becomes hard to solve and there aren't many developers talking about it.