Category Archives: Uncategorized

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Git error after Mac OS upgrade

After upgrading from macOS Sierra to macOS High Sierra, I tried to run git from the terminal but it kept giving me the following error:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

After some research, I found that I need to install xcode

Open Terminal, and run the following:

xcode-select --install

This fix the problem for me. If it still didn’t (as some users reported on a thread, you can try to run the following SUDO command

sudo xcodebuild -license

You should be get going now.

Advertisements

Leave a comment

Filed under Uncategorized

Cool Tool

For UML, Flow Chart or mind maps – https://www.lucidchart.com
For all kind of presentation – http://prezi.com/

Manage you Workflow – https://workflowy.com

 

Leave a comment

Filed under Uncategorized

What is the SQL query to find the datatype of a column in a table

Use information_schema as

SELECT COLUMN_NAME,
 DATA_TYPE,
 CHARACTER_MAXIMUM_LENGTH
FROM  INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = ‘MyTable’

Leave a comment

Filed under Uncategorized