View createRandom().js
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
// 生成随机数函数 | |
function createRandom(num,from,to) | |
{ | |
var arr=[]; // 随机数数组 | |
var json={}; // 标记json对象 | |
while(arr.length<num) | |
{ | |
// 产生单个随机数 | |
var ranNum=Math.round(Math.random()*(to-from))+from; | |
// 通过判断json对象的索引值是否存在 来标记 是否重复 |
View CSScomb.sublime-settings
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
{ | |
// If plugin has trouble finding Node.js, replace this string with path | |
// to your `node` bin | |
"node-path" : ":/usr/local/bin", | |
// Full list of supported options and acceptable values can be found here: | |
// https://github.com/csscomb/csscomb.js/blob/master/doc/options.md | |
"config": { | |
// Whether to add a semicolon after the last value/mixin. |
View Default (Windows).sublime-keymap
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
[ | |
// SidebarEnhancement | |
// Chrome | |
{ "keys": ["f12"], | |
"command": "side_bar_files_open_with", | |
"args": { | |
"paths": [], | |
"application": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe", | |
"extensions":".*" | |
} |
View reset-style.css
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
/* RESET STYLE */ | |
/** 清除内外边距 **/ | |
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, img { | |
margin: 0; | |
border: medium none; | |
padding: 0; | |
} | |
/** 设置默认字体 **/ | |
body, button, input, select, textarea { | |
font: 12px/1.5 ,tahoma, Srial, helvetica, sans-serif; |
View SublimeLinter.sublime-settings
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
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Blueberry/round/Blueberry - round.gutter-theme", | |
"gutter_theme_excludes": [], | |
"installed_packages": [ | |
"HTML-CSS-JS Prettify", | |
"Node Completions", |
View Terminal.sublime-settings
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
{ | |
"terminal": "C:\\Program Files (x86)\\Git\\git-bash.exe", | |
"parameters": [] | |
} |
View TortoiseSVN.sublime-settings
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
{ | |
// Auto close update dialog when no errors, conflicts and merges | |
"autoCloseUpdateDialog": false, | |
"tortoiseproc_path": "C:\\Program Files (x86)\\TortoiseSVN\\bin\\TortoiseProc.exe" | |
} |
View SublimeLinter.sublime-settings
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
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Blueberry/round/Blueberry - round.gutter-theme", | |
"gutter_theme_excludes": [], | |
"installed_packages": [ | |
"HTML-CSS-JS Prettify", | |
"Node Completions", |
OlderNewer