Menu

5w33t45 Archive

How to add programs to Start Up on Windows 8?

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 to the bottom left of the screen. When the start screen

How to read a file in Java?

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 elit. Donec arcu nibh, maximus porttitor diam eu, dapibus vestibulum nulla.

How to enable PostgreSQL extension for PHP?

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 about new frameworks and I heard very good feedback from my

How to show hidden files on macOS High Sierra?

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. I was surprised, when I received an error from Phalcon (this

Disable IPv6 in Ubuntu

Few days ago I was trying to do my first steps with Docker. I used Parallels & Ubuntu 16.04 on my computer. First of all – I wanted to start running my “Hello World” project under Apache server. I used Composer to manage project dependencies. I created a file named “composer.json”, added some dependencies and