Skip to content

Instantly share code, notes, and snippets.

View yedanbo's full-sized avatar

叶丹波 yedanbo

View GitHub Profile
@yedanbo
yedanbo / Default (Windows).sublime-keymap
Created March 4, 2016 08:59
Sublime Text 用户自定义快捷键配置文件(JSON)
[
// SidebarEnhancement
// Chrome
{ "keys": ["f12"],
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
"extensions":".*"
}
@yedanbo
yedanbo / reset-style.css
Last active March 4, 2016 09:09
重置浏览器元素的一些默认属性样式(CSS)
/* 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;
@yedanbo
yedanbo / SublimeLinter.sublime-settings
Created May 13, 2016 17:03
SublimeLinter 用户配置文件
{
"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",
[
{
"id": "plugins",
"children": [
{
"caption": "SublimeServer 服务器",
"children": [
{
"command": "sublimeserver_start",
"caption": "启动服务器"
@yedanbo
yedanbo / Context.sublime-menu
Last active May 14, 2016 07:18
移动设备检测函数(JS)
[
{
"caption": "创建 Gist 代码片段",
"children": [
{
"command": "gist",
"caption": "创建公开的 Gist"
},
{
"command": "gist_private",
@yedanbo
yedanbo / Terminal.sublime-settings
Created May 14, 2016 07:39
Terminal 用户设置文件
{
"terminal": "C:\\Program Files (x86)\\Git\\git-bash.exe",
"parameters": []
}
@yedanbo
yedanbo / TortoiseSVN.sublime-settings
Created May 14, 2016 07:46
TortoiseSVN 用户设置文件
{
// Auto close update dialog when no errors, conflicts and merges
"autoCloseUpdateDialog": false,
"tortoiseproc_path": "C:\\Program Files (x86)\\TortoiseSVN\\bin\\TortoiseProc.exe"
}
@yedanbo
yedanbo / SublimeLinter.sublime-settings
Created May 14, 2016 09:04
SublimeLinter 用户配置文件
{
"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",
@yedanbo
yedanbo / .zshrc
Last active August 23, 2016 03:35
ZSH配置文件
# Path to your oh-my-zsh installation.
export ZSH=/Users/yedanbo/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="ys"
# Uncomment the following line to use case-sensitive completion.
Atom Sync-Settings 设置同步备份文件