Skip to content

Instantly share code, notes, and snippets.

View jsheridanwells's full-sized avatar

Jeremy Wells jsheridanwells

View GitHub Profile

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 / 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',
@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 / AWS_Notes.md
Last active August 6, 2018 21:27
AWS Essential Training

AWS Essential Training

Aqui

The Cloud:

  • Iaas
  • Paas
  • Saas

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

Learning Python

Python is interpreted

Work Extensions to Keep:

Angular 1.x Code Snippets : alexandersage

Beautify : HookyQR

.gitignore : CodeZombie

GitLens : EricAmodio

@jsheridanwells
jsheridanwells / notes.md
Last active August 15, 2018 15:52
Vue Config (Visual Studio Setup)

Vue Config Notes

  • A New Vue project can be instantiated vai Node.js project template.

  • In properties, disable current UI project on Startup, enable Vue UI project, which will launch in a Node.js instance on port :1337

Resource:

@jsheridanwells
jsheridanwells / vsts_and_sourcetree.md
Last active September 6, 2018 15:21
Cloning a VSTS Repo into Sourcetree

Cloning a VSTS Repo Into Sourcetree

  1. Get personal access token:
  • Go to: https://<YOUR ORGANIZATION NAME>.visualstudio.com/_details/security/tokens
  • Click 'Add'
  • Fill out description, expiration date, then Create Token
  • Copy and store the token that is generated - VSTS will not show the token again.
  1. Go to the repo you want to clone. Navigate to Code, then click the Clone button in the right-hand corner. Copy the HTTPS URL.
@jsheridanwells
jsheridanwells / Noted.md
Last active September 18, 2018 13:28
ASP.NET Api w/ Angular6+

CRUD w/ ASP.NET and Angular6+

From this tutorial

  1. API setup: New Project -> ASP.NET Web Application -> Web API

  2. Remove some boilerplate:

App_Start/BundleConfig.cs Areas/