I hereby claim:
- I am dnieh on github.
- I am dnieh (https://keybase.io/dnieh) on keybase.
- I have a public key ASA9FQ9H68bNYQlzg55sgFwmhiRf_04z3FsSkvHTftiaDgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
section { | |
height: 100vh; | |
} | |
.video-container { | |
position: relative; | |
// padding-bottom: 56.25%; <-- Important. Remove this. | |
height: 0; | |
overflow: hidden; |
'use strict'; | |
$(function() { | |
var app = (function() { | |
var $videoContainer = $('.video-container'); | |
var $video = $('.video'); | |
var ratioWidth = 16; | |
var ratioHeight = 9; | |
var ratioCheck = function() { |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/styles.css"> | |
</head> | |
<body> | |
<section> |
Cheat Sheet for the book by Lidwell, Holden, and Butler
class Coord | |
{ | |
public: | |
Coord(int rr, int cc) : m_r(rr), m_c(cc) {} | |
int r() const { return m_r; } | |
int c() const { return m_c; } | |
private: | |
int m_r; | |
int m_c; | |
}; |