Oleksandr Gavenko's blog
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.
2017-03-27 21:00 Don't indent code due to error checking!
Developers tend to indent code just because of null check.
2017-03-26 23:00 Mimic finally block in Java loop honoring continue statement
Maintaining code with checks first and keeping all on single level can be tricky because language designers don't worried about such use case.
2017-03-05 23:50 Create table if not exists for Oracle database
We need to reset our FlyWay history due to major DB refactoring. All changes would be squashed into single that creates base schema so you can recreate database from scratch. But we don't want conflicts with existing tables in production.
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 repository manager. As temporary workaround I set up local Arifactory, and added proxies for public and private repositories.
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.
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 of files placed in special directories (like "Program Files"). To allow saving of modification you should grand Administrator privileges to Emacs process.
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.
2017-02-10 21:45 Joining two commits in Mercurial
Suppose you have two unpublished commits in Mercurial and like to join them into single commit:
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 file name bring that file up in a list of files ordered by names.
2017-01-31 10:50 Swipe JS API for mobile devises
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.
2017-01-30 22:20 Moving learning history in AnkiDroid to new phone
I bought new Android phone and the only one application that should take care is AnkiDroid. I don't want to lose my learning progress.
2017-01-29 23:20 Emacs cycle-spacing
2017-01-29 19:50 What is milliard and billion?
What is billion mean in English? Does it 10⁹ or 10¹²? In a past that would be confusing.
2017-01-28 22:40 Solution for Hanoi problem in JS
"Tower of Hanoi" is famous task. It has simple recursive solution.
2017-01-28 22:00 Horizontal centering in CSS
Basic technique for horizontal centering of element with
2017-01-25 01:30 Setting Let’s Encrypt on Lighttpd
Tonight I'll show how to set Let’s Encrypt forLighttpd.
2017-01-24 14:00 Emacs 25 under Windows
I haven't used Windows for a long time and new job may require Windows environment. So I checked out new ways to use Emacs under Windows.
2017-01-22 16:30 HTTP interview questions
Let's answer to some interview questions about HTTP protocol.
2017-01-22 12:30 Some SQL interview questions
There are a lot of questions in DB and SQL topic. I put here some simple and tricky one.
2017-01-21 21:00 Find a loop in linked list
Today I'll show how to find a loop in linked list in linear time.
2017-01-21 19:30 Java interview questions
Now is time for some Java interview questions.
2017-01-19 01:45 Solution for coin problem by dynamic programming
Some interview question can be soled by dynamic programming. One of such is coin problem - express an amount of money with minimal coin number.
2017-01-18 23:00 Longest substring without repeating characters
Another interesting task for interview is "Longest substring without repeating characters".
2017-01-18 18:30 Permutations of parentheses
Usual task for interview: Print all possible n pairs of balanced parentheses.
2017-01-12 18:40 HTML / CSS interview questions
Today talk is going about CSS / HTML / HTML 5 related questions on interview.
2017-01-11 22:30 JavaScript interview questions
It's time for some common JS interview questions.
2017-01-11 21:00 General question on interview
This evening I'll try to answer general / mosivation question that usually asked on interview.
2017-01-11 01:12 Preparing for interview on a position of a software developer
I was asked many times how to become a software tester. In addition to practical advises I modeled another response in my dreams which include keeping progress in a blog during preparation for a new career.
2017-01-10 23:30 Defun blog is open. Salute!
A long time ago I had two blogs at Blogspot service:


all / emacs / java


admin(1), anki(1), blog(1), css(2), cygwin(2), emacs(3), fs(1), git(2), gradle(1), hg(2), html(1), interview(11), java(2), js(3), lang(2), lighttpd(1), mobile(1), naming(1), oracle(1), print(1), problem(5), quiz(6), rst(1), security(1), sql(2), srs(1), style(1), unit(1), utils(1), vcs(3), web(2), win(2)