1. Installing the Certificates to the Keystore If you receive a message that says "Certificate already exists in system-wide CA keystore under alias <...> Do you still want to add it to your own keystore? [no]:", select Yes. If succes ...

    阅读全文
  2. Window->Preference->Java->Editor->Content Assist->Advanced 这里如果你去掉Java Proposals的选择,那么你就不会有任何java的提示。底下的选框是用来定义顺序的。 ...

    阅读全文
  3. Mac自带了php和apache. 但Mac OS X并没有默认的php.ini配置文件。不过提供了php.ini.default模版。可以复制一份出来修改。 sudo cp /private/etc/php.ini.default /private/etc/php.ini 然后根据需要修改php.ini 然后需要设置socket, 把php.ini里面所有的default_socket都改成/tmp的mysql.sock的正确位置即可。因为mysql的默认目录是 ...

    阅读全文
  4. 个人觉得CKEditor中block的功能非常有用,所以希望使block功能默认就是enabled.效果如下: 于是查询了下设置方法。如下: config.startupOutlineBlocks = true; 如果在config中设置可以这样写: CKEDITOR.replace( 'content-editor', { //省去其他配置 startupOutlineBlocks:true ...

    阅读全文
  5. 如何配置vim的背景色 设置.vimrc (这个.vimrc在当前用户的home目录下,如果没有,创建一个,这样不影响系统级别的vim设置。以后vim的一些设置都可以在这里添加,比如说添加set number后就可以默认打开显示行号) hi Normal ctermbg=Black ctermfg=white ctermbg表示背景色。ctermfg 表示前景色。 如何配置一个vim主题 就拿solarized主题来说吧。 下载solarized主题: ...

    阅读全文
  6. 转载自http://www.cnblogs.com/ginvip/p/6415853.html BASH shell下设置字体及背景颜色  echo -e "\e[31mtest\e[41m" \e[30m 将字符的显示颜色改为黑色  \e[31m 将字符的显示颜色改为红色  \e[32m 将字符的显示颜色改为绿色  \e[33m 将字符的显示颜色改为淡红色  \e[34m 将字符的显示颜色 ...

    阅读全文
  7. Apache configure文件中的一些知识点摘要: 首先检查apache configure文件是否合法可以使用下面的命令来检查语法合法性: httpd -t -f your.configurefile 官方配置文档参考路径:http://httpd.apache.org/docs/current/mod/core.html 1. 关于Options的设置注意事项 Note Mixing Options with a + or - with th ...

    阅读全文
  8. Linux上搭建SVN服务器可以参考网上这两篇文章,解释的很详细。 http://www.cnblogs.com/chaichuan/p/3758173.html https://my.oschina.net/junn/blog/164041 http://www.ha97.com/4467.html 这里快速的列出相关命令: 安装: 1. yum install -y subversion 查看版本 2. svnserve --versi ...

    阅读全文
  9. Spring中Configuration的使用和理解,转载这篇文章写的挺清晰的文章 https://my.oschina.net/wuweixiang/blog/1837294   从Spring3.0,@Configuration用于定义配置类,可替换xml配置文件,被注解的类内部包含有一个或多个被@Bean注解的方法,这些方法将会被AnnotationConfigApplicationContext或AnnotationConfigWebApplication ...

    阅读全文
  10. Spring configuration property的优先级官方说明:https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-external-config Externalized Configuration Spring Boot lets you externalize your configuration so that you can ...

    阅读全文
12