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
date | value | |
---|---|---|
2018-9-11 | 3 | |
2018-9-20 | 2 | |
2018-9-30 | 1 | |
2018-9-15 | 1 | |
2018-8-30 | 4 | |
2018-9-26 | 2 | |
2018-9-29 | 1 | |
2018-9-22 | 1 | |
2018-9-13 | 1 |
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
s=8,g='',i=1;while(g.length/s-1!=s)g+=(i++%2==0?'# ':' #').repeat(s/2)+'\n';console.log(g) |
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> | |
<meta charset="utf-8"> | |
<title>Node.js Auth</title> | |
<link rel="stylesheet" href="/css/master.css"> | |
</head> | |
<body> | |
<div id="container"> | |
<form id="loginForm" action="/login" method="post"> |
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
var logoutBtn = document.getElementById('logoutBtn'); | |
logoutBtn.addEventListener('click', e => { | |
axios.post('/logout').then(res => { | |
if (res.status === 200) { | |
window.location = '/'; | |
} | |
}); | |
}); |
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
body { | |
margin: 30px; | |
font-family: sans-serif; | |
text-align: center; | |
} | |
h1, h2 { | |
text-align: left; | |
} |
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
<link href='https://fonts.googleapis.com/css?family=PT+Serif:400,700' rel='stylesheet' type='text/css'> | |
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300italic' rel='stylesheet' type='text/css'> | |
<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed' rel='stylesheet' type='text/css'> | |
<div id="wrap"> | |
<h1 id="title">Random Quotes Rewritten</h1> | |
<button class="btn btn-primary generate">Generate</button> | |
<div id="container" class=""> |