Master HaKu
• 第1级-能力突出的个人:用自己的智慧、知识、技能和良好的工作作风作出巨大贡献。• 第2级-乐于奉献的团队成员:为实现集体目标贡献个人才智,与团队成员通力合作。• 第3级-富有实力的经理人:组织人力和资源,高效地朝既定目标前进。
1. 静态内存 静态内存是指在程序开始运行时由编译器分配的内存,它的分配是在程序开始编译时完成的,不占用CPU资源。 程序中的各种变量,在编译时系统已经为其分配了所需的内存空间,当该变量在作用域内使用完毕时,系统会 自动释放所占用的内存空间。
C++头文件中预编译宏的目的 eg: #ifndef _FACTORY_H_#define _FACTORY_H_......#endif //~_FACTORY_H_ 防止头文件被重复包含,导致变量或类型被重复定义
方法一: $ cd cocos2d-x$ ./setup.py$ source FILE_TO_SAVE_SYSTEM_VARIABLE$ cocos new MyGame -p com.your_company.
1. Loading Data from Files and URLs // Assuming that there is a text file at /Examples/Test.txt: NSString* filePath = @"/Examples/Test.
MySQL复制错误]Last_Errno: 1666 Last_Error: Error executing row event: 'Cannot execute statement: imposs 收到email报警, Last_Error: Error executing row event:...
1. 数据读取
1. Literal Syntax NSString *someString = @"Effective Objective-C 2.0"; NSNumber *someNumber = [NSNumber numberWithInt:1]; NSNumber *someNum...
Mysql为了安全性,在默认情况下用户只允许在本地登录,可是在有此情况下,还是需要使用用户进行远程连接,因此为了使其可以远程需要进行如下操作: 一、允许root用户在任何地方进行远程登录,并具有所有库任何操作权限, 具体操作如下: 在本机先使用root用户登录mysql: mysql -u r...
Order Class Diagram of Martin Fowler's UML Distilled
mongodb和memcached不是一个范畴内的东西。mongodb是文档型的非关系型数据库,其优势在于查询功能比较强大,能存储海量数据。mongodb和memcached不存在谁替换谁的问题。和memcached更为接近的是redis。
# insert db.person.insert({ "name": "kelvin", "age": 35 }) db.person.insert({ "name": "huahua", "age": 25 }) db.
1. IIS 6 IIS 6.0 was capable of scaling out to virtually any number of web servers and had tools likeIISCnfg.
在Windows下使用gcc编译器: 1.首先介绍下MinGW MinGW是指只用自由软件来生成纯粹的Win32可执行文件的编译环境,它是Minimalist GNU on Windows的略称。
一、概述 NetCDF全称为network Common Data Format,中文译法为“网络通用数据格式”,对程序员来说,它和zip、jpeg、bmp文件格式类似,都是一种文件格式的标准。netcdf文件开始的目的是用于存储气象科学中的数据,现在已经成为许多数据采集软件的生成文件的格式。
A literal array is created by putting squarebrackets around a comma-separated list of elements eg: # ["zero" , "un" , "dos" , "tre" ] a = ['zero' , 'un' , 'dos' , 'tre' ] # 4 a.
ProblemYou want to display an image instead of text as the title of the current view controlleron the navigation controller SolutionUse the titleView...
ProblemYou would like to directly manipulate the array of view controllers associated with aspecific navigation controller SolutionUse the viewContro...
ProblemYou would like to allow your users to move from one view controller to the other witha smooth and built-in animation.
http://www.codeproject.com/Articles/556995/MVC-interview-questions-with-answers#What_is_razor_in_MVC
// View宽,高 public int[] getLocation(View v) { int[] loc = new int[4]; int[] location = new int[2]; v.
You want to be able to allow your users to share content inside your apps with theirfriends, through an interface, such as Facebook and Twitter.
Presenting and Managing Views with UIViewController ProblemYou want to switch among different views in your application.
You would like to present a few options to your users from which they can pick anoption, through a UI that is compact, simple, and easy to understand.
Picking the Date and Time with UIDatePicker effect: 1. declaring a property of type UIDatePicker #import "ViewController.
Creating and Using Switches with UISwitch You would like to give your users the ability to turn an option on or off.
1. Views presentation: A view (an object whose class is UIView or a subclass of UIView) knows how to draw itself into a rectangular area of the interface.
synthesize creates setter and getter (从Objective-C 2.0开始,合成可自动生成存取方法) the setter is used by IOS to set the pointer of the object on storyboard we u...
http://my.oschina.net/sunboy2050/blog/55749
names = { "小林", "林", "大卫", "玛丽" } names.each { |name| if /林/ = ~name puts name end } 运行结果: 小林 林
https://www.dropbox.com/business
http://www.codeproject.com/Articles/715550/SQL-Server-Replication
Iterative(迭代) and Waterfall(瀑布) Processes One of the biggest debates about process is that between waterfall and iterative styles.
NSString (Immutable)NSMutableString (rarely used)NSNumberNSValueNSData (bits)NSDateNSArray (Immutable) - once you create the array, you cannot add or ...
1. setAlertViewStyle:UIAlertViewStyleSecureTextInput UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Password" message:@"Pl...
http://www.codeproject.com/Articles/492397/State-Management-in-ASP-NET-Introduction
Application Delegate(应用程序委托) Application Name: SingleView SingleViewAppDelegate.h #import @interface SingleViewAppDelegate : UIResponder ...
OutletActionViewController.h #import @interface OutletActionViewController : UIViewController { IBOutlet UITextField *txtName; } // e...
1. 如何估算我们这个sprint能做多少个故事点 1) 本能反应 2) 生产率计算 估算生产率/实际生产率 看看团队的历史,看看他们在过去几个sprint里的生产率是多少 然后假定在下一个sprint里生产率差不多 This is also called yesterday's weat...
产品backlog是scrum的核心,也是一切的起源。 从根本上说,它就是一个需求/故事/特性组成的列表,按照重要性的级别排序。 我们叫它story, 或者backlog(条目). Backlog ID Name Importance...
backlog tracking progress Initial Stage Next Stage End
http://www.codeproject.com/Articles/265760/Using-SQL-Server-2011-T-SQL-New-Features
1. 坐在一起(Sitting Together) 尽可能让团队成员坐在一起,Kent Block在一次芝加哥的某个濒临困境的项目中发现,虽然这个团队都是由程序 精英组成,但是却陷入困境,后来他发现,这些成员都坐在距离彼此遥远的小格子中,他每次去找他们都要走很多路, 这走得太多了,浪费了很多时间,甚至由于距离而导致团队成员疏于沟通,后来他把他们都安排在一个狭小的机房内, 1个月后,项目如火如荼。
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Alert" message:@"You've been...
1. Methods and Messages a) class method - call it by sending a message to the class itself b) instance method - call it by sending a message to an i...
----------------------------------------------------------------------------------------------------- 1.
Would you like to be able to write and test code that uses the Amazon DynamoDB API even if you have no network connection and without incurring any us...
在一个函数体内,标识符arguments具有特殊含义. Arguments对象是一个类似数组的对象 eg: 验证函数参数的正确数目 function f(x, y, z) { if (arguments.
1. Basic Selectors $('p')—Accesses all the paragraph elements in the HTML file $('div')—Accesses all the div elements in the HTML file...
1. Serialize JavaScript object to JSON var messageObject = { title: 'Hello World!', body: 'It\'s great!' }; var serializedJSON = JSON.