Skip to content

Instantly share code, notes, and snippets.

View infer_solr_resource_leak.txt
Choose report to display (default=0): 0
solr/core/src/java/org/apache/solr/util/ error: RESOURCE_LEAK
resource of type `` acquired to `srcFIS` by call to `FileInputStream(...)` at line 52 is not released after line 52.
**Note**: potential exception at line 53
Showing all 4 steps of the trace
solr/core/src/java/org/apache/solr/util/ start of procedure copyFile(...)
49. }
KoenDG / gist:bad6f320278b8ff809f54ca15a583532
Created Feb 25, 2019
Getting all docker hub tags for an image. Debian example
View gist:bad6f320278b8ff809f54ca15a583532
wget -q -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'
View My bashrc(Thank you,, stackexchange, and others I'm forgetting)
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
iatest=$(expr index "$-" i)
# Disable the bell
if [[ $iatest > 0 ]]; then bind "set bell-style visible"; fi
# Ignore case on auto-completion