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
<video id="movie" width="320" height="240" preload controls> <source src="pr6.webm" type="video/webm; codecs=vp8,vorbis" /> <source src="pr6.ogv" type="video/ogg; codecs=theora,vorbis" /> <source src="pr6.mp4" /> <object width="320" height="240" type="application/x-shockwave-flash" data="flowplayer-3.2.1.swf"> <param name="movie" value="flowplayer-3.2.1.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="config={'clip': {'url': 'http://wearehugh.com/dih5/pr6.mp4', 'autoPlay':false, 'autoBuffering':true}}" /> <p>Download video as <a href="pr6.mp4">MP4</a>, <a href="pr6.webm">WebM</a>, or <a href="pr6.ogv">Ogg</a>.</p> </object></video><script> var v = document.getElementById("movie"); v.onclick = function() { if (v.paused) { v.play(); } else { v.pause(); } };</script> |
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
@mixin vertical-center($childSelector) { | |
& { | |
display: table; | |
width: 100%; | |
#{$childSelector} { | |
display: table-cell; | |
text-align: center; | |
vertical-align: middle; | |
} |
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 React from 'react'; | |
import CSSModules from 'react-css-modules'; | |
import styles from './ProgressButton.css'; | |
import ProgressBar from '../ProgressBar'; | |
class ProgressButton extends React.Component { | |
constructor(props) { | |
super(props); | |
this. _onClick = this. _onClick.bind(this); |
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 React from 'react'; | |
import CSSModules from 'react-css-modules'; | |
import styles from './ProgressButton.css'; | |
import ProgressBar from '../ProgressBar'; | |
class ProgressButton extends React.Component { | |
constructor(props) { | |
super(props); | |
this. _onClick = this. _onClick.bind(this); |
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 React from 'react'; | |
import CSSModules from 'react-css-modules'; | |
import styles from './ProgressButton.css'; | |
import ProgressBar from '../ProgressBar'; | |
class ProgressButton extends React.Component { | |
constructor(props) { | |
super(props); | |
this. _onClick = this. _onClick.bind(this); |
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
migration_path = Rails.root.join('db/migrate') | |
if ActiveRecord.gem_version >= ::Gem::Version.new("5.2.0") | |
ActiveRecord::MigrationContext.new(migration_path).migrate | |
else | |
ActiveRecord::Migrator.migrate(migration_path) | |
end |