Skip to content

Commit 305c1ea

Browse files
committed
fix issues && add features
1 parent 70cffef commit 305c1ea

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ RUN cd /tmp &
9595
git clone --depth 1 https://github.com/jlanzarotta/bufexplorer.git && rm -rf bufexplorer/.git && \
9696
git clone --depth 1 https://github.com/kien/ctrlp.vim.git && rm -rf ctrlp.vim/.git && \
9797
git clone --depth 1 https://github.com/majutsushi/tagbar.git && rm -rf tagbar/.git && \
98+
git clone --depth 1 https://github.com/mattn/emmet-vim.git && rm -rf emmet-vim/.git && \
9899
git clone --depth 1 https://github.com/marcweber/vim-addon-mw-utils.git && rm -rf vim-addon-mw-utils/.git && \
99100
git clone --depth 1 https://github.com/mbbill/undotree.git && rm -rf undotree/.git && \
100101
git clone --depth 1 https://github.com/michaeljsmith/vim-indent-object.git && rm -rf vim-indent-object/.git && \
@@ -127,12 +128,14 @@ RUN cd /tmp && wget https://nodejs.org/dist/v4.1.1/node-v4.1.1-linux-x64.tar.gz
127128
sudo ln /usr/bin/node /usr/bin/nodejs && rm -rf /tmp/node-v4* && \
128129
sudo chmod 777 /usr/bin/node /usr/bin/npm /usr/bin/nodejs && \
129130
sudo npm install -g grunt grunt-cli bower && \
130-
sudo npm install -g yo gulp generator-karma && \
131+
sudo npm install -g yo gulp generator-karma plugman && \
131132
sudo npm install -g generator-angular generator-webapp && \
133+
sudo gem install sass && \
132134
sudo gem sources --remove https://rubygems.org/ && \
133135
sudo gem sources --remove http://rubygems.org/ && \
134136
sudo gem sources -a https://ruby.taobao.org/ && \
135137
sudo gem sources -l && \
136138
sudo npm config set registry https://registry.npm.taobao.org && \
137139
sudo npm config set cache /go/cache/npm --global && \
138-
echo 'registry = https://registry.npm.taobao.org' >/home/dev/.npmrc
140+
echo 'registry = https://registry.npm.taobao.org' >/home/dev/.npmrc
141+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ for more information pls visit [use 256 colors in screen](https://wiki.archlinux
3030
* [bufexplorer](https://github.com/jlanzarotta/bufexplorer) BufExplorer Plugin for Vim
3131
* [ctrlp](https://github.com/kien/ctrlp.vim) Fuzzy file, buffer, mru, tag, etc finder.
3232
* [tagbar](https://github.com/majutsushi/tagbar) Vim plugin that displays tags in a window, ordered by scope http://majutsushi.github.com/tagbar/
33+
* [emmet-vim](https://github.com/mattn/emmet-vim) emmet for vim
3334
* [addon-mw-utils](https://github.com/marcweber/vim-addon-mw-utils) interpret a file by function and cache file automatically(required by snipmate)
3435
* [undotree](https://github.com/mbbill/undotree) The ultimate undo history visualizer for VIM
3536
* [indent-object](https://github.com/michaeljsmith/vim-indent-object) This plugin defines a new text object, based on indentation levels.

fs/etc/sysctl.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
vm.swappiness = 0
2+
net.ipv4.neigh.default.gc_stale_time=120
3+
net.ipv4.conf.all.rp_filter=0
4+
net.ipv4.conf.default.rp_filter=0
5+
net.ipv4.conf.default.arp_announce = 2
6+
net.ipv4.conf.all.arp_announce=2
7+
net.ipv4.tcp_max_tw_buckets = 5000
8+
net.ipv4.tcp_syncookies = 1
9+
net.ipv4.tcp_max_syn_backlog = 1024
10+
net.ipv4.tcp_synack_retries = 2
11+
net.ipv6.conf.all.disable_ipv6 = 1
12+
net.ipv6.conf.default.disable_ipv6 = 1
13+
net.ipv6.conf.lo.disable_ipv6 = 1
14+
net.ipv4.conf.lo.arp_announce=2
15+
fs.inotify.max_user_watches=524288

fs/home/dev/.vimrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Plugin 'honza/vim-snippets'
2929
Plugin 'jistr/vim-nerdtree-tabs'
3030
Plugin 'jlanzarotta/bufexplorer'
3131
Plugin 'kien/ctrlp.vim'
32+
Plugin 'mattn/emmet-vim'
3233
Plugin 'majutsushi/tagbar'
3334
Plugin 'marcweber/vim-addon-mw-utils'
3435
Plugin 'mbbill/undotree'

0 commit comments

Comments
 (0)