Skip to content

Instantly share code, notes, and snippets.

@xudejian
xudejian / boxen install.md
Last active August 29, 2015 13:56
boxen install help

Boxen Install

Prepare

Boxen 会跟已安装的homebrew和rvm有冲突,需要先卸载homebrew 和 rvm。

rvm 卸载方法

RVM提供的方法

@xudejian
xudejian / main.css
Created January 10, 2014 07:43
select2 自定义搜索提示
.ac .ac-type{
float:left;
width:50px;
clear:left;
}
.ac .select2-result-sub{
float:left;
width:225px;
}
@xudejian
xudejian / main.html
Created January 10, 2014 07:37
select2 去掉搜索框
<div>
<select ui-select2='select2Options' ng-model="select2" data-placeholder="Pick a number">
<option value=""></option>
<option value="one">First</option>
<option value="two">Second</option>
<option value="three">Third</option>
</select>
</div>
@xudejian
xudejian / main.css
Last active January 2, 2016 19:09
select2 高亮条颜色修改
.my-select .select2-highlighted {
background-color: gray;
}
#
# DOMParser HTML extension
# 2012-09-04
#
# By Eli Grey, http://eligrey.com
# Public domain.
# NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
#
#! @source https://gist.github.com/1129031
@xudejian
xudejian / .ctags
Last active December 21, 2015 15:29
./ctags
--recurse=yes
--tag-relative=yes
--exclude=node_modules
--exclude=.git
--exclude=vendor
--exclude=coverage
--exclude=*-min.js
--exclude=*.min.js