JavaScript Style Guide by Google


JavaScript Style Guide by Google

Sharing an article having useful information on  JavaScript Style Guides used by Google.

http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml

Sencha cmd change port

Sencha cmd Change Port Number

sencha web -port 8000 start

When we generate and run app using sencha cmd, by default it will map to http://localhost:1841/. The port number can be changed by specifying the port number as above while starting the server.

eg:

D:\senchaSamples\sample_app>sencha web start
Sencha Cmd v5.1.1.39
[INF] Mapping http://localhost:1841/ to ....
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:1841
[INF] ------------------------------------------------------------------
^C
D:\senchaSamples\sample_app>sencha web -port 8000 start
Sencha Cmd v5.1.1.39
[INF] Mapping http://localhost:8000/ to ....
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:8000
[INF] ------------------------------------------------------------------



Mind Your Email Manners - Tips from the etiquette expert

Mind Your Email Manners - Tips from the etiquette expert

Email is often the first impression that others get of you. Here are some tips from the etiquette expert Jacqueline Whitmore, who has done executive coaching and leadership training programs for various Fortune 500 companies.

  1. Err on the side of being more formal. 
  2. An email deserves a greeting.
  3. Mirror the person you are emailing.
  4. The rule is you should reply to an email within 24 hours. Even if you don’t have an answer for someone, reply anyway and say 'Thank you for your email—I’ll get back to you by such and such a date'.
  5. If you haven’t spoken to the person, it’s best to put some little nicety in the front, like ‘Happy New Year’ or ‘I hope you had a great holiday'.The safest way to sign off is ‘Best regards' 
  6. Always keep the sentences very short 
  7. Remember that emails can be forwarded, they can be duplicated - Keep emotions out of it, and keep it simple.
  8. No one can see your facial expressions or hear your tone of voice, so the only way they’re gauging your emotions is the tone that you use in that email -add words such as 'I’m happy to do it' to convey a little warmth. 
  9. 'Text speak' is a strict don’t . Acronyms such as 'lol' don’t have a place in a business email.
  10. Reserve writing messages in all lowercase letters for personal emails. 
  11. Make sure nothing is misspelled. It can reflect poorly on your company if you send a poorly composed email. 
  12. Also, be sure to put in a clear subject line at the top—something busy professionals prize.  
  13. A signature tag line beneath your signoff is a must 
  14. Don’t put unnecessary things in your signature like quotes or religious sayings 


http://www.wsj.com/articles/mind-your-email-manners-1429117413

New technologies in software testing

 New technologies in software testing

Found a document on New technologies in software testing - www.professionaltester.com/files/pt-issue2.pdf

Create HTML5 App using SenchaCmd - Sencha ExtJs 5

Create HTML5 app using cmd commands
Sencha Ext Js 5 

We can create HTML5 apps using Sencha cmd just typing some commands. See below.

sencha -sdk /path/to/sdk generate app MyApp /path/to/myapp
cd /path/to/myapp
sencha app watch 

eg: Open command prompt and enter as below,


If we go to http://localhost:1841/,



If we check the folder,


Any Error? Check following are installed on your machine. (Windows)

1. Java Runtime Environment version 1.7
How to check? Enter java -version in cmd
Installed, still not coming? check java is included in path environment variable
eg: C:\Program Files (x86)\Java\jre7\bin;

2. Ruby
How to check? Enter ruby -v in cmd
Installed, still not coming? check ruby is included in path environment variable
eg: C:\Ruby21\bin;

3. Sencha Cmd
How to check? Enter sencha in cmd
Installed, still not coming? check sencha cmd is included in path environment variable
eg: C:\Users\username\bin\Sencha\Cmd\5.1.1.39


Apple Watch Apps and Resources

Create your free Apple Watch App prototype in just 10 minutes.
No coding required.

GIT Setup



Steps to setup GIT:

1. Install GIT

2. Go to your code base location

3. Create a .gitigonore file to the root directory of project

4. Add the below content to the .gitignore file
.svn
.gitignore
.DS_Store

5. Run the following command from the root directory. This is to be done only once

git init

6. Run the following commands everytime when you want to commit the changes to GIT

git add --all
git commit  -m "checkin message"

7. Go to backup location where you want to keep the backup files. Execute following command for first time

git clone "$CURRENT_PATH"

eg: git clone C:\wamp\www\app1

8. For updating backup location run the following command

git pull