A couple of days ago Facebook released Yarn, a new package manager for Javascript, with a focus on speed and consistent package dependency management across machines. With Yarn, engineers still have access to the npm registry, so I thought it worth the try to test the claimed speed improvements between package installation using yarn and npm default installation process. For my tests I used ng-lightning, a project for…
Sometimes, it is helpful to be able to set a timer to auto shutdown your PC, after a certain amount of time. In Windows 10 you can do that through many ways, but essentially, using the same command. Command Prompt Type shutdown -s -t 300 where 300 is the amount of seconds to wait till the shutdown start (around 5 minutes) Powershell The…
In order to use .NET Core on your Mac, you first need to install the latest version of OpenSSL. The easiest way to get this is from Homebrew.
1 | ~$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
After installing brew, you need to do the following:
1 2 3 4 | ~$ brew update ~$ brew install openssl ~$ ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/ ~$ ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/ |
When trying to initialize a basic .NET project through dotnet new or restoring packages on an existing one, using dotnet restore, you might come across…
If you are a developer on a Windows machine and you want to access a Redis Server while you build your application, you have several options; one of them is to use the Redis port on Windows project by MSOpenTech, download the latest binaries and have your Redis Server running on Windows. Another option is to have a Linux VM running on your machine and connect to it whenever you need it….
Windows 10 Anniversary update offers a new feature for developers, an Ubuntu-based Bash shell that can run Linux software directly on Windows. How to install it First of all, you need to enable the Developer Mode on Windows 10. To do so, open Settings app and head to Update & Security. Then on the left side click on For Developers option and finally, activate the Developer Mode…
In Azure if you have two or more SQL Databases and you want to perform a query across them, you might come across the following error:
1 | Reference to database and/or server name in '[database table]' is not supported in this version of SQL Server. |
In order to perform cross database queries among SQL Azure databases you need to use the elastic database query feature. What is the Elastic Database Query Feature? The elastic database query feature enables you to run a Transact-SQL query…
What is it? EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control…
Node.js is updating quite frequently these days, so using your terminal on a Mac or command line on Windows would make update process faster. Updating Node.js on a Mac To update node.js on a mac, through terminal, you have a lot of options through popular package managers or node.js version managers. N N is a very simple node.js version management system. If you don’t have it,…
In Windows when you want to copy the path for your folder you click on the address bar and simply copy-paste the address path, but in Finder- in your Mac- you don’t have that option. So how you do that then? The process is very simple and is going to be described in the next few steps. Launch Automator Create Service…
There are some scenarios where you might want to reinstall nuget packages in your projects, like for example: Project Retargeting or Upgrade This can be useful when a project has been retargeted or upgraded and if the package REQUIRES reinstallation due to the change in target framework. You Broke the Project In case, you have inadvertently modified contents installed from a…