Skip to content

Instantly share code, notes, and snippets.

@dirksan28
dirksan28 / LinuxCodeSnippets.md
Last active October 3, 2022 18:28
Random linux related stuff which makes life easier

Collection of code-snippets...

mainly linux related ;-)

Recursive fulltext search in a tree of jar-files

FTsearchInJars Search for the word gif and print the number of occurrences within the jars.

f () 
{ 
 find . -name '*.jar' -exec bash -c "echo -n '{} ' ; unzip -p {} | strings | grep -ci '$1' " \; | sort -n -k 2

The head revision FW does not work with my rad1o badge

list of open questions

  1. does the new FW utilize some HW-Components which may be broken (from the beginning) but never used by the old FW?

HiRes Pictures of the rad1o board

Click to expand!