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
| slider = (slides) -> | |
| # Create wrapper | |
| paginated = new Layer width: deviceWidth * slides, height: deviceHeight, x: 0 | |
| paginated.draggable.enabled = true | |
| paginated.draggable.speedY = 0 | |
| i = 0 | |
| while i < slides | |
| # Create views | |
| view + i = new Layer |
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
| plugin.run = (contents, options) -> | |
| """ | |
| #{contents} | |
| easInSine = "cubic-bezier(0.47, 0, 0.745, 0.715)" | |
| easeOutSine = "cubic-bezier(0.39, 0.575, 0.565, 1)" | |
| easeInOutSine = "cubic-bezier(0.445, 0.05, 0.55, 0.95)" | |
| easeInQuad = "cubic-bezier(0.55, 0.085, 0.68, 0.53)" | |
| easeOutQuad = "cubic-bezier(0.25, 0.46, 0.45, 0.94)" | |
| easeInOutQuad = "cubic-bezier(0.455, 0.03, 0.515, 0.955)" |
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
| #!/bin/bash | |
| # Let's get some color going! | |
| red=$'\e[1;31m' | |
| grn=$'\e[1;32m' | |
| end=$'\e[0m' | |
| # cd into directory where the script was run | |
| cd "$(dirname "$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
| 2015-08-28T20:32:35.475275+00:00 heroku[router]: at=info method=GET path="/static/javascript/typeahead.jquery.js" host=ask-for-feedback.herokuapp.com request_id=01c3dfc6-cac2-40c5-ad6e-75c7c7ac8809 fwd="205.189.0.116" dyno=web.1 connect=15ms service=10ms status=200 bytes=63623 | |
| 2015-08-28T20:32:35.415632+00:00 heroku[router]: at=info method=GET path="/static/javascript/jquery.js" host=ask-for-feedback.herokuapp.com request_id=ae913bd4-097a-4c76-8f2c-595ac2266810 fwd="205.189.0.116" dyno=web.1 connect=1ms service=39ms status=200 bytes=247840 | |
| 2015-08-28T20:32:35.391538+00:00 heroku[router]: at=info method=GET path="/static/styles/css/all.css?5a292c4d" host=ask-for-feedback.herokuapp.com request_id=7eaeea10-280b-4067-8d8b-c83ee6f6939b fwd="205.189.0.116" dyno=web.1 connect=1ms service=16ms status=200 bytes=15093 | |
| 2015-08-28T20:32:35.481955+00:00 heroku[router]: at=info method=GET path="/static/javascript/scripts.js" host=ask-for-feedback.herokuapp.com request_id=c56087c1-7183-442f-9099-56c84f441858 fwd="205.189.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
| /Users/alexmiles/.rbenv/versions/2.2.3/bin/middleman:23:in `load': cannot load such file -- /Users/alexmiles/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/middleman-core-4.1.10/bin/middleman (LoadError) | |
| from /Users/alexmiles/.rbenv/versions/2.2.3/bin/middleman: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
| Dev | |
| ✔ bundle | |
| Could not locate Gemfile or .bundle/ directory | |
| Dev | |
| ✔ middleman init alexmilesdesign.com | |
| /Users/alexmiles/.rbenv/versions/2.2.3/bin/middleman:23:in `load': cannot load such file -- /Users/alexmiles/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/middleman-core-4.1.10/bin/middleman (LoadError) | |
| from /Users/alexmiles/.rbenv/versions/2.2.3/bin/middleman: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
| //: Playground - noun: a place where people can play | |
| import UIKit | |
| func firstFunction(input: String, completion: (result: String) -> Void) { | |
| print("run first func") | |
| // Need to include parameter labels in function call if | |
| // you also use the labels in the call back definition | |
| completion(result: "we finished!") |
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
| // convertValue() | |
| // VALUE | |
| // The number to input into the equation. | |
| // To consider: What will the starting and ending value be? | |
| // | |
| // R1MIN | |
| // The starting input range. What is the lowest number that VALUE will have? | |
| // | |
| // R1MAX |
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
| <header class="w-100 z-max h3 bg-purple fixed top-0"> | |
| <div class="dt ph3 w-100 center h-100"> | |
| <div class="dtc v-mid tl w-50"> | |
| <a href="/" class="f5 f4-ns fw6 link white-70" title="Home">EC1 WEB</a> | |
| <small class="white-70 fw2">tagline goes here</small> | |
| </div> | |
| <nav class="dn dtc-ns v-mid w-50 tr"> | |
| <a title="home" href="index.html" | |
| class="f6 fw6 glow link white o-70 mr2 mr3-m mr4-l"> |