How to change last commit message in Git

Sometimes you did make a commit, but forget to add ticket number into commit message, or realized than commit message is incorrect or contain some spelling mistakes. In git you can easily change last commit message without changing any files, just with one line. git --amend -m "your new commit mess…

Read More


How to move git repository to different location with all history

When you switching from one Git hosting provider to another (or when you need to move existing git repository to new repository), for example I switched from Bitbucket to Github recently, you naturally want to keep all history from old git repository and move it to new git repository. This task can…

Read More


How to change DPI on Hyper-V guest Windows Server 2012 operation system

I get a new high DPI laptop recently, its Dell Precision M3800 with QHD+ screen. The laptop is great, extremely fast and QHD+ screen is very sharp and bright, I am very happy with this laptop. But I found than a lot of software are not ready for high DPI yet, so I have issues related to pure support…

Read More


How to create self signed certificate for IIS using PowerShell

Local development for ASP.NET websites over https protocol is much easy with IIS Express development certificate, which is pre-installed with IIS on Windows 8. But anyway when web application runs first time in any browsers, a message similar to the following appear Your connection is not private…

Read More


Windows Azure logging

Windows Azure has built in logging support, which can be used in any Azure application. Azure use System.Diagnostic namespace and have a number of static methods on Trace class Trace.TraceError(...); Trace.TraceWarning(...); Trace.TraceInformation(...); Trace.Write(...); The advantage of using thi…

Read More


How to setup DNS on Asus RT-AC66U router

There is a great service unblock-us.com which helps watching Netflix for US region, as well as different services, such as Spotify. The service provides DNS addresses, which can be setup on Windows machine, Xbox or router to allow all devices to have access to US content. The service is pretty cheap…

Read More


Setting up Office 365 Exchange account on Google Android for Nexus 4 or Galaxy S4

My previous post “ How to setup Office 365 Exchange account for Google Nexus 7” was quite popular and today I get my brand new Google Nexus 4 phone where I setup exchange account as well. In fact it’s not device but operation system, so the same guide will be helpful to all Android Jelly Beans devic…

Read More


Office 365 and Nexus 7 tablet: How to Set up an Exchange account on Google Nexus 7 tablet

Our email hosting in the Cloud within Office 365 from Microsoft. And unfortunately my Nexus 7 tablet can’t detect Microsoft exchange server when I try to setup my email account. I never have any problems with iPhone or Outlook so I was puzzled why it does not work for me. Find how to setup Microsof…

Read More


PowerShell: How to get execution folder

Recently I explained how to install windows service using PowerShell, and path to binary file was hardcode in my sample, which is not very good, because you have to remember to change it if you decide to use different installation folder . There is a solution how to detect execution folder where you…

Read More


How to highlight a current menu item using AngularJS directive

For one of my projects which is developed using AngularJS, I need to highlight current menu item. This task can be easy solved if the url already known using data-ng-class directive, but if the url constructed using AngularJs ng-class does not work. The menu which I have created with the following c…

Read More


Social media

Search

This blog is a place where I share new and cool stuff related to Software development