Skip to content

Instantly share code, notes, and snippets.

View ChenPaulYu's full-sized avatar

Bo-Yu Chen ChenPaulYu

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik+Mono+One" rel="stylesheet"
<title>JS Bin</title>
<style id="jsbin-css">
body{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik+Mono+One" rel="stylesheet"
<title>JS Bin</title>
<style id="jsbin-css">
body{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik+Mono+One" rel="stylesheet"
<title>JS Bin</title>
<style id="jsbin-css">
body{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik+Mono+One" rel="stylesheet"
<title>JS Bin</title>
<style id="jsbin-css">
body{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik+Mono+One" rel="stylesheet"
<title>JS Bin</title>
<style id="jsbin-css">
body{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik+Mono+One" rel="stylesheet"
<title>JS Bin</title>
<style id="jsbin-css">
body{
var test = 1
console.log(test)
var test = 1
console.log(test)
var test = 1
console.log(test)
const express = require('express');
const app = express();
const server = require('http').Server(app);
const io = require('socket.io')(server);
io.on('connection', function (socket) {
console.log('A user connected');
socket.on('disconnect', function () {
console.log('user disconnected');
});