Skip to content

Instantly share code, notes, and snippets.

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//
@martinsik
martinsik / chat-frontend.js
Last active September 24, 2024 14:54
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;
@zer4tul
zer4tul / 提问的智慧.md
Last active October 8, 2024 12:16
Simplified Chinese edition of "How To Ask Questions The Smart Way"
@youfou
youfou / wxpy_tips_1_search.md
Last active May 25, 2017 10:16
wxpy 小技巧 (1) -- 搜索

wxpy 小技巧 (1) -- 搜索

wxpy 除了用于自动回复外,在搜索方面也很拿手。

是指在自己的好友或已加入的群聊中进行搜索

这里举个针对群的例子~