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 东方时尚课程自动播放 | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match *://dfss.anjia365.com/player.do* | |
// @grant none | |
// ==/UserScript== |
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
import sublime, sublime_plugin,os | |
class JadeToHtmlOnSave(sublime_plugin.EventListener): | |
def on_post_save(self, view): | |
print 'JadeToHtmlOnSave: on_post_save' | |
folder = view.window().folders()[0] | |
os.chdir(folder) | |
filename = os.path.basename(view.file_name()) |
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
import java.util.Iterator; | |
import android.util.SparseArray; | |
public class SparseArrayUtils { | |
private static abstract class IndexIterator<IterType, Type> implements Iterator<IterType> { | |
protected int mIndex = 0; | |
protected SparseArray<Type> mArray; |
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
android 上 System.out.printf 不能用 |