Windows update not working..

If you are facing issues on windows 7 not updating the patches after the first install. There could be issues specific to few pre-requisite installed not updated properly. After a long search on the internet finally able to find the list of updates required to fix this issue.

    For 64 bit

https://download.microsoft.com/download/E/9/7/E97EFDD9-053D-4C5B-96F4-F4928818C9A4/Windows6.1-KB3050265-x64.msu

https://download.microsoft.com/download/F/6/7/F678BB18-7D81-4BBA-8FED-6388FF7968AD/Windows6.1-KB3065987-v2-x64.msu

https://download.microsoft.com/download/F/A/A/FAABD5C2-4600-45F8-96F1-B25B137E3C87/Windows6.1-KB3102810-x64.msu

https://download.microsoft.com/download/9/C/8/9C855F85-08B1-47B4-97DF-B6A7D187F0B7/Windows6.1-KB3135445-x64.msu

https://download.microsoft.com/download/B/7/C/B7CD3A70-1EA7-486A-9585-F6814663F1A9/Windows6.1-KB3138612-x64.msu

https://download.microsoft.com/download/5/7/3/57362720-7B19-4CBB-97A1-BF8608449C85/Windows6.1-KB3161664-x64.msu

https://download.microsoft.com/download/5/D/0/5D0821EB-A92D-4CA2-9020-EC41D56B074F/Windows6.1-KB3020369-x64.msu

https://download.microsoft.com/download/5/6/0/560504D4-F91A-4DEB-867F-C713F7821374/Windows6.1-KB3172605-x64.msu

    for 32 bit

https://download.microsoft.com/download/E/D/0/ED0AEBFC-A0DB-487E-8A55-F1AD952BBC29/Windows6.1-KB3050265-x86.msu

https://download.microsoft.com/download/C/5/3/C530B84C-857A-4296-BB9E-3BB59EEDF555/Windows6.1-KB3065987-v2-x86.msu

https://download.microsoft.com/download/A/0/9/A09BC0FD-747C-4B97-8371-1A7F5AC417E9/Windows6.1-KB3102810-x86.msu

https://download.microsoft.com/download/2/E/D/2ED368A8-9967-4829-9CD5-9037AD48FF72/Windows6.1-KB3135445-x86.msu

https://download.microsoft.com/download/E/4/7/E47FB37E-7443-4047-91F7-16DDDCF2955C/Windows6.1-KB3138612-x86.msu

https://download.microsoft.com/download/A/9/C/A9C46BAF-EA73-48FD-B0B6-F243DDC20D51/Windows6.1-KB3161664-x86.msu

https://download.microsoft.com/download/C/0/8/C0823F43-BFE9-4147-9B0A-35769CBBE6B0/Windows6.1-KB3020369-x86.msu

https://download.microsoft.com/download/C/D/5/CD5DE7B2-E857-4BD4-AA9C-6B30C3E1735A/Windows6.1-KB3172605-x86.msu

The following link has the full details.

[Fix] Windows 7 Keeps Checking for Updates for Hours

Ad settings in your Google account

If you have a android phone and wondering how ads are shown based on the google search or youtube videos that you watched previously. The main reason for this is google ads. Google records all the activity that you perform and use that to show you relevant ads. If you are very particular and do not want your activity to be tracked, then you need to change your ad settings.

Login to Google Ad settings link
https://www.google.com/settings/u/0/ads/authenticated

turn off Ads based on your interest.

If you are really not particular on this then have this option “ON”. At times you will get to see ad’s and info that you are looking for.

Yeoman scaffolding tool

If you are working for Java Script project, then you would have heard about Yeoman. Yeoman generator creates a scaffolding project for you. The projects has all the best of the breed frameworks available within it.

How to install yeoman generator

Go to to Yeoman site

http://yeoman.io/

Select  a specific generator for your project. E.g Angular, React, etc.

Node.js (npm) should be installed as pre-requisite.

Step 1: Install yeoman

npm install -g yo

Step 2: install the generator from 

npm install generator-angular

Step 3:  install generator

yo angular

git behind corporate proxy

If you have trouble cloning github repository from your company’s PC. Then you need to set-up Git for additional configuration to go through corporate proxy.

For windows:

You need to download and install git client in windows PC. (GitBash)

For Mac

You can use Terminal. Git is pre-installed.

open Gitbash or Terminal and enter the following command

git config –global http.proxy ‘http://<domain name>\<user id>:<password>@<proxy server>:proxy port’

git config –global https.proxy ‘http://<domain name>\<user id>:<password>@<proxy server>:proxy port’

If your password contains special characters, the you need to use escape characters.

E.g if your password contains ‘@’ symbol then ‘@’ needs to be replaced with ‘%40’

node.js – npm behind corporate proxy

If you have trouble running npm behind a corporate proxy which uses a domain, username, password combination, then you can do the following steps to fix it.

Corporate Proxy Rules

User: <Domain name>\<user id>

Password: <Password>

Proxy-ip: ip address or domain name of proxy server

Proxy-port: Port of the proxy ip.

Pre-requisite:

Node.js should be installed.

Steps:

Open Command prompt (WIndows PC)/ Terminal (Mac)

type in the following command

