History of Ansible GCE modules
Official home page seems hosts docs only starting from v2.3 and it mentions very few GCE related modules:
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.
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.
Reverse linked list in-place
It is common interview programming task to reverse singly linked list in-place.
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 ))
Connect to Android via USB by adb in Windows
Besides official Google phones and a few branded, which have "official" adb drivers, most of the
nonname/Chinese phones don't have one to make connection via USB.
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.
Don't indent code due to error checking!
Developers tend to indent code just because of null check.
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.
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 a base schema to be able to recreate database from scratch. But we don't want
conflicts with existing tables in production.
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.
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.
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.
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.
Joining two commits in Mercurial
Suppose you have two unpublished commits in Mercurial and like to join them into single commit:
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.
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
Moving learning history in AnkiDroid to 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.
What is milliard and billion?
What is billion mean in English? Does it 10⁹ or 10¹²? In a past that would be confusing.
Solution for Hanoi problem in JS
"Tower of Hanoi" is a famous task. It has a simple recursive solution.
Horizontal centering in CSS
The basic technique for a horizontal centering of an element with a
Setting Let’s Encrypt on Lighttpd
Tonight I'll show how to set Let's Encrypt for Lighttpd.
Emacs 25 under 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.
HTTP interview questions
Let's answer to some interview questions about HTTP protocol.
Some SQL interview questions
There are a lot of questions in DB and SQL topic. I put here some simple and tricky ones.
Find a loop in linked list
Today I'll show how to find a loop in linked list with a linear time complexity.
Java interview questions
Now is time for some Java interview questions.
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.
Longest substring without repeating characters
Another interesting task for interview is "Longest substring without repeating characters".
Permutations of parentheses
Usual interview task is: Print all possible n pairs of balanced parentheses.
HTML / CSS interview questions
Today talk is going about CSS / HTML / HTML 5 related questions on interview.
It's time for some common JS interview questions.
General question on interview
This evening I'll try to answer general / motivation questions that usually are asked during interview.
Preparing for 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.
Defun blog is open. Salute!
A long time ago I had two blogs at Blogspot service: