Skip to content

Instantly share code, notes, and snippets.

View tcitry's full-sized avatar
🚀
侦测到在途的聚变打击

Dongliang Yin tcitry

🚀
侦测到在途的聚变打击
View GitHub Profile
@limboinf
limboinf / tornado-async-spider.py
Last active June 12, 2018 08:21
tornado异步爬虫示例
# coding=utf-8
"""
tornado异步爬虫示例
"""
import time
from datetime import timedelta
from bs4 import BeautifulSoup
from tornado.httpclient import AsyncHTTPClient
from tornado import ioloop, gen, queues
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
import java.util.Base64.*;
//import org.apache.commons.codec.binary.Base64;
/**
* @author netkiller
*
*/
@CaiJimmy
CaiJimmy / index.html
Last active April 29, 2024 08:43
Disqus点击加载
<button id="load-disqus" onclick="disqus.load();">
加载Disqus
</button>
<div id="disqus_thread"></div>
@wintercn
wintercn / HTMLLexicalParser.js
Last active August 5, 2019 11:16
HTML语法分析器模型
function StartTagToken(){
}
function EndTagToken(){
}
function Attribute(){
}