Skip to content

Instantly share code, notes, and snippets.

@gcrev93
gcrev93 / audit.MD
Last active July 4, 2022 23:17
PiggyBack Client Code Audit

PiggyBank Audit

This documentation is an overall summary on the PiggyBank code audit for the client project. Overall, the code is written and organized well with some minor hiccups.

The Audit is layed out as such:

  • Main Components
    • Header
    • User Dashboard (and included components)
    • Footer
  • Other Notes Around the Code

Callback Functions in JavaScript

In this lesson, we are going to cover callback functions in JavaScript and why they may be useful. We will review some basic concepts that will be needed for the proper understanding of callbacks and then transition into the lesson

Concept Reviews

Variables

A variable is a named item used to store data. In JavaScript, variables are not strongly typed. They can be declared and used globally, within a block of code, within a function and passed from to functions.

@gcrev93
gcrev93 / prototypeStudy.md
Last active May 20, 2020 22:36
Customer Research: .NET Core + TS/JS ProtoType

.NET Core + JS/TS Prototype

Thank you for participating in this prototype customer study. This study will require you to download a Visual Studio solution, open it and following the guide below. Each step in the guide will have some set questions associated with them in an associated survey. The guide should take about 30 minutes.

If you have any questions at all during this guide please email Gabrielle at gacreve@microsoft.com

Please note: you will not need to actually code (unless you want to)

This prototype is NOT a guaranteed feature/change. We are using this customer study to see how changes shown in this prototype may help the JavaScript/TypeScript experience.

Requirements

Endpoint=sb://flysimvincentns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=XLWxK2Hbg15qCKBQUaI1mg2NYDGD7pePazYdNTDaiTg=
@gcrev93
gcrev93 / gist:65214487e1f21d7bd22b36004fd43c85
Created November 8, 2017 06:58
Chicago Cloud Connection
Endpoint=sb://chicagocloud.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=INbJ5ZI/uyG+Aoa2rCOs4jaGbDO7EgYoY8THFPIRw7Q=
@gcrev93
gcrev93 / weather.js
Created July 30, 2016 04:21
Using Photon Weather Shield locally with Node.
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//Be sure to flash the photon with voodoospark
'use strict';
// Define the objects you will be working with
var five = require ("johnny-five");
var Shield = require("j5-sparkfun-weather-shield")(five);