Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<!DOCTYPE html> | |
<!--[if IE 8]> <html lang="sv-SE" class="no-js ie8"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html lang="sv-SE" class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Breakpoint detection test</title> | |
<style type="text/css" media="screen"> | |
@media screen and (min-width: 320px) { | |
#page:after { | |
content: 'smallest'; /* represent the current width-bracket */ |
function getXHR(url, callback) { | |
var xhr = new XMLHttpRequest(); // Creates a new XHR request | |
if (!url) { | |
throw new Error('No URL supplied'); | |
} | |
xhr.open("GET", url, true); // Open the connection | |
xhr.setRequestHeader("Content-type", |
var file = document.querySelector('[type=file]'); | |
var dropzone = document.querySelector('.wrapper'); | |
file.addEventListener('change', function() { | |
previewImages(this.files); | |
this.value = ''; | |
}, false); | |
dropzone.addEventListener('dragover', function(event) { | |
event.preventDefault(); |
serialize: function serialize(form) | |
{ | |
if (!form || form.nodeName !== "FORM") { | |
return; | |
} | |
var i, j, | |
obj = {}; | |
for (i = form.elements.length - 1; i >= 0; i = i - 1) { | |
if (form.elements[i].name === "") { | |
continue; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi |
const sample = [ | |
[ | |
[ | |
[ | |
[ | |
[ | |
{ | |
foo: [{ rate: 2.18 }], | |
}, | |
], |