Windows password cache manager (to reset passwords)

run the following command:

C:\Windows\System32\rundll32.exe keymgr.dll,KRShowKeyMgr

Open File Security Warning

Windows 7/8: Disable the “Open File Security Warning” message

This is how you get rid of the nagging message.

  • Open the Control Panel
  • Select “Internet Options
  • Security
  • Custom Level
  • Under the “Miscellaneous” branch
  • Find “Launching applications and unsafe files
  • Set it to “Enable (not secure)
  • Save and exit.

Git login once

Credentials Helper Setup

However… GitHub’s explanation of how to cache your password with the credentials helper aren’t very clear. They tell you to enter this line and then don’t tell you what to do next.

Here’s what I did – worked for me.

In your Git Bash window, enter this line:

$ git config --global credential.helper wincred

Now push a change to Github and enter your credentials – this is where your username and password information gets saved to the credential helper.

You won’t get any feedback telling you that, but you can confirm it worked by pushing another change. This time, you shouldn’t have to enter your credentials again.

Angular Directive with Controller


<div layout="column" layout-fill flex class="animate-slide-up" ng-controller="ShellController as vm">
    <h1>THIS IS SHELL</h1>


(function() {
    'use strict';

        .directive('shell', shell);

        /* @ngInject */
        function shell () {
            var directive = {
                bindToController: true,
                controller: ShellController,
                controllerAs: 'vm',
                restrict: 'EA',
                scope: {
                    'navline': '='
                templateUrl: 'app/layout/shell.html'

            /* @ngInject */
            function ShellController() {
                var vm = this;

            return directive;


npm disable ssl

npm config set registry http://registry.npmjs.org/

gulp parameters

function gulpConfig(environment) {
    return gulp.src('config/app.json')
        .pipe(gulpNgConfig('app.config', {
            environment: environment

 * creates config files
 * @return {Stream}
gulp.task('config-dev', function () {
    var option, i = process.argv.indexOf("--env");
    if (i > -1) {
        option = process.argv[i + 1];
    log('Configuring app: ' + option);

    return gulpConfig(option);

gulp.task('config-test', function () {
    return gulpConfig('test');

unplugging hardware

run this from the command prompt:

rundll32 shell32.dll,Control_RunDLL hotplug.dll

[resolved] bower certificate issues

just edit the .bowerrc file in your app root folder (where you execute the bower command from)

so that it looks (includes registry and strict-ssl)  as follow:

  "directory": "bower_components",
  "registry": "http://bower.herokuapp.com",
  "strict-ssl": false

[resolved] gem certificate issues

just run these commands:

[resolved] npm certificate issues

Receiving the following error:


Upgrade your version of npm

npm install npm -g --ca=""

– OR –

Tell your current version of npm to use known registrars

<code>npm config set ca ""</code>

– OR –

Disable Strict-SSL 

npm config set strict-ssl false


– OR –

Switch from https to http 

npm config set registry="http://registry.npmjs.org/"