CSS text-overflow ellipsis in the beginning of the the text - Left Ellipsis using CSS in a Flex box

If you want to have css text overflow ellipsis in the left (beginning of the text), there is no straight forward solution to get it working in all browsers (especially in Safari). There are several CSS tricks that you will end up only working few browsers. It will be further difficult, if you are trying to achieve this in flex container.
Combining few ideas found in the stack-overflow, manged to get it working in most of the browsers including safari.
".cont" is flex box and either you can set a width to it, or can inherit the width from parent container element.
.ellipsis:after { content: ""; background-color: white; color: transparent; position: relative; z-index: 2; min-width: 100%; display: inline-block; min-height: 1rem; } .ellipsis { direction: rtl; display: inline-block; width: calc(100% - .1em); white-space: nowrap; overflow: hidde…

Self-Hosted Azure Devops Build Agent using Docker - AzureDevops 2019 and above - Docker in Docker

Problem Statement
AzureDevops (aka tfs/vsts) 2019 and latest is no longer providing a standard docker image to start build agents. Instead Microsoft is providing reference to bunch of scripts to get started. If you just need a simple build agent (even with docker), general documentation is good enough. But with bigger organizations who has requirement to run Self-Hosted agents in docker, facing several issues with that simple setup. 
Initial Reading: Microsoft Documentation - Running a self-hosted agent in Docker

Our Scenario: Self-Hosted build agentsUsing docker for pipelineNeed to utilize resources effectively (instead of setting up many VMs as build agents)Need to run some automation testing (involves docker containers) in the pipelineIssue: Standard scripts provided by Microsoft cannot handle DIND (docker in docker)docker-compose with volume mapping in dind is not working at all
First we need to build an docker image to run build agents in docker environments.
Docker File

Embedding PowerBI with ASP.NET Core 2 and Angular(2,4,5)

Integration of PowerBI into ASP.Net is straightforward as far as you follow the Microsoft documentation. When it comes to ASP.NET Core 2, it is not, at the time of writing this article. Let me guide you through the steps I followed to successfully embed PowerBI reports to our ASP.NET Core2 / Angular5 enterprise website.

Two Scenarios

1. User Owns Data - where users will be directly registered in PowerBi portal
2. App Owns Data - you have an application which owns the data and you have users to view these reports but they are not registered in PowerBI as direct users - ISV situation
Following steps are focused on scenario 2 which is app own data, but it is not limited to use this information for scenario 1 as well.
[Flow of authentication and authorization (from Microsoft documentation)]
Step 1: Register your app
Make sure your app…

XBian Beta 2 - SSH Connection Refused Issue - Solution

If you recently install XBian and if you are facing "connection refused" error when you are trying to SSH from another pc, you can fix the issue by generating keys for SSH as shown below.

ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

Raspberrypi : Step-by-Step Configuration as a Samba Server

If you want to use your RPI as a 24x7 on file sharing server, you need to follow the instructions given below to install SAMBA server in you RPI.

Install the samba server using following command
sudo apt-get install samba samba-common-bin

Add new user group for samba using following commad
sudo groupadd sambausers

Add new user and add this user to samba user group sudo useradd -G sambausers testuser
Set password for this user using following command sudo passwd testuser
Create directory to setup samba share (create directory in usb drive in my example) sudo mkdir /media/usb0/share sudo chown :sambausers /media/usb0/share/
Open samba configuration file and update as shown below

sudo nano /etc/samba/smb.conf
security = user
[share] comment = RPI Share path = /media/usb0/share valid users = @users force group = sambausers read only = No create mask = 0660 directory mask = 0771
Restart samba service using following command

sudo service samba restart
Then you will be able to access the samba share from oth…

Raspberrypi : Fix for minidlna error - inssserv: warning: script 'mathkernel' missing LSB tags

I have previously written an article on how to install "miniDLNA" in RPI here. If you install miniDLNA in your Raspbian OS, sometimes you may ended up with following error/warning massage when you try to load minidlna.
"inssserv: warning: script 'mathkernel' missing LSB tags"

This is due to LSB header tags missing in Mathkernel library. In order to fix this error, please follow the instruction given below.

Open the mathkernel library file by using following command
sudo nano /etc/init.d/mathkernel

Then add following header tags just below the "#!/bin/sh"

# Provides:          mathkernel
# Required-Start:    $local_fs 
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: mathkernel library

Then restart the minidlana using following command
sudo service minidlana restart

Raspberrypi : Step-by-Step Initial Setup with Raspbian

Working with Raspberry PI (RPI) is fun. Typically in home environment, you will connect your RPI to your router and then need to control the RPI from your PC using SSH. This article describe how you can easily setup your RPI very easily in few steps.

Raspberry Pi (RPI) unit (I have Model B with 512 RAM)
Monitor and Keyboard connected to RPI
SD card to load the OS

Configuration Steps

1. Download the Raspbian Image (or any other distribution) from following link
    Raspbian Image here
    All the distributions here

2. Use SDFormatter tool to format your SD card with options as shown below.

3. Once you format the SD card, then write out the Raspbian image that you downloaded as shown below
    Following tools can be used
    a. dd (if you are using linux or unix in your PC)
    b. Win32diskImager in windows (please select correct device [F: SD card reader] and lick write)

4. Plug-in your SD card and boot the RPI and it will show you first configuration screen as below

5. You …