Monday, October 31, 2016

Software in General Links

 
 
Happiness is a Boring Stack - C# SQL Server, etc doesn't break, but still keep up with the latest cool stuff.
 
 
 
 
 
 

Javascript Links

 
If you are new to JavaScript, start with the articles in the learning area and the JavaScript Guide. Once you have a firm grasp of the fundamentals, you can use the JavaScript Reference to get more details on individual objects and statements.
 
Getting st
 

Friday, October 28, 2016

Node.js

Express web framework:

In Visual Studio:

AngularJS: AJAX using ASP.NET Web API & Node.JS:


Run a node server app as a windows service or in the background:
I've npm installed PM2
pm2 list
pm2 start appHttp.js
pm2 stop appHttp.js
 
Upgrade node and npm
Download and run Node MSI (the official Node site)
Run npm-windows-upgrade (the official NPM site)
node -v
npm -v
here's how to upgrade npm:
npm-windows-upgrade -p -v latest 
 
 
Node for Windows guidelines
 
Node API Docs
%APPDATA%\npm\node_modules\learnyounode\node_apidoc
 
NPM
Scenario: install lodash globally, then make it a dependency of the project
-----------------------------------------------------------------------------------------
npm install -g    (-g is for global)
      ex: npm i -g lodash
npm i --save lodash (this marks lodash as a project dependency in the package.json file )
-----------------------------------------------------------------------------------------
Scenario: install packages locally and check them in
(an option to consider)
need to have node_modules folder in .gitignore
-----------------------------------------------------------------------------------------
Scenario: download dependencies not checked in
npm install
-----------------------------------------------------------------------------------------
 
 
npm shrinkwrap   (do this after an install so that dependencies of dependencies, etc get versioned
so that everyone cloning the project will have all the same dependencies recursively down the
dependency chain) - Caveat - to be 100% confident, check binaries in.

Saturday, September 17, 2016

New Project Connected to BitBucket Git Repo

(Using a Web API project)
 
Create project in VS2015 selecting "Create new Git repository" checkbox.
 
Click on Team Explorer Home toolbar button.
 
Click on Sync button.
 
Create repo in BitBucket.
 
Under "Publish to Remote Repository", click "Publish Git Repo"
 
Get URL to BB repo under Command Line link "I'm starting from scratch"
 
Paste then click "Publish"
 
Now click Sync, and with little or no indication of any progress you should see the files in BB.
 
You can change a file and check in then sync and it should appear in BB (or actually, I think you may need to put a change in, not sure)
 
 
 
 
 
 
 

Sunday, January 17, 2016

Android Links

 
Developers.Android.com
Home (getting started)
 
 
Design
Material Design
 
Designing Effective Navigation (Android Developers)
 
 
Versions
Marshmallow 6
Lollipop 5
KitKat 4.4 - 4.4.4, 4.4W - 4.4W.2
Jelly Bean 4.1 - 4.3.1 (S3 mini - 4.1.2)
 

Wednesday, October 28, 2015

Uninstall Visual Studio 2015 Enterprise

I had a bad install of Visual Studio 2015 Enterprise (iso from MSDN Subscription) and it would not run or uninstall, even with /uninstall /force.
 
Some of the error messages:
 
"Setup blocked"
 
"Failed to download the update xml file..."
 
This tool did the trick, it tells you where all of the .msi files are so you can uninstall Visual Studio bit-by-bit. All of the uninstalls worked. I probably missed a few, but when then I did the web install and selected uninstall and it uninstalled cleanly. I then was able to do a full web install that went perfectly.
 
Thanks to Aaron Stebner.