Skip to content

Instantly share code, notes, and snippets.

John Papa johnpapa

Block or report user

Report or block johnpapa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
johnpapa /
Last active Apr 19, 2019
Angular Architecture Workshop Setup Instructions

Angular Architecture Workshop Setup

Please install the following recommended tools prior to the workshop.

Thanks for joining us!

Highly Recommended

  1. Install Visual Studio Code
johnpapa / db.js
Created Mar 20, 2019
Mongo Connection and retry
View db.js
// @ts-check
const mongoose = require('mongoose');
const {
} = require('./config');
johnpapa /
Created Feb 3, 2019
Vue Fundamentals Workshop Setup
johnpapa / bookmarklet.js
Last active Jan 25, 2019
link generator for bookmarklet
View bookmarklet.js
// Directions
// Step 1: Click Gist Raw, then Copy/Paste entire gist into
// Step 2: Change the first 3 variables: alias, event, docs
// Step 3: At the bottom of the page, right click the Bookmarklet Hyperlink and "copy link"
// Step 4: Right click int he bookmark bar in the browser and paste
// Credit: Thanks to Shayne Boyer and Scott Care for core code and inspiration
johnpapa /
Last active May 10, 2019
Introduction to Vue

Getting Started with Vue

This course gently introduces how to start developing with Vue to create web applications.

You will learn how to hone your Vue component skills, display data, present lists and inputs, handle user interactions in components, navigate between views, manage data and state, and get started with all of the key tools to make you efficient at developing with Vue.

1 - Getting Started with Vue

The learner will see what we will learn and build in the demos for this course. We’ll cover the requirements for Vue, how to set up your tools to code with Vue, and what recommended tooling you will need.

johnpapa /
Last active May 9, 2019
Angular Fundamentals Workshop Setup Instructions

Angular Fundamentals

Do you want to get a jumpstart on developing with Angular so you can build robust Web applications? Join us and learn how to work with data binding, create components, and communicate across components with input/output bindings. We'll show how to abstract logic into client-side services, provide services using the Angular injectors, and take advantage of dependency injection. When it's time to communicate with a server, we'll need to talk over HTTP. We'll learn how to send and receive data to and from a server using Http and use RxJS and observables.

You'll also learn how to get up and running quickly with the Angular CLI. Bring your laptop, as you’ll be writing Angular code using what you learn in several hands-on exercises.

Introduction to Angular

Learn about the Angular framework, the requirements to getting started, and the basic of TypeScript.

johnpapa /
Created Sep 20, 2018
zero config vue app
npm install -g @vue/cli-service-global
echo '<template><h1>Hello!</h1></template>' > App.vue
vue serve
johnpapa /
Created Aug 9, 2018
cosmos api doc

title: Node.js tutorial for the SQL API for Azure Cosmos DB | Microsoft Docs description: A Node.js tutorial that demonstrates how to connect to and query Azure Cosmos DB using the SQL API keywords: node.js tutorial, node database services: cosmos-db author: deborahc manager: andrl editor: monicar

ms.service: cosmos-db

johnpapa / .angular-cli.schema.json
Created Nov 21, 2017
Angular CLI Config Schema
View .angular-cli.schema.json
"$schema": "",
"id": "",
"title": "Angular CLI Config Schema",
"type": "object",
"properties": {
"$schema": {
"type": "string"
"project": {
View .eslintrc.json
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
"parserOptions": {
"ecmaFeatures": {
"jsx": true
You can’t perform that action at this time.