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 | |
import sublime_plugin | |
import re | |
class CompactExpandCssCommand(sublime_plugin.TextCommand): | |
def run(self, edit, action='compact'): | |
rule_starts = self.view.find_all('\{') | |
rule_ends = self.view.find_all('\}') |
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
/* | |
需要先注册 sqlite3.dll | |
下载地址 https://www.assembla.com/spaces/litex/documents | |
项目地址 http://svn2.assembla.com/svn/aIPblab5qr3zkdab7jnrAJ/ | |
*/ | |
var db = new ActiveXObject("LiteX.LiteConnection"); | |
db.open("test.db"); | |
try{ | |
var sql = "create table tab01(id integer primary key, name varchar, num integer)"; |