Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Holland jholland918

View GitHub Profile
@jholland918
jholland918 / App\some-foo.js
Last active Aug 20, 2018
My basic chutzpah config
View App\some-foo.js
var someFoo = {
baz: "bar",
doQux: function (a, b) {
return a + b;
}
};
@jholland918
jholland918 / README.md
Last active May 2, 2018
Aurelia TypeScript Template for Plunker
View README.md
@jholland918
jholland918 / README.md
Last active Nov 26, 2017
Aurelia TypeScript Materialize Template for Plunker
View README.md

Aurelia TypeScript Materialize Template

A template just for sharing code, production apps should build js bundles.

This template can be used at [https://plnkr.co/edit/2q0jeg?p=info]

@jholland918
jholland918 / app.html
Created Nov 19, 2017 — forked from jdanyow/app.html
Aurelia Gist
View app.html
<template>
<h1>${message}</h1>
</template>
@jholland918
jholland918 / foo.controller.spec.js
Created Nov 3, 2016
Testing Angular ui.bootstrap.modal
View foo.controller.spec.js
describe('user details controller',
function () {
var $controller, sut, helpers, $realUibModal, $spyUibModal, modalInstance, UserService, $routeParams, userStub, $location;
beforeEach(function () {
module('ui.bootstrap');
module('testHelpers');
module('app');
module(function ($provide) {
View mvc-stuff-view
@model eBowlingFramework.Models.Foo
@{
ViewBag.Title = "Create";
}
<h2>Create</h2>
@using (Html.BeginForm())
@jholland918
jholland918 / app.js
Created Jun 26, 2015
AngularJS form validation example validating an interrelated collection of controls
View app.js
// http://plnkr.co/edit/HoG0XH
(function () {
'use strict';
var app = angular.module('app', []);
})();
@jholland918
jholland918 / BaseClient
Created Jun 26, 2015
Quick and Dirty GitHub Repo Code Search
View BaseClient
public class BaseClient
{
private Uri BaseUrl = new Uri("https://api.github.com/");
readonly string username = "*****";
readonly string password = "*****";
readonly string userAgent = "*****";
public IRestResponse<T> Execute<T>(MyRestRequest request, string clientUrl) where T : new()
{
BaseUrl = new Uri(clientUrl);