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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
body, h1, h2, h3, h4, h5, div { | |
margin:0; | |
padding: 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Transitions FTW</title> | |
<style> | |
div.container { | |
overflow:hidden; | |
width:100px; | |
height:100px; | |
position: relative; |
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
(function () { | |
function object(parent) { | |
function F() {}; | |
F.prototype = parent || Object; | |
return new F(); | |
} | |
var Stack = function() { | |
this.data = []; |
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
// your code goes here | |
var Todos = function() { | |
var self = {}; | |
var tasks = []; | |
var openedTasks = function() { | |
return tasks.filter( function(t) {return t.isOpen();}); | |
}; | |
self.addTask = function(task) { |
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
(function(global) { | |
var g = new global.app.Game( | |
global.app.Score, | |
global.app.Winner, | |
global.app.Looser | |
); | |
}(this)); |
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
A: B | |
B: C, D | |
E: D |
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
use strict; | |
use warnings; | |
use v5.14; | |
use Spreadsheet::ParseExcel::Simple; | |
use Term::ANSIColor; | |
my $xls = Spreadsheet::ParseExcel::Simple->read('hello.xls'); | |
my $sum = 0; | |
foreach my $sheet ($xls->sheets) { |
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
body { | |
background: purple; | |
} | |
@media (max-width: 500) { | |
body { | |
background: yellow; | |
} | |
} |
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
body { | |
background: purple; | |
} | |
@media (max-width: 500) { | |
body { | |
background: yellow; | |
} | |
} |
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
div#viewport { | |
border: 5px solid hotpink; | |
width: 320px; | |
height: 180px; | |
position:relative; | |
margin: 0 auto; | |
overflow: hidden; | |
} | |
div div { |