Skip to content

Instantly share code, notes, and snippets.

View imsobear's full-sized avatar
👾
calm down, baby.

大果 imsobear

👾
calm down, baby.
  • ByteDance
  • Hangzhou, China
View GitHub Profile
@imsobear
imsobear / rules.conf
Created November 7, 2015 14:34 — forked from janlay/README.md
Yet another config for Surge.app (build 245+)
# This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet.
# This file depends on the main.conf which defines your own proxy.
# Your main.conf will look like this:
# ---- START ----
# #!PROXY-OVERRIDE:rules.conf
# [Proxy]
# Proxy = https, server.address, port, username, password
# ---- END ----
#
@imsobear
imsobear / sublimelinter
Created April 30, 2015 05:10
sublimelinter 配置
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "load/save",
"linters": {
"eslint": {
@imsobear
imsobear / new.js
Last active December 22, 2015 04:58
新人引导页动画的js代码,基于kissy的,代码也不太整齐,有需求的朋友可以看一下。
KISSY.use('node, ua, ajax', function(S, Node, UA, ajax) {
S.ready(function(S) {
var $ = S.all,
es = {}, //所有的元素
anim = {}, //所有的动画
datas = {},
cutting = false,
ie_target = false,
func,