Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2445255
  • 博文数量: 328
  • 博客积分: 4302
  • 博客等级: 上校
  • 技术积分: 5486
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-01 11:14
个人简介

悲剧,绝对的悲剧,悲剧中的悲剧。

文章分类

全部博文(328)

文章存档

2017年(6)

2016年(18)

2015年(28)

2014年(73)

2013年(62)

2012年(58)

2011年(55)

2010年(28)

发布时间:2017-07-12 22:13:08

To get the memory#import <mach/mach.h>// ...void report_memory(void) {  struct task_basic_info info;  mach_msg_type_number_t size = sizeof(info);  kern_return_t kerr = task_info(mach_ta.........【阅读全文】

阅读(1338) | 评论(0) | 转发(0)

发布时间:2017-05-31 00:00:32

Brought to you bySemaphoreLearn MoreIntroductionTesting applications has become a standard skill set required for any competent developer today. The Python community embraces testing, and even the Python standard library has goodinbuilt tools to support testing. In the larger.........【阅读全文】

阅读(1273) | 评论(0) | 转发(0)

发布时间:2017-03-23 01:47:06

For example, let’s say we wanted to track how many times each view controller is presented to a user in an iOS app:Fortunately, there is another way: method swizzling from a category. Here’s how to do it:In computer science, pointer swizzling is the conversion of .........【阅读全文】

阅读(1557) | 评论(0) | 转发(0)

发布时间:2017-02-24 00:15:54

As something of a follow-up post to the previous entry, here’s a quick recipe for creating a Virtual Machine using the VirtualBox command line tools:We’re using Windows Server 2008 64bit as an example, modify to taste.$ VM='Windows-2008-64bit'Create a 32GB “dynamic” disk.$ VBoxMa.........【阅读全文】

阅读(1411) | 评论(0) | 转发(0)

发布时间:2017-02-22 00:29:20

Python is rich with powerful features and expressive syntax. One of my favorites is decorators. In the context of design patterns, decorators dynamically alter the functionality of a function, method or class without having to directly use subclasses. This is ideal when you need to extend the func.........【阅读全文】

阅读(1167) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册