Migrating from Owncloud to Nextcloud on Fedora 24

Installing nextcloud on fedora is not trivial as you first need to download the code, install some dependencies and compile it. git clone https://github.com/nextcloud/client_theming.git git submodule update –init –recursive sudo dnf install cmake gcc-c++ openssl-devel sqlite-devel qt5-qtwebkit-devel libqt5keychain-devel mkdir build-linux cd build-linux cmake -D OEM_THEME_DIR=`pwd`/../nextcloudtheme ../client make sudo make install Without installing the dependencies you […]

Using a .NET FileWatcher with a dfs properly

There is not a lot of information with practical experience about the Microsoft .NET File Watcher Technology available in the internet. So here some advices. How it works It is basically a wrapper around the windows api function ReadDirectoryChangesW. Possible restrictions with remote locations There might be several limitations in place that you usually cannot […]

PHP-Script for sending personalized html newsletters

I searched for a simple solution to send some personalized html e-mails with embedded pictures. However I didn’t find one. Thus I created the following script: <?php require ‘class.phpmailer.php’; foreach(file(‘recipients.csv’) as $line) { list($to, $name, $greeting) = explode(“\t”, $line); $mail = new PHPMailer; $mail->setFrom(‘no-reply@example.net’, ‘Example Sender’); $mail->CharSet = ‘utf-8’; $mail->SetLanguage (“en”); $mail->isHTML(true); $mail->addAddress($to, $name); $mail->Subject […]

Find out what library is missing Fedora 22

Sometimes some libraries are missing. This leads to the following error message: ./command: error while loading shared libraries: abc.so.0: cannot open shared object file: No such file or directory It will only display the first missing library. So first you can use the following command to identify them: ldd idaq | grep found This might […]

Run IDA Disassembler on x64 Fedora 22

When executing idaq I got the following error message: ./idaq: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory This error appeared because I lacked some libraries (32-Bit version). To fix it I had to run the following commands: dnf install glib2-devel.i686 dnf install freetype.i686 dnf install libSM.i686 […]

DevArt Bulk Data Insertion into an Oracle Database

There are some possibilities to bulk insert data. For my tests I inserted 1’500 rows containing some strings. Use the Context: 50 seconds Use ArrayBinding: 43 seconds Use the OracleLoader class: 14 seconds It seems that the OracleLoader is the fastes way to do this. ArrayBinding: private void TestArrayBindingInsert(Context context) { const string connectionString = […]