Skip to content

Instantly share code, notes, and snippets.

View JeffryGonzalez's full-sized avatar

Jeffry Gonzalez JeffryGonzalez

View GitHub Profile
@JeffryGonzalez
JeffryGonzalez / README.md
Created July 17, 2016 12:10 — forked from btroncone/README.md
@ngrx/store counter

@ngrx/store counter

Basic counter w/ @ngrx/store.

@JeffryGonzalez
JeffryGonzalez / keybindings.json
Last active June 6, 2016 11:11
Visual Studio Code Files
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+k ctrl+d",
"command": "editor.action.format",
"when": "editorTextFocus"
},
{
"key": "ctrl+l",
"command": "editor.action.deleteLines",
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="//cdn.jsdelivr.net/angular.chartjs/latest/angular-chart.css" rel="stylesheet" />
</head>
<body>
<div ng-app="app">
<div ng-controller="ChartController as vm">
<canvas id="line" class="chart chart-line" chart-data="vm.data" chart-labels="vm.labels"
@JeffryGonzalez
JeffryGonzalez / demo.html
Last active March 17, 2016 19:49
Angular scope identifier stuff
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style>
.debug .ng-scope {
border: .8px dotted red;
padding: 5px;
margin: 3px;
background-color: rgba(63, 202, 192, 0.4);
@JeffryGonzalez
JeffryGonzalez / books.yml
Last active March 11, 2016 13:39
Books api swagger spec
swagger: '2.0'
info:
description: The Books API
version: 1.0.0
title: Books API
contact: {}
license:
name: MIT
host: 'localhost:3000'
basePath: '/api'
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
namespace DiWithUnity
{
class Program
var CalendarException = function CalendarException(message) {
this.message = message;
this.toString = function () {
return this.constructor.name + ": " + this.message
};
}
var Calendar = function Calendar(firstWeekDay) {
//properties
this.firstWeekDay = firstWeekDay || 0; // 0 = Sunday
Copy the link below into Internet Explorer
Do NOT JOIN AUDIO
Join the meeting. Get Ready to Party.
Join online meeting
https://lync-meet-east/jeff_gonzalez/CMT7P6C0
@JeffryGonzalez
JeffryGonzalez / student_example.json
Created August 9, 2015 14:42
RMM 2 Student Entity
{
"id": 12,
"firstName": "Bob",
"lastName": "Smith",
"email": "bob@aol.com",
"students": [
{
"id": 32,
"name": "Joe Jones",
"level": 2
using System;
using System.Collections.Generic;
using System.Web.Http.Dependencies;
using Microsoft.Practices.Unity;
namespace BooksApi
{
public class UnityResolver : IDependencyResolver
{
protected IUnityContainer Container;