Skip to content

Instantly share code, notes, and snippets.

View willbuck's full-sized avatar

Will Buck willbuck

View GitHub Profile
@willbuck
willbuck / admin.controller.js
Created July 21, 2015 19:07
Frontend Masters NG1 Component Architecture w/ ES6 : Injecting $log
class AdminController {
constructor(Posts, $state, $log) {
this.post = {
author: 'You',
text: '',
title: ''
};
this.Posts = Posts;
this.$state = $state;
this.$log = $log;
@willbuck
willbuck / npm3issue
Created July 7, 2015 03:42
Output of ls -lR /Users/willbuck/.nvm/v0.12.6/lib/node_modules/npm
total 656
-rw-r--r-- 1 willbuck staff 10925 Jul 2 23:20 AUTHORS
-rw-r--r-- 1 willbuck staff 227247 Jul 2 23:19 CHANGELOG.md
-rw-r--r-- 1 willbuck staff 503 Jun 25 20:02 CONTRIBUTING.md
-rw-r--r-- 1 willbuck staff 11319 Jun 25 20:02 LICENSE
-rw-r--r-- 1 willbuck staff 7252 Jun 25 20:02 Makefile
-rw-r--r-- 1 willbuck staff 7726 Jun 25 20:02 README.md
drwxr-xr-x 7 willbuck staff 238 Jul 6 22:37 bin
-rwxr-xr-x 1 willbuck staff 48 Jun 25 20:02 cli.js
-rwxr-xr-x 1 willbuck staff 521 Jun 25 20:02 configure
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var sudokuValid1 = '4;1,2,3,4,3,4,1,2,2,3,4,1,4,1,2,3';