Skip to content

Instantly share code, notes, and snippets.

View mahamshahid18's full-sized avatar
😎
The force is strong with this one

Maham Shahid mahamshahid18

😎
The force is strong with this one
View GitHub Profile
  • Install pre-reqs (Git, JDK 1.8, Python 2.7, Node version > 6.11)
  • Clone Repo
  • Install Google Cloud SDK (download and install the version you need, afterwards run this command: install.bat --path-update true)
  • Verify if Google Cloud SDK is installed correctly (run in terminal: gcloud version)
  • Get the App Engine Java SDK (run in terminal: gcloud -q components install app-engine-java)
  • Verify if App Engine SDK was correctly installed (run in terminal: gcloud version and there should be an entry on app-engine-java)
  • run in terminal: npm install
  • run in terminal: gradlew.bat createConfigs
  • Modify the file gradle.properties (if you're using a version of JDK which is not defined in PATH -- its value will be added to org.gradle.java.home)
@mahamshahid18
mahamshahid18 / node-quality-sample.js
Created September 28, 2017 12:29
Node.js code sample generated after implementing code compliance
'use strict';
const User = require('./User');
/**
* Creates an instance of Employee
*/
class Employee extends User {
/**
* @constructor
@mahamshahid18
mahamshahid18 / node-sample.js
Created September 28, 2017 12:27
Sample Node.js code before implementing code compliance
var User = require("./User");
/**
* Creates an instance of Employee
*
* @constructor
*/
Employee = function (obj) {
if(!obj) {
User.call(this, null);
this.name = null;

Unicode Characters Allowed in JavaScript Variable Names (as of ES6)

The identifier (variable name) can be split up into the following parts, with explanation about each part:

  • Identifier Start
  • Identifier Part

Identifier Start

This section describes what is allowed in the start of the identifier. i.e what characters are allowed as the first character of the variable name. From the EcmaScript documentation, it is described that start of the identifier can contain one of the following characters: