This file contains hidden or 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
Show hidden characters
| { | |
| "stage": 0 | |
| } |
This file contains hidden or 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
| /* eslint-disable */ | |
| var path = require('path'); | |
| var _ = require('underscore'); | |
| var CLIENT_ENTRY = './src/client/index.js'; | |
| var SERVER_ENTRY = './src/server/index.js'; | |
| var HOST = '__fill_in_host__'; | |
| var PORT = '__fill_in_port__'; |
This file contains hidden or 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 genreTemplate from 'templates/genre.tvml.jade'; | |
| import get from 'lib/api/get'; | |
| import tvOS from 'lib/tvOS'; | |
| export default function tvSeriesView({params}) { | |
| get(`/genres/${params.genreSlug}`).then((viewData) => { | |
| const doc = genreTemplate(viewData); | |
| tvOS.pushDocument(doc); | |
| }); | |
| } |
This file contains hidden or 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 'babel-polyfill'; | |
| import firstView from 'views/first'; | |
| import * as liveReload from 'lib/liveReload'; | |
| App.onLaunch((launchOptions) => { | |
| firstView(); | |
| liveReload.connect(launchOptions); | |
| }); |
This file contains hidden or 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
| # | |
| # -- Init ------------------------------------------------- | |
| # | |
| # Set proper character encoding | |
| set -g utf8 | |
| set -g status-utf8 on | |
| set-window-option -g utf8 on | |
| # Make tmux display things in 256 colors |
This file contains hidden or 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
| { | |
| "presets": ["es2015", "stage-0"] | |
| } |
This file contains hidden or 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
| [ { test: /\.(styl)$/, | |
| loaders: | |
| [ '/project/node_modules/extract-text-webpack-plugin/loader.js?{"omit":0,"extract":true,"remove":true}', | |
| 'css-loader?modules&importLoaders=2&sourceMap&localIdentName=[path]--[local]---[hash:base64:5]', | |
| 'autoprefixer?browsers=last 2 version', | |
| 'stylus' ] }, | |
| { test: /\.(css)$/, | |
| loaders: | |
| [ '/project/node_modules/extract-text-webpack-plugin/loader.js?{"omit":0,"extract":true,"remove":true}', | |
| 'css-loader' ] } ] |
This file contains hidden or 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 fs from 'fs'; | |
| import path from 'path'; | |
| import mkdirp from 'mkdirp'; | |
| import noop from 'lodash/noop'; | |
| import groupBy from 'lodash/groupBy'; | |
| import reduce from 'lodash/reduce'; | |
| const BACK_TO_ROOT = path.resolve(__dirname, '../../../'); | |
| const getAssetsByChunk = (webpackData, publicPath) => { |
This file contains hidden or 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
| onPanResponderRelease: (e, gestureState) => { | |
| this.props.dismissVal.flattenOffset(); | |
| if (gestureState.dy > 100) { | |
| this.lolActuallyClose(gestureState); | |
| } else { | |
| // Spring back | |
| Animated.spring(this.props.dismissVal, { | |
| toValue: 0 | |
| }).start(); |
This file contains hidden or 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
| mkdir work | |
| # Generate the project file. Note -f, the hFOV of 81.27 degrees | |
| pto_gen *.JPG -o work/project.pto -f 81.27 | |
| # Find the control points between the images - what to align with | |
| cpfind --fullscale --multirow -o work/cpPoints.pto work/project.pto | |
| # Remove junk control points from the sky | |
| celeste_standalone -i work/cpPoints.pto -o work/cpPointsCleaned.pto -d ~/Dropbox/DRONE/data/celeste.model |