Skip to content

Instantly share code, notes, and snippets.

View lxj's full-sized avatar

ShaDao lxj

  • IQIYI
  • Shanghai, China
View GitHub Profile
@lxj
lxj / mse-bufferStream.html
Last active June 14, 2020 09:49
mse-bufferStream
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>mse-bufferStream.html</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
@lxj
lxj / test.js
Last active August 29, 2015 14:06
test
function test(){
console.log('test')
}
@lxj
lxj / HTML-tags.html
Last active June 14, 2020 04:15 — forked from yisibl/HTML-tags.md
HTML-tags
<!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 -->
<html lang="zh-cmn-Hans"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa -->
<head>
<meta charset='utf-8'> <!-- 声明文档使用的字符编码 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <!-- 优先使用 IE 最新版本和 Chrome -->
<meta name="description" content="不超过150个字符" /> <!-- 页面描述 -->
<meta name="keywords" content=""/> <!-- 页面关键词 -->
<meta name="author" content="name, email@gmail.com" /> <!-- 网页作者 -->
<meta name="robots" content="index,follow" /> <!-- 搜索引擎抓取 -->
@lxj
lxj / dabblet.css
Last active December 28, 2015 20:29
thumb截中间区域
/* thumb截中间区域 */
body {
text-align: center;
}
.thumb {
position: relative;
width: 20em;
margin:2em auto;
@lxj
lxj / standards.js
Last active March 8, 2020 13:54 — forked from wintercn/standards
Standards
[
{
name:"HTML5",
uri:"http://www.w3.org/TR/html5/single-page.html",
category:"markup"
},
{
name:"HTML 5.1",
uri:"http://www.w3.org/TR/html51/single-page.html",
category:"markup"
@lxj
lxj / dabblet.css
Last active June 14, 2020 10:40
图片居左文字居右的一些布局
body {
width: 600px;
font:normal 14px/1.62 arial, sans-serif;
}
.mod {
margin-bottom:100px;
background-color:#efc;
}
.pic {
margin-right: 20px;
@lxj
lxj / dabblet.css
Created May 4, 2013 04:41 — forked from kejun/dabblet.css
sample-1缺点 + 必须固定高度
body {
width: 600px;
font:normal 14px/1.62 arial, sans-serif;
}
.mod {
margin-bottom:100px;
background-color:#efc;
}
.pic {
margin-right: 20px;
@lxj
lxj / frameworks.md
Last active June 14, 2020 08:08 — forked from yyx990803/frameworks.md
国内互联网公司的前端框架简介

百度:Tangram

基本上就是个百度版jQuery,2.0版本使用链式API,更像了。
配套的还有UI库Magic和模版引擎BaiduTemplate(和ejs很像)

腾讯:JX

理念在介绍里面写的很详细,代码清晰,注释丰富,可读性很好,但只有文档没有实例。
比较传统的大块头框架,本质上来说还是一堆工具方法和对象的堆积,提供了很基本的模块化的开发方式,但没有模块间的依赖关系支持。

@lxj
lxj / 12306AutoLogin.user.js
Created January 10, 2012 06:25 — forked from kevintop/12306AutoLogin.user.js
12306 Auto Login
/*
12306 Auto Login => A javascript snippet to help you auto login 12306.com.
Copyright (C) 2011 Kevintop
Includes jQuery
Copyright 2011, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.
http://jquery.org/license
Includes 12306.user.js
@lxj
lxj / 12306AutoLogin.user.js
Created January 10, 2012 06:24 — forked from kevintop/12306AutoLogin.user.js
12306 Auto Login
/*
12306 Auto Login => A javascript snippet to help you auto login 12306.com.
Copyright (C) 2011 Kevintop
Includes jQuery
Copyright 2011, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.
http://jquery.org/license
Includes 12306.user.js