13146489
13146489 · 共 131 篇文章
iOS In App Purchase: Will Apple reviewers test live or sandbox environment?
原文地址: 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 bac…
2012-10-09 15:50 · Android · 评论(1)
subelipse svn:ignore gray
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
2012-08-01 11:08 · SVN · 评论(0)
truncate foreign key constrained table
执行truncate的时候出现错误 TRUNCATE table person; 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表的引用。所以失败了。 搜索答案如下: http://stac…
2012-07-27 12:12 · Mysql · 评论(0)
开闭原则
SOFTWARE ENTITIES(CLASSES, MODULES, FUNCTIONS, ETC.) SHOULD BE OPEN FOR EXTENSION, BUT CLOSED FOR MODIFICATION.
2012-07-24 00:45 · 架构与模式 · 评论(0)
ios push notifiycation
昨天搞了许久的苹果的推送服务,看着文档不是很难。可是很少使用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…
2012-05-04 11:18 · iphone · 评论(0)
Install an external jar into local Maven repository
原文地址: 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 th…
2012-05-04 11:11 · maven · 评论(0)
deploy as jar
原文地址: 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 th…
2012-04-24 16:01 · maven · 评论(0)
mvc2 iis6 htp 404
昨天将mvc2部署到了iis6上,始终要么是显示网站的目录列表,要么就是http 404啊,403啊。我不debug郁闷。。也不得不气愤为什么要用.net。。。 我开始以为.net注册失败,所以只用asnetiis -ir 重新注册.net,结果还是没有作用。 最后才发现是web服务扩展里面没有启用。。。。哎。 总结如下: 1、确保iis是6.0 2、网站的asp选项是选择的4.0 3、确保web服务扩展是允许的 4、再不行就添加wildmap,并取消“确认文件是否存在”
2012-04-24 11:14 · .NET · 评论(0)
spring send gmail
只要这样配置好久能使用gmail了 <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host" value="smtp.gmail.com" /> <property name="javaMailProperties"> <props> [color=red] <prop key="mail.smtp.auth">true</prop> <prop key="mail.smtp.timeout">25000</prop> <prop key=…
2012-04-24 11:06 · J2EE · 评论(0)
The Visitor Pattern Re-visited
原文地址: 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…
2012-04-19 21:10 · 架构与模式 · 评论(0)
jquery mobile datepicker 手机端日期选择器
在jquery的论坛中有人推荐使用jtsage的日期插件。用了下,感觉还可以。 论坛地址: http://forum.jquery.com/topic/datepicker-with-jquery-mobile 插件首页: http://dev.jtsage.com/ 汉化地址: http://dev.jtsage.com/jQM-DateBox/tests/lang.html
2012-04-19 17:02 · JQuery · 评论(0)
Top 5 Reasons Not to Use Hadoop for Analytics
原文地址: 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 da…
2012-04-16 12:10 · nosql · 评论(0)
A Year with MongoDB
原文地址: 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 se…
2012-04-16 09:43 · nosql · 评论(0)
redis autocomplete
原文地址 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 t…
2012-04-10 11:28 · nosql · 评论(0)
redis官方教程 KEY-VALUE DB 教程
原文地址: 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 datab…
2012-04-10 10:52 · nosql · 评论(0)