Solr setup full-text search in 5 minutes

Download the latest version of solr (Solr 6.5.1) Unpack it and go into the bin directory Start it up by executing: ./solr start Initialize the configuration by executing: ./solr create -c files -d ../example/files/conf Index your files by executing: ./post -c files ~/Documents Open the web browser and start Searching At this point it is […]

Compare two excel files

There is a hidden tool if you are running a Professional Version of office. You find it here: C:\Program Files (x86)\Microsoft Office\Office15\DCF\SPREADSHEETCOMPARE.EXE Depending on the version of office that you are running the folder “Office15” can have another number. It allows you to select to files and visualize them side-by-side with a nice graphical overview […]

PDF OCR with Fedora 24 and Tesseract

Run the following commands: sudo dnf install python3-pip python3-devel libffi-devel qpdf tesseract tesseract-langpack-deu tesseract-osd sudo python3 -m pip install ocrmypdf Now you can convert a file like this: ocrmypdf -l deu input.pdf output.pdf If you don’t install the tesseract-osd package, it will work but the following error message appears: Error opening data file /usr/share/tesseract/tessdata/osd.traineddata INFO […]

Mount Amazon S3 on Fedora 24

There is no package that is ready to be installed. You need to download and compile the code yourself. First you need to install some development libraries. Execute the following commands: sudo dnf install fuse-devel libcurl-devel libxml2-devel git clone cd s3fs-fuse ./ ./configure make sudo make install Then you need to create the directory […]