This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nodegit = require('nodegit'); Promise.promisifyAll(nodegit) | |
var fse = require("fs-extra"); Promise.promisifyAll(fse) | |
var path = "../tmp/nodegit-clone-demo"; | |
exports.git = (function() { | |
var parentFn = 'git:' | |
var log = require('debug')(parentFn); | |
log('') | |
var createNewRepo = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Bootstrap | |
* (sails.config.bootstrap) | |
* | |
* An asynchronous bootstrap function that runs before your Sails app gets lifted. | |
* This gives you an opportunity to set up your data model, run jobs, or perform some special logic. | |
* | |
* For more information on bootstrapping your app, check out: | |
* http://sailsjs.org/#/documentation/reference/sails.config/sails.config.bootstrap.html | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// here is the nested object to do the find on | |
{ | |
"level1": { | |
"level2": { | |
"level3": { | |
"level4": { | |
"level5": "value" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Promise from 'bluebird' | |
Promise.promisifyAll(User.mongoose) | |
const _describe = new Describe('user') | |
_describe.cleanly('User Model', () => { | |
describe('create', done => { | |
User.mongoose.createAsync() | |
.then(() => User.mongoose.findAsync()) | |
.then(results => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* gallery.duck.js | |
* reducers for gallery | |
*/ | |
import {createSelector} from 'reselect'; | |
const SELECT = 'aditive/creative/gallery/SELECT'; | |
const FOCUS = 'aditive/creative/gallery/FOCUS'; | |
const RESET = 'aditive/creative/gallery/RESET'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* gallery.duck.js | |
* reducers for gallery | |
*/ | |
const SELECT = 'aditive/creative/gallery/SELECT'; | |
const FOCUS = 'aditive/creative/gallery/FOCUS'; | |
const RESET = 'aditive/creative/gallery/RESET'; | |
const initialState = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module parse failed: /Users/austinmao/Sites/aditive-frontend/src/components/Global/LeftMenu/navbar.style.js Line 2: Unexpected token : | |
[0] You may need an appropriate loader to handle this file type. | |
[0] | { | |
[0] | '.nav-bar-container:before, .nav-bar-container:after': { | |
[0] | content: '" "', | |
[0] | display: 'table' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* App.js | |
* parent component of app | |
*/ | |
/* global $ */ // spec jquery global | |
/* boilerplate */ | |
import React, {Component, PropTypes} from 'react'; | |
import {connect} from 'react-redux'; | |
import {routeActions} from 'react-router-redux'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name apis.js | |
* @fileOverview api endpoints and schemas | |
* @exports {endpoint, schema, entity} for each api | |
*/ | |
import _ from 'lodash'; // eslint-disable-line id-length | |
import schema, {entities} from 'helpers/normalize'; | |
const singularEndpoints = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using System.IO; | |
public class SDKSwap : EditorWindow { | |
static string _cardboardPath; | |
static string _OVRPath; |
OlderNewer