How to Force Quit Unresponsive Mac OS Applications?
January 22, 2018
No Comments
Problem This is important not only for Windows users :). Sometimes applications become unresponsive in Mac OS as well. There are several ways, how to kill unresponsive application. Here we will cover the easiest solutions, how to kill unresponsive applications in Mac OS. Solution
How to compare Strings in Java?
January 22, 2018
No Comments
Problem There are many ways how to compare strings in Java and most of them are different. Here we will cover these cases: Using .equals() method; Using .compareTo() method; Using == operator. Solution Let’s check what we can compare using .equals() / .equalsIgnoreCase() methods. If you are newbie
How to reset Windows 10?
January 10, 2018
No Comments
Problem Why do you need to reset Windows 10? Sometimes your computer becomes very slow, because you have many unused applications installed and store a lot of unused stuff in your hard disk. Some people like to flush everything and start using Windows from
How to remove tag from a deleted file?
January 10, 2018
No Comments
Problem Let’s say you deleted a file from CVS. Next day you see that you need to remove tag(s). Usually you click on file, select “Tags” and remove it. But how could you remove a tag from a deleted file? Solution You should execute
How to read UTF8 file with BOM?
January 9, 2018
No Comments
Wikipedia about UTF8 BOM The byte order mark (BOM) is a Unicode character, U+FEFF byte order mark (BOM), whose appearance as a magic number at the start of a text stream can signal several things to a program consuming the text:[1] What byte order, or
How to add programs to Start Up on Windows 8?
January 8, 2018
No Comments
Problem Start up folder is missing on Windows 8. In previous Windows versions it was very easy to add new programs to start with Windows. Solution Open the Windows 8 start screen by doing one of the following: Press the Windows key. Move mouse
How to resolve “Error: bad index – Fatal: index file corrupt” when using Git?
January 8, 2018
No Comments
From time to time you could receive error using Git like this: $ git status error: bad index file sha1 signature fatal: index file corrupt Solution Delete file “.git/index” from your project parent directory. Execute git reset command from terminal.
How to read a file in Java?
January 6, 2018
No Comments
There are many ways to read a file in Java. The simplest and most common used method is using BufferedReader class. First of all, let’s create a file and name it as “example.txt” with some dummy text: Lorem ipsum dolor sit amet, consectetur adipiscing
How to enable PostgreSQL extension for PHP?
January 6, 2018
No Comments
Few days ago, I started a new project. This project was required to be built with PHP and PostgreSQL database. Docker is really cool for all infrastructure things, it makes my life much easier to bootstrap a project in other computers/servers. I am crazy
How to show hidden files on macOS High Sierra?
December 27, 2017
No Comments
Today I was working with one of my web projects. I wanted to transfer files from one location to another one. It looks very easy & simple. The next thing which I did – I started Nginx server and opened my project in browser.