Oleksandr Gavenko's blog
2022-09-07 19:09 Invoking proxied bean methods from the same bean

It is reoccuring question how one could invoke a Spring proxied bean method from the bean itself preserving all side-effects of AOP assigned to the method.

TL;DR
2021-04-04 18:34 Blog4u has been rewritten to support Markdown

Earlier I stopped posting from 2011 till 2017 while "slowly" built own static blog engine.

In 2017 I managed to convert RST files to HTML and published this time self-hosted blog online (just before starting a job search to keep a journal helping me with an interview preparation).

I made several ridiculous design decisions. The structure of compiled pages made it impossible to host rich content (like supplementary pictures or code).

In 2021 I redesigned generated structure to overcome limitations and added support for Markdown.

All that time (since 2011) I collected more than 10000 articles for publishing. So you'll see some in the near future ))

TL;DR
2020-11-08 00:00 Generate a self-signed certificate
TL;DR
2020-11-04 00:00 Locating SSL/TLS certificates
TL;DR
2020-10-31 00:00 Experimenting with Ansible connection docker
TL;DR
2020-10-21 00:00 History of Ansible GCE modules
TL;DR
2019-04-23 01:00 Spring Cloud Config searchPaths and Git repository layout

Spring Cloud Config Server has magical property searchPaths that magically alter search order of YAML file in Git repository. YAML file name conventions and config file layout itself are magic.

TL;DR
2018-11-13 21:05 Do I satisfy recruitment requirements

I watched interesting video of Bryan Cantrill (author of Solaris dtrace) about cloud platforms and interested in his other writing. In his blog he brought topic about his interview process. I am curious how good I fit his expectation.

TL;DR
2018-03-17 12:22 Reverse linked list in-place

It is common interview programming task to reverse singly linked list in-place.

TL;DR
2017-10-12 18:00 Choosing tablet for reading

I am reading a lot and reading from PC or a laptop screen is not a pleasure if you are in a bed ))

I wanted a gadget which would replace paper books and that would be as good as paper or better ))

TL;DR
2017-10-09 10:00 Connect to Android via USB by adb in Windows
TL;DR
2017-04-13 00:00 Moving change from the middle of branch to top of parent branch in Git

During development in feature-branch I made change that is unrelated to feature and I want to integrate it before feature will be completed.

TL;DR
2017-03-27 21:00 Don't indent code due to error checking!

Developers tend to indent code just because of null check.

TL;DR
2017-03-26 23:00 Mimic finally block in Java loop honoring continue statement

Maintaining code with checks first and keeping all on a single level can be tricky because language designers don't worried about such use case.

TL;DR
2017-03-05 23:50 Create table if not exists in Oracle

We need to reset our Flyway history due to major DB refactoring. All changes would be squashed into a single that creates a base schema to be able to recreate database from scratch.

But we don't want conflicts with existing tables in production.

TL;DR
2017-03-04 23:00 Resolving "Could not resolve all dependencies for configuration" in Gradle when using local Artifactory

In order to be able to build project at home I need access to company's repository manager.

As a workaround I set up local Arifactory and added proxies for public and private repositories.

TL;DR
2017-02-23 23:10 Find file line ending inconsistency in your project

If project is shared by team members with different OS it is possible that your files have mix of eol (end of line) styles.

TL;DR
2017-02-17 23:40 Cygwin emacs-w32 with Administrator privileges

With modern Windows privileges schema (unlike in Windows XP) Emacs can't save edits to many files placed in special directories (like "Program Files").

To allow saving of modification you should grand Administrator privileges to Emacs process.

TL;DR
2017-02-11 22:30 Continue printing on HP LaserJet after running out of paper

HP LaserJet on Windows have special GUI that ask you to supply paper after running out of paper. But Linux drivers for CUPS doesn't depend on GUI.

TL;DR
2017-02-10 21:45 Joining two commits in Mercurial

