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
johnpapa / SETUP.md
Last active Apr 19, 2019
Angular Architecture Workshop Setup Instructions
View SETUP.md

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
johnpapa / db.js
Created Mar 20, 2019
Mongo Connection and retry
View db.js
// @ts-check
const mongoose = require('mongoose');
const {
mongoApiKey,
mongoApiAccount,
mongoApiPort,
mongoDb,
localMongo,
} = require('./config');
@johnpapa
johnpapa / SETUP.md
Created Feb 3, 2019
Vue Fundamentals Workshop Setup
View SETUP.md
@johnpapa
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 Bookmarklets.org/maker/
// Step 2: Change the first 3 variables: alias, event, docs
// Step 3: At the bottom of the Bookmarklets.org 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
javascript:
(
@johnpapa
johnpapa / course-flow.md
Last active May 10, 2019
Introduction to Vue
View course-flow.md

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
johnpapa / Agenda.md
Last active May 9, 2019
Angular Fundamentals Workshop Setup Instructions
View Agenda.md

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
johnpapa / zeroconfig.sh
Created Sep 20, 2018
zero config vue app
View zeroconfig.sh
npm install -g @vue/cli-service-global
echo '<template><h1>Hello!</h1></template>' > App.vue
vue serve
@johnpapa
johnpapa / doc.md
Created Aug 9, 2018
cosmos api doc
View doc.md

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
johnpapa / .angular-cli.schema.json
Created Nov 21, 2017
Angular CLI Config Schema
View .angular-cli.schema.json
{
"$schema": "http://json-schema.org/schema",
"id": "https://github.com/angular/angular-cli/blob/master/packages/@angular/cli/lib/config/schema.json#CliConfig",
"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.