Skip to main content


Showing posts from 2012

First post using stackedit

Welcome to StackEdit! Hey! I’m your first Markdown document in StackEdit1. Don’t delete me, I’m very helpful! I can be recovered anyway in the Utils tab of the Settings dialog.
Documents StackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible offline!
StackEdit is accessible offline after the application has been loaded for the first time.Your local documents are not shared between different browsers or computers.Clearing your browser’s data may delete all your local documents! Make sure your documents are synchronized with Google Drive or Dropbox (check out the Synchronization section). Create a document The document panel is accessible using the button in the navigation bar. You can create a new document by clicking New document in the document panel.
Switch to another document All your local documents are listed in the document panel. You can switch from one to another by clicking a document in the li…

Robert Lafore, Object Oriented Programming in C++. 4th edition, 2001

Book DescriptionPublication Date: December 19, 2001 | ISBN-10: 0672323087 | ISBN-13: 978-0672323089 | Edition: 4 Object-Oriented Programming in C++ begins with the basic principles of the C++ programming language and systematically introduces increasingly advanced topics while illustrating the OOP methodology. While the structure of this book is similar to that of the previous edition, each chapter reflects the latest ANSI C++ standard and the examples have been thoroughly revised to reflect current practices and standards.
Educational Supplement Suggested solutions to the programming projects found at the end of each chapter are made available to instructors at recognized educational institutions. This educational supplement can be found at, in the Instructor Resource Center.  Editorial Reviews From the Back Cover Object-Oriented Programming in C++ begins with the basic principles of the C++ programming language and systematically introduces incre…

Practical C Programming, 3rd edition

Amazon: Link download:

From Program to Product: Turning Your Code into a Saleable Product (2008)

Book DescriptionPublication Date: March 28, 2008 | ISBN-10: 1590599713 | ISBN-13: 978-1590599716 | Edition: 1 Many would–be software entrepreneurs with expertise in many fields attempt to turn a homegrown application—one developed for use in their own business or profession—into a commercial product. Lack of knowledge, experience, or skills often prevents the idea from ever taking shape, let alone achieving its potential. Entering a new field to start a business leaves many developers unprepared and not even fully aware that it’s something they know so little about. They will also often have a job that conflicts with the time commitment required to market the program well enough for it to become a complete success.
Do you have an idea for a commercially viable software product or already have a product with the potential for dream financial rewards? Would–be software entrepreneurs must consult From Program to Product: Turning Your Code into a Saleable Product, written by …

Cocoa Programming for Mac OS X (4th Edition) - 2011

Editorial Reviews
About the Author Aaron Hillegass, who worked at NeXT and Apple, now teaches popular Cocoa programming classes at Big Nerd Ranch. At NeXT, he wrote the first course on OpenStep, the predecessor to today’s Cocoa tools. This book is based on the big Nerd Ranch course and is influenced by more than a decade of work with OpenStep and Cocoa. Adam Preble learned Cocoa programming from the first edition of this book. After too many years of professional C/C++ development, today Adam writes Mac and iOS applications at Big Nerd Ranch, where he is also a Cocoa instructor. He is frequently filling in the gaps between work and family time with pinball machine software development and countless other projects.
Product Details 
Paperback: 528 pages
Publisher: Addison-Wesley Professional; 4 edition (November 19, 2011)
Language: English
ISBN-10: 0321774086
ISBN-13: 978-0321774088
Product Dimensions: 9.1 x 7 x 1.3 inches
 Shipping Weight: 1.8 pounds

Download link:…

Cocoa Design Patterns by Erik M. Buck and Donald A. Yacktman (Sep 11, 2009)

Editorial Reviews ReviewPraise for Cocoa Design Patterns
“This long-needed book is a great resource for Cocoa newcomers and veterans who want to get the why behind the what. The list of patterns gives historical perspective and answers many developer questions and the last three chapters–covering Core Data, AppKit, and Bindings–are a must-read; they reveal insights that might otherwise require hours of discussion with Apple engineers or access to source code.” –Tim Burks, Software Developer and Creator of the Nu Programming Language,
“This book is a comprehensive and authoritative treatment of design patterns and their practical applications in Cocoa projects. I recommend this book to anyone who wants to advance from intermediate to expert proficiency as a Macintosh developer.” –John C. Randolph, Vice President Engineering, Stealth Imaging, Inc.
Cocoa Design Patterns is a fantastic book that will show you the ins and outs of software design patterns, …

