Posted by scottj on April 13, 2017 in Custom Development, Debugging, Testing with No Comments
I must say I’m enjoying Node JS development. I’m starting to lose track of things though, so I need to be writing down my thoughts here. Right now, this is just a link to another blog regarding a Node JS test framework.
Why I use Tape Instead of Mocha & So Should You
No post with similar tags yet.
- CentOS Minimal, Revisited
It's been a long time since CentOS 6 came out. Â We're well into the healthy lifespan of CentOS 7 now, and the process of getting a minimal desktop has changed a little.
First, the install GUI, even for a minimal install, will guide you through setting up an admin user, so we can skip that. Â It's...
- CentOS 6 Minimal
I've come to enjoy using CentOS 6 as installed from the minimal CD. Â Once it is installed, all you get is a login prompt and a root user. Â I take the following steps to set up a personal account:
useradd administrator
passwd administrator
usermod -G wheel...
- Cleaning a Database
When developing against SQL Server, sometimes scripts accidentally get run against the [MASTER] database.  I created the following script to drop all foreign keys, views and tables from a database.  It worked in my case, but be very careful with it.  It has two checks (called out in red) in there for tables that were not...
- Understanding View Models
A view model represents the state and behavior of a particular piece of UI—it is the non-framework-specific analogue of a control. Just as you can't generally place the same control instance in two locations in a UI tree, you can't also reuse the same view model instance.
If you could, we'd call it a ViewsModel :-)
-Bryan Watts
I remember...
- Debugging Timeout in IIS 7.0
I've been working in SharePoint, and when debugging against my local IIS 7.0 instance, there is a 90-second page timeout. If you're not done with what you're investigating at a breakpoint within 90 seconds, IIS will terminate the process hosting your code and dump you unceremoniously.
The tweak is quite easy though. Open IIS Manager, find...
- Setting Up a Development VM
I often set up development VMs. Â Here's some settings I like.
Turn Off the Shutdown Dialog
Almost always my first change, that annoying shutdown tracker may be the best thing since checking comments, in an audited IT environment, but it's less than useless on a personal development VM. Â Let's get rid of it! Â From Start -> Run:
gpedit.msc
Then...
- .NET Data Services MERGE permissions
With the help of a colleague and my client, we reproduced and diagnosed a permissions issue we were having with an elevation of a .NET Data Service from our development environment. When executing MERGE queries through .NET Data Services, we would receive a 401.1 permissions denied error, and the update would fail.
The solution we found...