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
function removeAt(arr, num, index = 0, accum = []) { | |
let [car, ...cdr] = arr; | |
index += 1; | |
if (arr.length < 1) { | |
return accum; | |
} else if (index !== num) { | |
accum.push(car); | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>hive test</title> | |
<style> | |
td { border: solid; } | |
</style> | |
</head> | |
<body> | |
<table> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script src="main.js"></script> | |
</head> | |
<body> | |
<script id="template" type="text/template"> | |
<script type="text/javascript"> | |
console.log("inline 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
node_modules/ |
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
<!DOCTYPE html> | |
<head> | |
<title>Living Rabbits</title> | |
</head> | |
<body> | |
<h1>Here Are My Rabbits</h1> | |
<img src="http://www.clipartbest.com/cliparts/yik/nE6/yiknE6niE.gif" /> | |
<div id="rabbits"> | |
<!-- we want the rabbits here --> |
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
$(function() { | |
var script = $('<script src="http://ir-na.amazon-adsystem.com/s/asw.js" type="text/javascript"></script>"'); | |
script.appendTo($('body')); | |
}); |
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
document.write('hello there'); |
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
alert('foo'); |
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
<!DOCTYPE html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.0.js"></script> | |
<script src="jquery-sortable-5a89cc9.js"></script> | |
<style> | |
.scrollable { | |
width: 480px; | |
overflow-y: scroll; | |
height: 500px; |
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
<!DOCTYPE html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.0.js"></script> | |
<script src="jquery-sortable-fce46da4690ebd4a7275c6d4342bd31d41ea0886.js"></script> | |
<style> | |
.scrollable { | |
width: 480px; | |
overflow-y: scroll; | |
height: 500px; |
NewerOlder