How could you join two unpublished commits in Mercurial?

TL;DR
2017-02-09 23:50 Safe file prefix to be on top in a list

Putting one symbol prefix from the beginning of ASCII chart to a file name bring that file up in a list of files ordered by names.

TL;DR
2017-01-31 10:50 Swipe JS API on mobile

I implemented 2048 game in JS but it lack support for mobile devices because game input is keyboard driven.

To enable mobile devices I have to figure out how touch events is exposed by browser to JS runtime.

TL;DR
2017-01-30 22:20 Migrating progress in AnkiDroid to a new phone

I bought new Android phone and the only one application that I should take care is AnkiDroid.

I don't want to lose my learning progress.

TL;DR
2017-01-29 19:50 What are milliard and billion?

What does billion mean in English? Does it 10⁹ or 10¹²? In a past that would be confusing.

TL;DR
2017-01-29 00:00 Emacs cycle-spacing
TL;DR
2017-01-28 22:40 Solution for Tower of Hanoi problem in JS

"Tower of Hanoi" is a famous task. It has a simple recursive solution.

TL;DR
2017-01-28 22:00 Horizontal centering in CSS
TL;DR
2017-01-25 01:30 Setting Let’s Encrypt in Lighttpd

Tonight I'll show how to set Let's Encrypt for Lighttpd.

TL;DR
2017-01-24 14:00 Emacs 25 on Windows

I haven't used Windows for a long time and my new job may require Windows environment. So I checked out new ways to use Emacs under Windows.

TL;DR
2017-01-22 16:30 HTTP interview questions 1

Let's answer to some interview questions about HTTP protocol.

TL;DR
2017-01-22 12:30 SQL interview questions 1

There are a lot of questions in DB and SQL topic. I put here some simple and tricky ones.

TL;DR
2017-01-21 21:00 Find a loop in linked list

Today I'll show how to find a loop in linked list with a linear time complexity.

TL;DR
2017-01-21 19:30 Java interview questions 1

Now is time for some Java interview questions.

TL;DR
2017-01-19 01:45 Solution for coin problem by dynamic programming

Some interview question can be solved by dynamic programming.

One of such is a coin problem - express an amount of money with the minimal coin number.

TL;DR
2017-01-18 23:00 Longest substring without repeating characters

Another interesting task for interview is "Longest substring without repeating characters".

TL;DR
2017-01-18 18:30 Permutations of parentheses

Usual interview task is: Print all possible n pairs of balanced parentheses.

TL;DR
2017-01-12 18:40 HTML / CSS interview questions 1

Today talk is going about CSS / HTML / HTML 5 related questions on interview.

TL;DR
2017-01-11 22:30 JavaScript interview questions 1

It's time for some common JS interview questions.

TL;DR
2017-01-11 21:00 General software developer interview questions 1

This evening I'll try to answer general / motivation questions that usually are asked during interview.

TL;DR
2017-01-11 01:12 Preparing for an interview on a position of a software developer

I thought it would nice to track progress in a blog during preparation for a job interview. Now the time has come.

TL;DR
2017-01-10 23:30 Defun blog has been opened. Salute!

A long time ago I had two blogs at Blogspot service:

dating from 2009-04-05 to 2011-09-19.

TL;DR

Feeds

all / emacs / java

Tags

adb(1), admin(1), android(1), anki(1), ansible(2), aop(1), blog(2), bytecode(1), c(1), css(2), cygwin(2), driver(1), emacs(3), fs(1), git(3), google(1), gradle(1), hardware(1), hg(2), html(1), interview(13), java(4), js(3), lang(2), lighttpd(1), markdown(1), mobile(1), naming(1), oracle(1), print(1), problem(5), python(1), quiz(6), rst(2), security(3), spring(2), sql(2), srs(1), style(1), tls(2), txt(1), unit(1), utils(1), vcs(3), web(2), win(2), windows(1)

Archive