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
<div id="stage" class="perspective-on"> | |
<div id="rotate"> | |
<div id="ring1" class="ring"></div> | |
<div id="ring2" class="ring"></div> | |
<div id="ring3" class="ring"></div> | |
<div id="ring4" class="ring"></div> | |
<div id="ring5" class="ring"></div> | |
</div> | |
<div> | |
<button class="go">Start spinning</button> |
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
<div id="root"></div> |
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
<div id="root"></div> |
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 AppPathsHelper | |
def map_routes | |
routes = Rails.application.routes.routes.map do |route| | |
{alias: route.name, path: route.path.spec.to_s } | |
end | |
white_listed_routes = %w( | |
new_calc | |
user_home |
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
@{% | |
const flatten = d => { | |
return d.reduce( | |
(a, b) => { | |
return a.concat(b); | |
}, | |
[] | |
); | |
}; |
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
@{% | |
const flatten = d => { | |
return d.reduce( | |
(a, b) => { | |
return a.concat(b); | |
}, | |
[] | |
); | |
}; |
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
const parser = require('../percentage_parser'); | |
describe('Parser', () => { | |
describe('returns math equations with no percentages with no alternations', () => { | |
it('does nothing to non percentage formulas', () => { | |
const eq = '4 + 4 - 123 / 32'; | |
const result = parser.feed(eq).results; | |
const expectedResultStr = { |
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 CarrierWave | |
module MiniMagick | |
def toaster_filter | |
manipulate! do |img| | |
img.modulate '150,80,100' | |
img.gamma 1.1 | |
img.contrast | |
img.contrast | |
img.contrast | |
img.contrast |
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 CarrierWave | |
module MiniMagick | |
def toaster_filter | |
manipulate! do |img| | |
img.modulate '150,80,100' | |
img.gamma 1.1 | |
img.contrast | |
img.contrast | |
img.contrast | |
img.contrast |
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
'use strict'; | |
var gulp = require('gulp') | |
var runSequence = require('run-sequence') | |
var path = require('path') | |
var browserSync = require('browser-sync').create() | |
var nodemon = require('gulp-nodemon') | |
var sourcemaps = require('gulp-sourcemaps') | |
var browserify = require('browserify') | |
var source = require('vinyl-source-stream') |
NewerOlder