Fixed error while updating ROM for BlackBerry phone

While you are trying to update ROM (called BlackBerry Device Software by RIM, or short, Operating System of BlackBerry phone) for Blackberry smartphone, by using AppLoader.exe at
"C:\Program Files (x86)\Common Files\Research In Motion\AppLoader" (for MS Windows 64 bits)
you may find an error:
“The BlackBerry Desktop Software does not have BlackBerry Device Software for the device that you have connected to the computer” This error is not common, but fix it is not easy.
You should install the latest Blackberry Desktop Software and the version of ROM you want (can find by here).
In my case, I use BlackBerry Desktop Software version 6.1 (the latest at writing) and ROM 5.0.0983 for my BlackBerry 9630 Tour, and I still meet an error.
The support from Blackberry site (you can find it here) is not useful at all. It just shows very trivial solutions, and I believe that all computer users already know.

So, how to fix it.
It is very easy, please use vnbbutils to fix.
vnbbutils is a Wi…

iOS Programming: Customize buttons on UIAlertView

As you know, default UIAlertView has a little chance for developers to customize.
You can just setup the title, message and text of buttons, and no more.
Even that, arrange the axis of buttons is not easy. iOS decided it for you automatically.

By default, if there are 1 or 2 buttons, iOS arranges them side - by - side.
If there are more than 2 buttons, iOS arranges them stacked.

I found TSAlertView, which let developers do something more with UIAlertView. You can visit this library here.

But, TSAlertView just supported arranges 2 buttons in stacked style, but if you want to arrange 3, or even more buttons in side - by - side, TSAlertView cannot support, even you set buttonLayout is TSAlertViewButtonLayoutNormal

I added some code to support side - by - side arrangement with multiple buttons.

Besides it, TSAlertView has many features you can discover later.

You can download my source code here.

And there are some pictures here:

Please let me know your ideas, and I am trying to improve …

Luật doanh nghiệp năm 2005 song ngữ Việt - Anh

Văn bản: Luật doanh nghiệp số 60/2005/QH11, được thông qua tại kỳ họp thứ 8, Quốc hội khóa XI, ngày 29 tháng 11 năm 2005, có hiệu lực từ ngày 1 tháng 7 năm 2006.
Nguồn văn bản tiếng Anh: Bộ tư pháp

Định dạng: PDF
Song ngữ Việt - Anh.
Người biên tập:
Link download:

Văn bản pháp luật: Luật Hôn nhân và gia đình năm 2000, song ngữ Việt - Anh

Văn bản Luật Hôn nhân và gia đình năm 2000, song ngữ Việt - Anh.
Nguồn văn bản tiếng Anh: Bộ tư pháp.
Văn bản này đã được cập nhật bởi Luật nuôi con nuôi năm 2010 (hủy bỏ các quy định của Luật hôn nhân và gia đình năm 2000 về nuôi con nuôi).
Link download:

Efficient C++: Performance Programming Techniques, 1999

Editorial Reviews From the Inside Flap If you conducted an informal survey of software developers on the issue of C++ performance, you would undoubtedly find that the vast majority of them view performance issues as the Achilles' heel of an otherwise fine language. We have heard it repeatedly ever since C++ burst on the corporate scene: C++ is a poor choice for implementing performance-critical applications. In the mind of developers, this particular application domain was ruled by plain C and, occasionally, even assembly language.
As part of that software community we had the opportunity to watch that myth develop and gather steam. Years ago, we participated in the wave that embraced C++ with enthusiasm. All around us, many development projects plunged in headfirst. Some time later, software solutions implemented in C++ began rolling out. Their performance was typically less than optimal, to put it gently. Enthusiasm over C++ in performance-critical domains h…