Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🐺Winter is coming

John Papa johnpapa

💭
🐺Winter is coming
View GitHub Profile
@johnpapa
johnpapa / 1-learn-setup.md
Last active Mar 26, 2020
Git Flow for Writing a Learn Module
View 1-learn-setup.md

Preparing to Write a Learn Module

image

Setting Up

The first step is to fork the Learn repository so you have a forked repository that you can control.

What you'll do:

@johnpapa
johnpapa / foo.ts
Created Nov 14, 2019
Function expressin or declaration
View foo.ts
// Function expression
const getThing1 = function(search: string) {
return getThingy(search);
};
// Function declaration
function getThing2(search: string) {
return getThingy(search);
}
@johnpapa
johnpapa / Requirements.md
Last active May 14, 2020
Angular for Architects Workshop Series
View Requirements.md

Angular 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 / SETUP.md
Created Jun 9, 2019
Angular Fundamentals Setup
View SETUP.md

Angular Fundamentals 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 / SETUP.md
Last active Sep 17, 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 / Details.md
Last active Apr 13, 2020
Vue Fundamentals Workshop Setup
View Details.md

Description

Do you want to learn the fundamentals of Vue so you can start creating apps right away? Join us and you’ll learn Vue from the ground up including how to display data, capture user interactions, create components, communicate across components, debug your app, add in plugins, and so much more. This one day workshop is for developers who have not started or have just started, learning Vue. Bring your laptop, as you’ll be writing Vue code using what you learn in several hands-on exercises. Who should attend

This one day workshop is for developers who have not started or have just started, learning Vue.

What will you learn

@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:
(
You can’t perform that action at this time.