Skip to content

Instantly share code, notes, and snippets.

View jsheridanwells's full-sized avatar

Jeremy Wells jsheridanwells

View GitHub Profile

React Intro

Used for interfaces, reusable components.

Created at Facebook and Instagram, also ReactNative for mobile

Dom Diffing uses JS objects to compare DOM changes

Never reads from DOM and only writes to it when there are changes

@jsheridanwells
jsheridanwells / AWS_Notes.md
Last active August 6, 2018 21:27
AWS Essential Training

AWS Essential Training

Aqui

The Cloud:

  • Iaas
  • Paas
  • Saas
@jsheridanwells
jsheridanwells / Notes.md
Created June 19, 2018 15:26
Setting up Karma Test Runner

Setting up Karma Test Runner

Installation

$ npm install karma

or

$ npm -g install karma

$ karma init will start config file

@jsheridanwells
jsheridanwells / VSTS_Grunt_Example.md
Created June 5, 2018 18:01
An example VSTS Build Definition with Protractor and Grunt

An example VSTS Build Definition with Protractor and Grunt

Let protractor conf call selenium server directly:

'use strict';

exports.config = {
    framework: 'jasmine',
    // seleniumAddress: 'http://localhost:4444/wd/hub',
    seleniumServerJar: '../node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.12.0.jar',

Git Tricks

Set any fetched branch to track the remote, fetch and pull:

git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all

(Here...)

@jsheridanwells
jsheridanwells / Notes_1.md
Last active May 15, 2018 21:13
Using Web API 2 with EF 6

Using ASP.NET Web API 2 with EF 6

Creating the project:

New Project -> ASP.NET Web Application -> Web API

Creating Entities:

Main Model:

@jsheridanwells
jsheridanwells / BS4+Ng5.md
Last active May 13, 2018 18:22
Adding Bootstrap 4 to Angular5 app

Adding Bootstrap 4 to an Angular 5 app:

  1. Add Bootstrap dependency:
$ npm install --save bootstrap
  1. Add Bootstrap CSS to styles.css:
@import "~bootstrap/dist/css/bootstrap.css"

VSTS Intro

Continuous Integration

Build Agent: Item in charge of building, testing, and deploying your code in the cloud.

Build Definition: A set of steps and tasks that the uild process must go through for the code to be built successfully.

Build Set: Action that is carried out to complete the build process.

XML Notes

XML - eXtensible: you can make up your own tags

Foundation of several technologies, XHTML, RSS/ATOM, AJAX, APIs

Structures and describes information

Intended to be used a an Internet technologies

EF Notes Part 1

(Following this tutorial...)

Creating Models

Primary keys can be set as Id or <MODEL NAME>Id.

Foreign keys are set as <MODEL NAME>Id.

public class Enrollment