Skip to main content

Posts

Showing posts from 2015

Thunderbird can not open tmp file / Thunderbird check your temporary directory setting

Error: Thunderbird check your temporary directory setting. Thunderbird can not open tmp file Issue: Mcafee Spy Scan is interrupts Thunderbird writing to temp folder Fix: Change Mcafee Spy Scanner option from , - Scan 'All files (Recommended) to - Prodgrams and Documents only Here is the screenshot in McAfee settings.  This also will improve your browsing issues.

Docker Quick start error: on Windows 10 - bash: docker command not found

Error: Docker Quick start error: on Windows 10 - bash: docker command not found   Issue: Improper Docker installation on Windows Git Bash / Git Shell couldn't find the Path for the Docker Docker.exe is not set in the path. FIX: Give it a quick shot running Docker ToolBox.exe ( Actual docker install file for windows  which you have downloaded ) This will mostly fix the path and also the starting trouble with Docker Quick start shell window.

NPM Node.js packages not recognized on Command Prompt in Windows . (Paths are set correct)

ISSUE:   On Windows command prompt, while running node.js packages, you get this error. <packagename> is not recognized as an internal or external command, operable program or batch file.   This happens even you path settings in Command window and Environment Variables look correct .   FIX:   Recent Windows update in your system messes up the Node configurations. So, before trying to NPM Install <your package> ,    First try 'DOWNLOAD AND REINSTALL NODE.JS' for a quick fix.

Intel Edison Robot - Seed studio assembly, IOT

Intel Edison Robot - Seed studio assembly, IOT Here are the steps to assemble a Seed Studio Chassis for Intel Edison Robotics. I took pictures in every stage following the Printed guide came with the box. But I couldn't take more detailed pictures that would help you to assemble ever more quicker.  *I'll soon update with Intel XDK code instructions here. * Misprint in the printed guide: In Step 8: It is not screws and bolts. You have to fix the 'Switch' in that slot as shown in the picture. Some issues I went through: - couple of screws not fitting to the slot. Make sure you don't try the screws in wrong slots, after one try, the thread in the screw changes or some thing, it just not fit to the slot. -  There are no instructions how to connect the Battery meter that came with the kit.  - There is no instruction for how to make the first beep sound, that is when you connect the battery. - Finally, I dropped screws 3 times on a dark floor, it was hard...

Angular UI Routing (angular-ui-router) problem with '-' in the state name - model is not bound in first load.

Issue: angular-ui-router confused with state names separated with '-' . Ex. Sign-up vs Sign-up-user. Though it loads the template it is not binding the model in the first load. You have to click same link again to get the form fields populated. Angular-ui- router - almost treating it as sub url path like in " sign-up.user" the URL will be-  'sign-up/user' .  FIX: Avoid same prefix separated by '-'.  Use  some thing like  'signup-user' instead of 'sign-up-user' that repeats the other route 'sign-up'. Code:   This below code will not populate the form fields first time . app.js  .state( 'sign-up', {           url: '/sign-up',         templateUrl: 'views/sign-up-options.html'       })      .state( 'sign-up-user' , {                 ...

Form Validation in Angular.js - Quick and Simple method On Submit click - HTML5 Validation vs AngularJs Validation

Form Validation Before AngularJs:  Validation done in java script or mostly with JQuery Validation . JQuery Validation uses Html 'Class' attribute of any Html element to implement Validations, like Class = " required  " And there were many different libraries to do simple and fancy validation - highlights in JQuery.  HTML5 Validation: In HTML5 you can add many element types and attributes like below to a HTML element for validations. InputTypes: email, url, number, color , date, datetime, datetime-local, month, search, tel, time, week, range Ex:  Date: <input type="date" name="date" required>  this will show a text box with a dropdown arrow for 'DatePicker' provided by the HTML5 supported browsers. Attributes:    required, pattern, placeholder, max, min, size,  All these validations and required fields are enforced by the HTML5 supported Browsers when you click on Submit button. Submit button OnClick - event will ...

Angular.js Error: Unknown provider: CompanyProvider<- Company

ERROR: Error : Unknown provider : CompanyProvider <- Company   Anguar.js throws this kind of error related to the Model (here it is Company) name / module name.   FIX:      1. Check the defined model is existing in the Models folder , in the mmmm.Json file and check the Model Name.   { "name": "Company", "base": "PersistedModel", "idInjection": true, "properties": { "name": { "type": "string", "required": true } }   2. Check the resources file created by $resource for the model name.   3. If you are using "Add New" form, make sure use a unique empty object name for that.   like, instead 'Company' or 'company' - use 'newCompany' that help avoid miss matching local objects with Model references.   .controller('AddCompanyController', ['$scope', ' Company ', '$state...

Bootstrap 3.3 navbar-toggle style change

ISSUE: When you have  navbar  background color as 'white' , bootstrap navbar-toggle button will not be visible as its default style is 'transparancy' with white stripes. FIX: Try changing navbar-toggle as below in your custom stylesheet.   .navbar-toggle {       background-color: #cdcdcd  ; }   .navbar-toggle:hover,   .navbar-toggle:focus {   background-color: #f44d3c  ; border-color: #f44d3c  ; } If you try .navbar-default  .navbar-toggle {       background-color: #cdcdcd  ; } - will not work in bootstrap 3.3.

Xamarin release build error: obj\Release\android\AndroidManifest.xml(0,0): Error: Error parsing XML: unknown encoding

ERROR: \Release\android\AndroidManifest.xml(0,0): Error: Error parsing XML: unknown encoding ( ) CAUSE: Android Application  Version Name  is not in right format (encoding="utf-8") , so it is using a default with  <?xml version="1.0" encoding="Windows-1252"?> FIX: In the project options set android application - versionName to 3 digit version like "1.0.0",  not "1" or  "1.0"  Ex: android:versionName="1.0.0" After this change the code will compile and you can see this following line in the obj\Release\android\AndroidManifest.xml(0,0) <?xml version="1.0" encoding="utf-8"?>

NPM install Errors: '../build/Release/bson' 'MODULE_NOT_FOUND' js-bson: Failed to load c++ bson extension, node-gyp.js rebuild, ENOENT

 ISSUE: Node.js modules build errors NPM install Errors:  '../build/Release/bson' 'MODULE_NOT_FOUND'  js-bson: Failed to load c++ bson extension, node-gyp.js rebuild, ENOENT CAUSE: Even  if python path is set in the Windows' environment variable and in the path, node-gyp is not picking the python path . If you type 'python' from any directory it might work. But node-gyp will still through these errors.  It is confusing as in CLI python works if you call python.exe, but node-gyp doesn't find it, so you decide to try on every thing else you can find online. - If there is a C++ error , node-gyp rely on visual studio's C++ compiler to build. You might need to set Visual C++ path or version in the CLI command.  - long directory or path name issue in Windows: Windows only can handle 260 charecters in a given path name (oooooooooops. This is not an easy fix for windows as the core OS is built on top of this limitation.) . You have to make it sim...