View error.hs
1 2 3 4 5 6 7 8 9 10
Downloading HDBC-mysql-0.6.6.1...
Configuring HDBC-mysql-0.6.6.1...
Failed to install HDBC-mysql-0.6.6.1
Build log ( /Users/ivan/.cabal/logs/HDBC-mysql-0.6.6.1.log ):
cabal: Error: some packages failed to install:
HDBC-mysql-0.6.6.1 failed during the configure step. The exception was:
user error ('/usr/local/bin/ghc' exited with an error:
 
/var/folders/85/c3khd5g15nq5yy8_1m0s40y00000gn/T/HDBC-mysql-0.6.6.1-3100/HDBC-mysql-0.6.6.1/dist/setup/setup.hs:31:7:
Couldn't match typeIO (Maybe FilePath)’
View Makefile
1 2 3 4 5 6 7 8 9
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
View hello-spec.js
1 2 3 4 5 6 7 8 9 10
var chai = require('chai');
var expect = chai.expect;
var port = process.env.port || 3000;
var async = require('async');
 
describe('acceptance test', function() {
 
it('has a browser injected into it', function () {
/* eslint-disable no-unused-expressions */
expect(this.browser).to.be.defined;
View output.txt
1 2 3 4 5 6 7 8 9 10
[09:32:56] Using gulpfile ~/dev/react-starter/gulpfile.js
[09:32:56] Starting 'test:karma'...
DEBUG [config]: autoWatch set to false, because of singleRun
DEBUG [plugin]: Loading inlined plugin (defining webpackPlugin, preprocessor:webpack).
DEBUG [plugin]: Loading inlined plugin (defining framework:mocha).
DEBUG [plugin]: Loading inlined plugin (defining launcher:Chrome, launcher:ChromeCanary, launcher:Dartium, test).
DEBUG [plugin]: Loading inlined plugin (defining launcher:IE).
DEBUG [plugin]: Loading inlined plugin (defining launcher:Firefox, launcher:FirefoxDeveloper, launcher:FirefoxAurora, launcher:FirefoxNightly).
DEBUG [plugin]: Loading inlined plugin (defining launcher:PhantomJS).
DEBUG [plugin]: Loading inlined plugin (defining preprocessor:sourcemap).
View card.js
1 2 3 4 5 6 7 8 9 10
import React from 'react';
 
let Card = React.createClass({
 
propTypes: {
header: React.PropTypes.string,
body: React.PropTypes.string,
imageUrl: React.PropTypes.string,
imageAlt: React.PropTypes.string,
draggable: React.PropTypes.string
View fix_json.js
1 2 3 4 5 6 7 8 9
// Goal is to convert the JSON at this URL into a json string that has the keys quoted
// https://wiki.cac.washington.edu/display/SWS/Term+Resource+V5+Sample+Resource
 
var fs = require("fs");
var path = require("path");
 
var file = path.join(__dirname, "term_current.json");
 
var data = fs.readFileSync(file, "utf8");
View rightDropZone.js
1 2 3 4 5 6 7 8 9 10
import React from 'react/addons';
import { DonorCard } from './donorCard.js';
 
export class DropZone extends React.Component {
constructor(props) {
super(props);
this.state = {
draggedOver: false
}
}
View rightDropZone.js
1 2 3 4 5 6 7 8 9 10
import React from 'react/addons';
 
export class RightDropZone extends React.Component {
constructor(props) {
super(props);
this.state = {
draggedOver: false
}
}
render() {
View app.js
1 2 3 4 5 6 7 8 9 10
import React from 'react';
import { LeftDropZone } from './leftDropZone';
import { RightDropZone } from './rightDropZone';
 
export class ScholarshipsApp extends React.component {
render() {
return (
<section id="drop-zones">
<h1>Scholarships Admin</h1>
<LeftDropZone />
View node-modules.sh
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env zsh
 
npm -g install async-you
npm -g install bower
npm -g install browserify
npm -g install browserify-adventure
npm -g install bug-clinic
npm -g install casperjs
npm -g install cli-md
npm -g install coffee-script
Something went wrong with that request. Please try again.