When running nodejs application on ubuntu
this is because the package manager named the application nodejs instead of node
make a symlink from nodejs to node and it should work
sudo ln -s /usr/bin/nodejs /usr/bin/node
An archive of solutions of programming problems I have faced in my career
When running nodejs application on ubuntu
this is because the package manager named the application nodejs instead of node
make a symlink from nodejs to node and it should work
sudo ln -s /usr/bin/nodejs /usr/bin/node
if there are snapshots, merge back first before resizing
or resize all the snapshots plus the current vdi to same size, then delete the snapshots(might not need to delete?)
https://blogs.msdn.microsoft.com/willy-peter_schaub/2010/09/15/if-you-have-problems-with-tfs-or-visual-studio-flush-the-user-cache-or-not/
Delete the contents from the following folders
C:\Users\<<Your Alias>>\AppData\Local\Microsoft\Team Foundation
C:\Users\<<Your Alias>>\AppData\Local\Microsoft\VisualStudio
C:\Users\<<Your Alias>>\AppData\Local\Microsoft\VSCommon
Go to the Visual Studio IDE folder in command prompt and Run the following command “devenv /resetuserdata” from the Visual Studio IDE folder.
Typical location for 64 bit: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
Typical location for 32 bit: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
Use Telerik Fiddler, and then search for Set-Cookie only in response headers
A quick way to figure out which API set the cookie.
When user resizes a column in a grid, the columnresize event is triggered multiple times for all changed columns
To do something only after all those columns are changed, handle afterlayout event instead
This issue was caused because the build scripts depend on this file, which is part of the VS C++ dev tools
Simply install VS C++ dev tools and it will work
If an Ext Js grid has changes to the column sizes and child components that causes some white space below or on the side when resizing browser window. Call doLayout or updateLayout to fix.
If you find that you need to debug code in solution A while running project B. You can build the required assembly in Debug mode and copy both the DLL and .pdb files to project B and build B.
Then when debugging in Visual Studio, you can step into code of solution A
This can be accomplished in Firefox by using Object.prototype.watch(‘prop’, function(){debugger;});
Very useful at times.
It’s possible to join on multiple fields in LINQ using anonymous type
from item1 in data
join item2 in data
on new {item1.field1, item1.field2} equals new {item2.field1, item2.field2}
select new {
Field1 = item1.field1,
Field2 = item2.field2
}