- 浏览: 251935 次
- 性别:
- 来自: 成都
最新评论
-
wilsonchen:
...
pdf.js html5展现pdf -
angole:
不错,又学习到了。
mybatis打印sql -
hft24dq:
rxcss66 写道 个人没有搞明白什么原理,不过跟一楼说的一 ...
mybatis打印sql -
fireinjava:
fireinjava 写道org.apache.ibatis. ...
mybatis打印sql -
fireinjava:
org.apache.ibatis.logging.LogFa ...
mybatis打印sql
文章列表
原文地址:http://stackoverflow.com/questions/11739576/ios-in-app-purchase-will-apple-reviewers-test-live-or-sandbox-environment
I use In App Payment to sell ingame consumables. After successfull payment I forward the payment receipt to my backend, which validates the receipt with the iTunes payment backen ...
subelipse svn:ignore gray
- 博客分类:
- SVN
1、You can't svn:ignore a file that is already commited to repository.
2、Delete it from the repository
3、Recreate it in Eclipse
4、Set svn:ignore on it via Team->Add to svn:ignore
Good luck!
原文地址:http://stackoverflow.com/questions/9007540/update-svnignore-using-subclipse
执行truncate的时候出现错误
[SQL]
TRUNCATE table person;
[Err] 1701 - Cannot truncate a table referenced in a foreign key constraint (`treasurewinner`.`game_spin_log`, CONSTRAINT `game_spin_log_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `treasurewinner`.`person` (`id`))
因为game_spin_log表有对person表的引用。所以失败了。
搜 ...
SOFTWARE ENTITIES(CLASSES, MODULES, FUNCTIONS, ETC.)
SHOULD BE OPEN FOR EXTENSION, BUT CLOSED FOR
MODIFICATION.
ios push notifiycation
- 博客分类:
- iphone
昨天搞了许久的苹果的推送服务,看着文档不是很难。可是很少使用socket发送拼接字节一类的数据。后来找到了javapns,很方便。直接就推送成功了。
本来是想用netty做的,但是没有成功,我觉得是bytes的发送格式不对,特别是字节数。
主页:http://code.google.com/p/javapns/
使用的前提:http://code.google.com/p/javapns/wiki/GeneralRequirements
推送的简单例子:http://code.google.com/p/javapns/wiki/PushNotificationBasic
主页的wiki里面 ...
原文地址:http://jeff.langcode.com/archives/27
Sometimes, you project will have dependency on a jar which is not in official maven repository, and maybe it is propriety jar file which will never be part of maven repository. In this case, you have to put it to your local repository your self to solve the ...
deploy as jar
- 博客分类:
- maven
原文地址:http://stackoverflow.com/questions/2022032/building-a-runnable-jar-with-maven-2
The easiest way to do this would be to create an assembly using the maven-assembly-plugin and the predefined jar-with-dependencies descriptor. You'll also need to generate a manifest with a main-class entry for this ...
mvc2 iis6 htp 404
- 博客分类:
- .NET
昨天将mvc2部署到了iis6上,始终要么是显示网站的目录列表,要么就是http 404啊,403啊。我不debug郁闷。。也不得不气愤为什么要用.net。。。
我开始以为.net注册失败,所以只用asnetiis -ir 重新注册.net,结果还是没有作用。
最后才发现是web服务扩展里面没有启用。。。。哎。
总结如下:
1、确保iis是6.0
2、网站的asp选项是选择的4.0
3、确保web服务扩展是允许的
4、再不行就添加wildmap,并取消“确认文件是否存在”
spring send gmail
- 博客分类:
- J2EE
只要这样配置好久能使用gmail了
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="smtp.gmail.com" />
<property name="javaMailProperties">
<props>
[color=red] <p ...
原文地址:http://java.dzone.com/articles/visitor-pattern-re-visited
Understanding the problem
The actual problem is not the naming and horrible API verbosity of visiting code, but the mis-understanding of the pattern. It’s not a pattern that is best suited for visiting large and complex data structures wi ...
在jquery的论坛中有人推荐使用jtsage的日期插件。用了下,感觉还可以。
论坛地址:http://forum.jquery.com/topic/datepicker-with-jquery-mobile
插件首页:http://dev.jtsage.com/
汉化地址:http://dev.jtsage.com/jQM-DateBox/tests/lang.html
原文地址:http://www.quantivo.com/blog/top-5-reasons-not-use-hadoop-analytics
As a former diehard fan of Hadoop, I LOVED the fact that you can work on up to Petabytes of data. I loved the ability to scale to thousands of nodes to process a large computation job. I loved the ability to store and load dat ...
A Year with MongoDB
- 博客分类:
- nosql
原文地址:http://blog.engineering.kiip.me/post/20988881092/a-year-with-mongodb
This week marks the one year anniversary of Kiip running MongoDB in production. As of this week, we’ve also moved over 95% of our data off of MongoDB onto systems such as Riak and PostgreSQL, depending which solution made sense ...
redis autocomplete
- 博客分类:
- nosql
原文地址http://antirez.com/post/autocomplete-with-redis.html
Hello! This isn't just a blog post, it is actually the Redis weekly update number eight, but we can't tell this to Google: naming posts like Redis Weekly update #... will not play well with Google indexing, so I'm starting to use blog post titl ...
原文地址:http://redis.io/topics/twitter-clone
A case study: Design and implementation of a simple Twitter clone using only the Redis key-value store as database and PHP
In this article I'll explain the design and the implementation of a simple clone of Twitter written using PHP and Redis as only databas ...