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
| {- Data type and instances for a whole meal plan | |
| - Represents all the days the user has entered (plus some maybe?) | |
| -} | |
| module Models.MealPlan where | |
| import BasePrelude | |
| import Data.Aeson | |
| import Data.Time | |
| import Data.Text hiding (groupBy) |
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
| module Main where | |
| import BasePrelude | |
| import Web.Spock.Simple | |
| import Control.Concurrent.STM | |
| import Network.Wai (Middleware) | |
| import Network.Wai.Middleware.RequestLogger | |
| import Network.Wai.Middleware.Static | |
| import Control.Monad.Trans |
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
| module Main where | |
| import BasePrelude | |
| import Web.Spock.Simple | |
| import Network.Wai (Middleware) | |
| import Network.Wai.Middleware.RequestLogger | |
| import Network.Wai.Middleware.Static | |
| import Control.Monad.Trans | |
| import Control.Monad.Base | |
| import Control.Monad.Identity |
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
| # Meal Plan is made up of Days | |
| # Day is made up of Meals | |
| # A meal is a menu | |
| React = require('react') | |
| Alert = require('react-bootstrap/Alert') | |
| EditTextInput = require('./widgets/edit_text_input').EditTextInput | |
| Menu = React.createClass |
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
| React = require("react") | |
| ENTER_KEY_CODE = 13 | |
| EditTextInput = React.createClass | |
| propTypes: | |
| className: React.PropTypes.string, | |
| id: React.PropTypes.string, | |
| placeholder: React.PropTypes.string, | |
| onSave: React.PropTypes.func.isRequired, |
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
| " Press ? for help | |
| >----------Bookmarks---------- | |
| .. (up a dir) | |
| /home/action/workspace/grocerygopher/ | |
| ▸ css/ | |
| ▸ dist/ | |
| ▸ js/ | |
| ▸ log/ |
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
| /** | |
| * Adapted from https://github.com/Khan/react-components/blob/master/js/timeout-transition-group.jsx | |
| */ | |
| var React = require('react/addons'); | |
| var ReactTransitionGroup = React.addons.TransitionGroup; | |
| var Velocity = require('velocity-animate'); | |
| var transitions = { | |
| // Forcefeeding: property order = [after, before] |
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
| /opt/aa-registration/shared/bundle/ruby/2.1.0/gems/rails-perftest-0.0.5/lib/rails/perftest/commands/benchmarker.rb:24:in `<top (required)>': uninitialized constant ActionDispatch::PerformanceTest (NameError) | |
| from /opt/aa-registration/shared/bundle/ruby/2.1.0/gems/rails-perftest-0.0.5/lib/rails/perftest/commands.rb:19:in `<top (required)>' | |
| from /opt/aa-registration/shared/bundle/ruby/2.1.0/gems/rails-perftest-0.0.5/bin/perftest:9:in `require' | |
| from /opt/aa-registration/shared/bundle/ruby/2.1.0/gems/rails-perftest-0.0.5/bin/perftest:9:in `<top (required)>' | |
| from /opt/aa-registration/shared/bundle/ruby/2.1.0/bin/perftest:23:in `load' | |
| from /opt/aa-registration/shared/bundle/ruby/2.1.0/bin/perftest:23:in `<main>'' |
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
| Quick gist on getting vsphere and vcenter and fog/vsphere going | |
| # Things to download | |
| - Download free evaluation version of window 2008 | |
| - Download free evaluation of esxi v5 | |
| - Download free evaluation of esxi vsphere (control center) iso | |
| # Install esxi in vmware fusion | |
| 1)Install esxi in vmware (select vmware/esx as host) | |
| create a user root/pipopopo |
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
| fdjakl |