Skip to content

Instantly share code, notes, and snippets.

View Volkya's full-sized avatar
Working from home

Matias D' Correa Volkya

Working from home
View GitHub Profile
@Volkya
Volkya / web-servers.md
Created December 17, 2020 23:13 — forked from willurd/web-servers.md
Big list of http static server one-liners

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.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@Volkya
Volkya / index.html
Created November 17, 2019 00:05
OOP-Javascript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!--BOOTSWATCH-->
<link rel="stylesheet" href="https://bootswatch.com/4/sandstone/bootstrap.min.css">
<title>New task</title>
@Volkya
Volkya / index.html
Created November 17, 2019 00:04
localStorage-Javascript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!--BOOTSWATCH-->
<link rel="stylesheet" href="https://bootswatch.com/4/sandstone/bootstrap.min.css">
<title>localStorage</title>