Author Archives: Aykut Akin

Git – Moving folders with history and all related branches

In my case, I had to move 2 different subfolders with their histories and all effected branches to the new bare repository. I had a folder structure like below: old repo |___ folder1 |___ folder2 |___ folder3 | |___ folder3_1 … Continue reading

Posted in Git | Leave a comment

Installation of Oracle SQL Developer to Ubuntu

First of all, you need to install Java in your environment. I will continue with the latest OpenJDK version currently available. Easiest method to install jdk is to write following commands to the terminal: Then you can download Oracle SQL … Continue reading

Posted in Linux, Oracle, Shell Script | Tagged , , , , | Leave a comment

Getting result from database in shell script

In shell script, there is no standard way of connecting and retrieving result from database. But, for Oracle we can use SQLPlus to connect and run operations on database. I tried my codes on bash for this post and codes … Continue reading

Posted in Linux, Oracle, Shell Script | Leave a comment

MySql UTF8 character set

MySQL database has two implementations for utf8 character set: utf8 (As of MySQL 4.1) utf8mb4 (As of MySQL 5.5) In this writing, I am going to explain the difference between these two character set and how you can store data … Continue reading

Posted in Java, MySql | Tagged , , , , , , , , , | Leave a comment

Injecting List with Spring from yaml

In my recent project, I need to fill a list from configuration file. With my old habits I just tried to use @Value annotation and my code just broke. Here is what I’ve tried first: application.yaml: AppRunner.java: However, it just … Continue reading

Posted in Java | Tagged , , , , , , , , , , , , | Leave a comment

Adding New Library To Maven Repository

Sometimes, you find a custom library on the internet, or create it by yourself for something special. Probably, you cannot find those kind of libraries in maven repositories and add your maven dependencies for your maven based projects. But, if … Continue reading

Posted in Java | Tagged , , , , , | Leave a comment

How To Authenticate Http Level Provided Web Service

In this post, I will give you a code for to consume web services with protected http basic authentication. I pretend that, there is a web service called SimpleWebService and it has a method that called getDummy. Here is the … Continue reading

Posted in Java | Tagged , , , , , , | Leave a comment