Skip to content

Instantly share code, notes, and snippets.

View jholland918's full-sized avatar

Jason Holland jholland918

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

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 November 19, 2017 06:06 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@jholland918
jholland918 / foo.controller.spec.js
Created November 3, 2016 16:14
Testing Angular ui.bootstrap.modal
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) {
@model eBowlingFramework.Models.Foo
@{
ViewBag.Title = "Create";
}
<h2>Create</h2>
@using (Html.BeginForm())
@jholland918
jholland918 / app.js
Created June 26, 2015 21:53
AngularJS form validation example validating an interrelated collection of controls
// http://plnkr.co/edit/HoG0XH
(function () {
'use strict';
var app = angular.module('app', []);
})();
@jholland918
jholland918 / BaseClient
Created June 26, 2015 18:33
Quick and Dirty GitHub Repo Code Search
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);