Skip to content

Instantly share code, notes, and snippets.

@lirongfei123
lirongfei123 / sublime_text_3_license_key
Created May 16, 2018 03:34 — forked from tungpt247/sublime_text_3_license_key
Sublime Text 3 License Key (Build 3065)
—– BEGIN LICENSE —–
K-20
Single User License
EA7E-940129
3A099EC1C0B5C7C5 33EBF0CF BE82FE3B
@lirongfei123
lirongfei123 / nodejs-tcp-example.js
Created May 1, 2017 08:33 — forked from tedmiston/nodejs-tcp-example.js
Node.js tcp client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');
@lirongfei123
lirongfei123 / chat.html
Created May 1, 2017 08:32 — forked from orkaplan/chat.html
simple node.js socket.io client/server example
<html>
<head>
<title>Node.js IL Chat</title>
<script type="text/javascript" src="/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
<script language="javascript">
var socket;
$(document).ready(function()
{
@lirongfei123
lirongfei123 / chat.html
Created May 1, 2017 08:32 — forked from orkaplan/chat.html
simple node.js socket.io client/server example
<html>
<head>
<title>Node.js IL Chat</title>
<script type="text/javascript" src="/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
<script language="javascript">
var socket;
$(document).ready(function()
{