Monday, July 22, 2019

MongoDB CRUD

Mogo Shell For more documentation of basic MongoDB operations in the mongo shell, see: Getting Started Guide Insert Documents Query Documents Update Documents Delete Documents mongo Shell Methods 1. Query method For the...

Getting to know Mongoose

Mongoose is a Node.js library that provides MongoDB object mapping similar to ORM with a familiar interface within Node.js. If you aren't familiar with...

Java DateFormat parse() doesn’t respect the timezone

Ví dụ: cách chuyển đổi format, không phục thuộc vào local time zone Kết quả: 2011-09-24 14:10:51 -0400 Sat Sep 24 20:10:51 CEST 2011 Giải thích: It's messy but...

Java code example

http://www.programcreek.com/java-api-examples/index.php?api=java.io.IOException Java Code Examples for java.io.IOException CSHARP EXAMPLE CODE: https://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=ProgrammingLanguage&f%5B0%5D.Value=C%23 CSHARP KEYWORDS https://msdn.microsoft.com/en-us/library/s1ax56ch.aspx

java.util.concurrent.Future basics

Reference from http://www.nurkiewicz.com/2013/02/javautilconcurrentfuture-basics.html Hereby I am starting a series of articles about futureconcept in programming languages (also known aspromises or delays) with a working title: Back...

Java Concurrency

Java Concurrency Tutorial – Semaphores Useful Tricks with Semaphores One interesting property of Semaphores in Java is that release doesn’t have to be called by the...

Understanding Weak References

Reupload from Link Some time ago I was interviewing candidates for a Senior Java Engineer position. Among the many questions I asked was "What can...

Install cocos2dx

1. Cocos2d Tutorial and Guide list: https://github.com/MobileAppTracking/cocos2dx-plugin 2. Create new project: Run/cmd cocos new hello -p com.vn.hello -l cpp -d q:/android/project 3. Plugin: http://stnguyen.com/cocos2d-x/call-java-functions-from-cpp.html http://stnguyen.com/cocos2d-x/call-cpp-functions-from-java.html http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/implementing/method.html http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/implementing/index.html http://stnguyen.com/cocos2d-x/call-cpp-functions-from-java.html http://www.slideshare.net/vienbk91/jni-48734418 Call C++ functions from Java in cocos2d-x 31...