Search This Blog

Monday, July 27, 2020

Reset Atlassian SourceTree password


Go to %LOCALAPPDATA%\Atlassian\SourceTree

and delete passwd file

Monday, March 2, 2020

Terminal not working on Sourcetree 3.3.6

Solution

Go to 
Tools\Options\Git

Change Git Version to System



Friday, April 12, 2019

Install UglifyJS Webpack Plugin


Install UglifyJS Webpack Plugin


npm install uglifyjs-webpack-plugin --save-dev

Thursday, March 28, 2019

node asserts in node_contextify.cc:631 Assertion `args[1]->IsString()' failed

How to solve 

node asserts in node_contextify.cc:631 Assertion `args[1]->IsString()' failed ?

Solution:

npm i natives

Wednesday, March 27, 2019

Uninstall R Tools for Visual Studio


How to uninstall Uninstall R Tools for Visual Studio?

Tools -> Extensions and Updates


Thursday, January 10, 2019

PlantUML jar command cannot be run

Error: PlantUML jar command cannot be run 

SOLUTION

You need these things to run PlantUML:

Friday, December 21, 2018

Nodejs Assertion args[1]->IsString() failed

Nodejs Assertion args[1]->IsString() failed

node asserts in node_contextify.cc:631 Assertion `args[1]->IsString()' failed


Solution:
run:
 
npm i natives

Friday, June 8, 2018

current working directory node.js

node.js > process > cwd

process.cwd() returns the current working directory

Thursday, May 31, 2018

Get File Version of Process c#

c# > System.Diagnostics > Process Class > GetProcesses

GetProcesses: use this method to create an array of new Process components and associate them with all the process resources on the local computer. 

Get File Version of Process

var processes = Process.GetProcesses();

foreach (var process in processes)
{
try
{
              Console.WriteLine("Process: {0} FileVersionInfo: {1}", process.ProcessName, process.MainModule.FileVersionInfo.FileVersion);
       }
       catch
{ };
}

Friday, January 19, 2018

View Error List Visual Studio

Visual Studio -> Error List

Click View / Error List


Monday, September 25, 2017

New line in resx file Visual Studio

Visual Studio - > Resource Files

New line

  • Use Shift+Enter to insert a new line.

Wednesday, May 3, 2017

C# Concat Example

C# > String > Methods > Concat

Concatenates strings and it does not add any delimiters.

Example


string firstName = "Dan";
string lastName = "Trump";


var name = string.Concat(firstName, " ", lastName); // "Dan Trump"