npm config set proxy=http://<Domain name>%5C<user id>:<Password>@<Proxy-ip>:<Proxy port>

npm config set https-proxy=http://<Domain name>%5C<user id>:<password>@<proxy-ip>:<proxy port>

Important steps: Open .npmrc file and validate the settings. Sometime npm will update your password with escape characters. If you see any discrepancy, go ahead and make changes directly in the file.

The file is located under

for windows: c:\Users\<user id>\.npmrc

for mac

type cd ~

This will be user directory.

Word of caution:

npm does not like special characters in the password like ‘-‘, ‘#’, ‘$’ etc.  If your corporate policy mandates you to have special characters in password, then safely choose ‘@’

Packing food items for USA

If you are looking for a good packers to take your food items, podi’s and other items, then try these places where they do airtight packing for flight travel.

Deluxe Abroad Packers

West Mambalam – 9884132061

Nanganallur – 9710435587

Queen Abroad Packers

RK Mutt Road, Mylapore

24951622/24617699

Global International Packers & Movers

Adyar, 9840387137

Sonar – Javascript and CSS review

Pre-Requisite:

  • MySql is installed and started.
  • Sonar Qube is installed and started (sonar start)
  • Eclipse
  • JavaScript Source files to be analysed.
  • Sonar ant task jar (sonar-ant-task-2.2.jar).

Create a blank eclipse project and copy thesonar-ant-task-2.2.jar. 

Create an ant build file build-Sonar-JS.xml.

<project name=“Sonar JS” default=“sonar” basedir=“.” xmlns:sonar=“antlib:org.sonar.ant”><property name=“sonar.jdbc.url” value=“jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8” />

<property name=“sonar.jdbc.username” value=“sonar” />

<property name=“sonar.jdbc.password” value=“sonar” />

<!– Define the SonarQube project properties –>

<property name=“sonar.projectKey” value=“org.codehaus.sonar:example-css-ant” />

<property name=“sonar.projectName” value=“Sonar JS” />

<property name=“sonar.projectVersion” value=“1.0” />

<property name=“sonar.language” value=“js” />

<property name=“sonar.sourceEncoding” value=“UTF-8” />

<property name=“sonar.sources” value=“/full/path/of/the/js/folder” />

<target name=“sonar”>

    <taskdef uri=“antlib:org.sonar.ant” resource=“org/sonar/ant/antlib.xml”>

        <classpath path=“sonar-ant-task-2.2.jar” />

</taskdef>

    <sonar:sonar />

</target>

</project>

Run the build-Sonar-JS.xml as ant task.

Open Sonar Qube dashboard.

http://localhost:9000/

login with default credentials admin/admin

Click on the Dashboard menu and you see the JS violations.

HTML Reports:

In order to view the reports as HTML file

Login to sonar qube (http://localhost:9000) as admin/admin

Click on settings > Update Center > Available Plugins > Install Issues Report plugin.

Once the plugin is installed, restart sonar.

Login to Dashboard > Settings > General Settings > Under Category (Select Issues Report)

Enable HTML Report to True

Run the build-Sonar-JS.xml as ant task.

now you will see a .sonar folder under the eclipse project directory.

The directory will contain issues-report folder.

Open issues-report.html to view the violation offline.

Thoughtful Story -1

Source: Internet.

A cowboy named Banta Singh was overseeing his herd in a remote pasture in Punjab when suddenly a brand-new Ferrari advanced toward him out of a cloud of dust. The driver, a young man in a Brioni suit, Gucci shoes, Armani sunglasses and YSL tie, leaned out the window and asked the cowboy, “If I tell you exactly how many cows and calves you have in your herd, Will you give me a calf?” Banta looked at the man, obviously a yuppie, then looked at his peacefully grazing herd and calmly answered, “Sure, Why not?” The yuppie parked his car, whipped out his macBook Air computer, connected it to his iphone, and surfed to a NASA page on the Internet, where he called up a GPS satellite to get an exact fix on his location which he then fed to another NASA satellite that scanned the area in an ultra-high-resolution photo. The young man then opened the digital photo in iPhoto and exported it to an image processing facility in Italy . Within seconds, he received an email on his iPhone that the image has been processed and the data stored. He then accessed an MS-SQL database through an ODBC connected Excel spreadsheet with email on his iPhone and, after a few minutes, received a response. Finally, he printed out a full-color, 150-page report on his hi-tech, miniaturized Canon LaserJet printer, turned to the cowboy and said, “You have exactly 1,586 cows and calves.” “That’s right. Well, I guess you can take one of my calves,” said Banta. He watched the young man select one of the animals and looked on with amusement as the young man stuffed it into the trunk of his car. Then Banta said to the young man, “Hey, if I can tell you exactly what your business is, will you give me back my calf?” The young man thought about it for a second and then said, “Okay, why not?” “You’re Pappu”, said Banta. “Wow! That’s correct,” said the yuppie, “but how did you guess that?” “No guessing required.” answered the cowboy. “You showed up here even though nobody called you. You want to get paid for an answer I already knew, to a question I never asked. You used millions of dollars worth of equipment trying to show me how much smarter you are than me, and you don’t know a thing about how working people make a living – or about cows. And, for that matter. This is a herd of sheep………. Now give me back my dog.”