DebugView tool [Download from https://docs.microsoft.com/en-us/sysinternals/downloads/debugview] Add Windows API declaration: Public Declare Sub Debug32 Lib “kernel32” Alias “OutputDebugStringA” (ByVal lpOutputString As String) print debug information like Debug32 “Print Info” Read more →
Category: Uncategorized
What is DevOps? When it needs?
DevOps is a combination of Software development (Dev) and Information-technology operations (Ops) It reduced the systems development life cycle. Provide continuous delivery with high software quality. Read more →
Custom Route Constraints
https://blogs.msdn.microsoft.com/webdev/2013/10/17/attribute-routing-in-asp-net-mvc-5/#custom-route-constraints Read more →
TFS Cache default directory
C:\Users\{<user_name>}\AppData\Local\Microsoft\Team Foundation\{<verssion>}\Cache Read more →
Write File from excel
Sub WriteFile() Dim strPath As String strPath = “C:\\temp\\” & “filename.txt” Dim fso As Object Set fso = CreateObject(“Scripting.FileSystemObject”) Dim oFile As Object Set oFile = fso.CreateTextFile(strPath) oFile.writeLine sInsert For i = 2 To 100 ‘#loopCount oFile.writeLine “pankaj” Next oFile.Close Set fso = Nothing Set oFile = Nothing MsgBox (“Done”) End Sub Read more →
How to re-position dialogbox
$(“#dialog”).dialog(“widget”).position({ my: ‘center’, at: ‘center’, of: window }); where windows is container of position Read more →
reset last commit in Git
git reset –hard origin/master Read more →
Git Branch creation and point to remote repository
#Goto Master/origin Branch git checkout master #make sure you have the latest files git pull #create new branch in your local repository git checkout –b NewBranchName #create remote branch with tracking git push –u origin NewBranchName Read more →