Friday, July 14, 2017

Resources To Refresh

CORE:
hoisting in js
ES6 concepts
closure
prototype

http://es6-features.org/#Constants

Ability to structure elegant JavaScript code, delay loading, execution optimization, memory management, authentication concerns and threading

Strong JavaScript knowledge, including concepts like asynchronous programming, closures, types, and ES6

variadic functions;

bind, apply call

http://javascriptissexy.com/javascript-apply-call-and-bind-methods-are-essential-for-javascript-professionals/

Website:
http://javascriptissexy.com/

http://thatjsdude.com/interview/

https://medium.freecodecamp.org/cracking-the-front-end-interview-9a34cd46237

http://javascriptissexy.com/javascript-prototype-in-plain-detailed-language/

Javascript design patterns


The Two Pillars of JavaScript Part 1 — Prototypal OO.
The Two Pillars of JavaScript Part 2 — Functional Programming.


https://javascript.info/prototype-inheritance

Facebook/Twitter updates, stock price updates, news feeds, sport results, etc.

https://www.w3schools.com/html/html5_serversentevents.asp


NODE:
Node js middle ware

https://expressjs.com/en/resources/middleware.html


CSS:
css LESS, SASS

difference between margin and padding

ANGULAR:

App level Exception handler

$injector

$resource

$q

$scope.$apply()
The $scope.$apply() function is used to execute some code, and then call $scope.$digest() after that, so all watches are checked and the corresponding watch listener functions are called. The $apply() function is useful when integrating AngularJS with other code.

$apply, $digest, $watch explained clearly
http://tutorials.jenkov.com/angularjs/watch-digest-apply.html

AngularJS: Factory vs Service vs Provider
https://tylermcginnis.com/angularjs-factory-vs-service-vs-provider/

https://docs.angularjs.org/api/ng/service/$q#testing

https://docs.angularjs.org/guide/unit-testing

https://www.toptal.com/angular-js/top-18-most-common-angularjs-developer-mistakes





Tuesday, December 16, 2014

Fetch mp3 from websites

Fetch mp3 from websites:

wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off [url of website]
Options meaning:
-r            recursive
-l1           maximum recursion depth (1=use only this directory)
-H            span hosts (visit other hosts in the recursion)
-t1           Number of retries
-nd           Don't make new directories, put downloaded files in this one
-N            turn on timestamping
-A.mp3        download only mp3s
-erobots=off  execute "robots.off" as if it were a part of .wgetrc

Thursday, October 23, 2014

Friday, April 25, 2014

Thursday, October 17, 2013

Need to test email notification functionality in enterprise app 
without using QA or Prod mail server,Need to use email functionality without problems in SMTP configuration, we can use the below approach.

Please find the step by step guide to configure hmail server(http://www.hmailserver.com) in our local machines to test email functionalities whenever needed at the below link.


email.server.host=localhost
email.server.port=25


Thursday, April 26, 2012

My First VB Script to rename folder names

My First VB Script to rename folder names.

This script helped to rename and arrange movie files and movie folders in external hard disk.


Set objFS = CreateObject("Scripting.FileSystemObject")
strFolder = "i:\Movies"
Set objFolder = objFS.GetFolder(strFolder)
For Each Folder In objFolder.SubFolders
strFolderName = Folder.Name
if InStr(strFolderName,"[DVD~RIP]") <> 0 Then
WScript.StdOut.WriteLine "Inside if"
WScript.StdOut.WriteLine strFolderName
strFolderName = Replace(strFolderName, "[DVD~RIP]", "")
Folder.Name=strFolderName
End If
Next

Followers