1.保存下面的代码为sublime_imfix.c/*sublime-imfix.cUse LD_PRELOAD to interpose some function to fix sublime input method support for linux.By Cjacker Huang gc....
分类:
系统相关 时间:
2014-10-09 13:29:33
阅读次数:
366
1.启动production模式运行程序报的错误:
Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`
处理方法方式:
生成一个production下的key,复制到config/secrets.yml下
生成命令:#
参考链接:点我
(2)...
分类:
其他好文 时间:
2014-10-09 02:43:28
阅读次数:
218
在开发Android项目的时候,有时需要引用多个项目作为library。在引用项目的时候,有时会出现“Jar mismatch! Fix your dependencies”错误。这是因为两个项目的jar包(android-support-v4.jar)不一致。 解决方法是把2个...
分类:
其他好文 时间:
2014-10-09 00:47:27
阅读次数:
202
第一篇我们就google官方给出的Navigation Drawer demo做了一个简单的介绍,细心的童鞋可能已经发现问题了,google虽然是在support v4中添加的这个控件,但是他给的demo中却使用了ActionBar!ActionBar是...
分类:
其他好文 时间:
2014-10-09 00:10:57
阅读次数:
236
[leetcode]Implement regular expression matching with support for '.' and '*'....
分类:
其他好文 时间:
2014-10-08 18:03:55
阅读次数:
184
====================问题描述==================== packagecom.example.intentsenddatademo;importjava.util.List;importandroid.support.v7.app.ActionBarActivity...
分类:
其他好文 时间:
2014-10-08 17:59:45
阅读次数:
204
准备工作,先安装必要的组件。yum -y groupinstall "Perl Support"yum -y install gcc gcc-c++ automake make kernel-devel然后在vCenter里找到这台服务器,并挂接VMWARE的升级工具(图形操作的略掉)。mkdir ...
分类:
其他好文 时间:
2014-10-08 16:30:45
阅读次数:
228
[leetcode]There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n))....
分类:
其他好文 时间:
2014-10-08 14:00:15
阅读次数:
147
Implement wildcard pattern matching with support for '?' and '*'.'?' Matches any single character.'*' Matches any sequence of characters (including th...
分类:
其他好文 时间:
2014-10-08 11:12:55
阅读次数:
249
在使用Maven构建Hadoop应用的时候出现:Missingartifactlog4j:log4j:jar:1.2.15:compile而在pom.xml的配置是<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
</dependency>..
分类:
其他好文 时间:
2014-10-08 08:29:05
阅读次数:
231