Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<script src="jquery.backstretch.min.js"></script> | |
<script> | |
// To attach Backstrech as the body's background | |
$.backstretch("path/to/image.jpg"); | |
// You may also attach Backstretch to a block-level element | |
$(".foo").backstretch("path/to/image.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//= require modernizr | |
// Helper for performing css3 or jquery animations | |
;(function( window, $, undefined ){ | |
'use strict'; | |
$.fn.css3animate = function (rules, duration, easing, callback) { | |
var $this = $(this); | |
if (Modernizr.csstransitions) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{"keys": ["ctrl+alt+b"], "command": "open_browser"}, | |
{ "keys": ["ctrl+v"], "command": "paste_and_indent" }, | |
{ "keys": ["ctrl+shift+v"], "command": "paste" }, | |
{"keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Theme - Flatland/Flatland.tmTheme", | |
"default_line_ending": "unix", | |
"font_size": 9, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"ASP", | |
"SublimeCodeIntel", | |
"Nodejs", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isWaitingAuth = true; | |
var isScheduleWorking = false; | |
var processPostTime; | |
var processCommentByMeTime; | |
var processCommentToMeTime; | |
// 收集从什么时间开始信息 | |
// 基于已处理的postid和ticketid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global $_G; | |
// not working, always been none | |
// $from_connect = $this->setting['connect']['allow'] && !empty($_GET['from']) ? 1 : 0; | |
// $seccodecheck = $from_connect ? false : $this->setting['seccodestatus'] & 2; | |
// $seccodestatus = !empty($_GET['lssubmit']) ? false : $seccodecheck; | |
// $invite = getinvite(); | |
$_G['uid'] = $_G['member']['uid'] = 0; | |
$_G['username'] = $_G['member']['username'] = $_G['member']['password'] = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>jQuery Transit tests</title> | |
<script> | |
(function() { | |
var m = location.search.match(/jquery=([^&$]*)/); | |
var jQueryVersion = m ? m[1] : "1.8.1"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 豆藤 Bean vine | |
// @namespace http://userscripts.org/scripts/show/49911 | |
// @description 为豆瓣(www.douban.com)添加各种人性化的功能。 | |
// @require http://autoupdate.sinaapp.com/autoupdatehelper.js | |
// @include http* | |
// @version 2012.12.19 | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @grant GM_addStyle |