Programming Blog
(Move to ...)
Programming Blogs
Health Blogs
▼
(Move to ...)
Home
▼
Tuesday, 22 September 2020
How to find first weekday in the month in MSSQL
›
declare @n datetime = dateadd(mm,0,getDate()) declare @FirstWeekDayOfMonth int SELECT @FirstWeekDayOfMonth= CASE WHEN Dat...
Monday, 7 September 2020
Unit test c#: Create Fake Httpcontext to bypass Null exception for User object
›
Microsoft Visual studio Test Framework Requirement: Nuget package Moq 4.13.0.0 (or later) Settings in visual studio: Menu->Tools->Op...
Accessing SMB share from Raspberry pi (or linux)
›
Install smbclient : sudo apt update sudo apt install smbclient List the share items in the server: smbclient -L host for example: ...
Temperature/CPU/Memory info of Raspberry Pi in console
›
Open the console/terminal in the desktop or Connect to the raspberry pi via ssh and type in the below command For temperature: /opt/vc/bin...
Add Python(or Java or anything) to Environment variables
›
After installation of python in windows 10, python is not added to environment variable by default. If you want to use cmd for python, then ...
Monday, 17 August 2020
Add Azure Devops plugins in Android Studio for Git or TFVC Version control
›
By default, Android studio can not connect to the Azure devops source codes. To connect to the Azure devops, a plugins by Microsoft needs t...
Create Azure SQL User and add a sql role
›
I wanted to add a new sql user "sqluser" in Azure SQL server to access a database "sanjeeb". Steps to create a new SQL...
Tuesday, 11 August 2020
Scrollable readonly EditView in Kotlin
›
Scrollable readonly EditView in Kotlin In the view xml file: < EditText android :id ="@+id/etResult" android...
Wednesday, 5 August 2020
Simple use of Timer in Kotlin
›
the code below will set the button to clickable after 30 sec: btnOk . isClickable = false Timer().schedule( timerTask { btnOk . isCli...
Working with UI controls from Non main thread in Kotlin
›
import org.jetbrains.anko.doAsync import org.jetbrains.anko.uiThread fun anyFunction(){ doAsync { // Normal code inside Async thread...
‹
›
Home
View web version