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
" use CTRl+f to search | |
unmap <C-f> | |
" use chrome default CTRL+number to navigate to tabs | |
unmap g0 | |
unmap g^ | |
unmap g$ | |
unmap <C-p> | |
" unmap duplicate current tab (Duplicate Tab Shortcut Key is installed for this functionality) |
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
let &termencoding=&encoding | |
set fileencodings=utf-8,gbk,utf-16,big5 |
先修改/etc/init.d/my.cnf 下
bind-ipaddress = 0.0.0.0(原来是127.0.0.1)
Reference for all ips use below以下命令允许所有IP访问
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' WITH GRANT OPTION;
for particular ip use below以下命令只允许myuser用户通过youripaddres这个IP访问
- 先关了mysql
sudo /etc/init.d/mysql stop
- 进入安全模式
sudo mysqld_safe --skip-grant-tables &
这篇文章讲得比较清楚
http://blog.csdn.net/lslxdx/article/details/7277081
但我做的只是把pom.xml里的 标签删除了...然后就好了。。。 // delete the url tag in pom.xml
<project>
...
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
3.3
HttpServletResponse response = (HttpServletResponse) res;
response.setHeader("Access-Control-Allow-Origin", "*");
response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");
response.setHeader("Access-Control-Max-Age", "3600");
response.setHeader("Access-Control-Allow-Headers", "这里写允许的头,比如Content-Type 等");
chain.doFilter(req, res);
Update Java Options for Tomcat
- vim <TOMCAT_HOME>/bin/setenv.sh
- export CATALINA_OPTS="-Xms1024M -Xmx2048M -XX:MaxPermSize=1024m"
Xmx: Max Heap size
OlderNewer