Skip to content

Instantly share code, notes, and snippets.

🍋
</>

XiaoYan Li lixiaoyan

Block or report user

Report or block lixiaoyan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View template.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
<link rel="alternate" type="application/rss+xml" href="{RSS}" />
<title>{Title}</title>
<script src="//use.edgefonts.net/cooper-black-std.js"></script>
View proxy.js
//来自 http://wiki.ecmascript.org/doku.php?id=harmony:extended_object_api
Object.getPropertyDescriptor = function(subject, name) {
var pd = Object.getOwnPropertyDescriptor(subject, name);
var proto = Object.getPrototypeOf(subject);
while (pd === undefined && proto !== null) {
pd = Object.getOwnPropertyDescriptor(proto, name);
proto = Object.getPrototypeOf(proto);
}
return pd;
View mandelbrot.html
<!--
name: Mandelbrot set
coder: gameloftyou
version: v1.0.0
-->
<!DOCTYPE html>
<html>
<head>
<title>Mandelbrot Set</title>
View color.py
# -*- encoding: utf-8 -*-
import sys
import time
import traceback
class Color:
BLACK = 0
RED = 1
GREEN = 2
View letv.user.js
// ==UserScript==
// @name 乐视网
// @match http://www.letv.com/ptv/vplay/*
// ==/UserScript==
(function(vid){
var list=["720p","350"];
var box=document.querySelector("#fla_box");
var embed=box.querySelector("embed");
box.removeChild(embed);
View abp.list
[Adblock Plus 2.0]
! -----Google-----
||google-analytics.com
! -----百度-----
||share.baidu.com
||nsclick.baidu.com
||hm.baidu.com
View format.txt
Data {}
Name @name
Array []
@vec(0,0) @vec(1,0)
@vec(0,1) @vec(1,1)
Array2 []
0 1 2 3
Array3 []
4
5
You can’t perform that action at this time.