Properties are either atomic or nonatomic, The difference has to do with multithreading. atomic is the default value. Properties are either readonly or readwrite. readwrite is the default value. Whenever you declare a property that points to an NSStr…
Introduction (已看) Prerequisites What Has Changed in the Sixth Edition? Our Teaching Philosophy How to Use This Book How This Book Is Ogranized Style Choices Typographical Conventions Necessary Hardware and Software 1. A Simple ios Application (已看) Cr…
本书第12章是讲解Dialog.12.4挑战练习是在CriminalIntent项目中,再增加一个TimePickerFragment的对话框fragment.通过在CrimeFragment用户界面上添加的时间按钮,弹出TimePickerFragment界面,允许用户使用TimePicker组件选择crime发生的具体时间. 我的修改思路是: 按照DatePickerFragment实现的步骤.方法实现实现TimePickerFragment: crime日期与时间是一个整体: DatePi…
阅读 Device Driver Programmer Guide 笔记 xilinx驱动命名规则 以X开头 源文件命名规则 以x打头 底层头文件与高级头文件 重点来了,关于指针的使用 其中 XDevice DeviceInstance 语句用来例化设备. 举例说明: 调用与设备相应的函数时,第一个参数总是一个指针. 关于初始化设备函数的调用. 首先需要定义一个ConfigPtr的指针变量,调用LookupConfig()函数,需要说明:LookupConfig函数返回的是地址信息. 然后Loo…
这是<Pinciples of Reactive Programming>week6的最后一课. 为什么需要把actor的状态持久化? 如果actor没有状态,那么在任何实时,这个actor的行为都是一致的.但是对于有状态的actor,其行为跟当前状态相关.所以当系统由于意外down掉以后,需要恢复系统的状态,意味着需要恢复actor的状态. Actors representing a stateful resource shall not lose important state due t…
1. install > npm install -g angular-cli 2. create app > ng new first-app 3. build app > cd first-app > ng serve…
1. Introduction HTB is meant as a more understandable, intuitive and faster replacement for the CBQ qdisc in Linux. Both CBQ and HTB help you to control the use of the outbound bandwidth on a given link. Both allow you to use one physical link to sim…
ext3 file system 优化 ext3 在用在hbase上可以做如下优化: 1. mount的时候加上noatime选项.这可以减少管理开销 2. 用命令tune2fs -m 0 /dev/sda1 这样的命令去调整磁盘block 设置.默认ext3会在每一个block中预留一部分空间,这部分空间的目的是,一旦磁盘满了,那么一些critical进程比如OS服务,可以利用这部分空间,而不至于崩溃.这也是有时候我们发现/目录 100%但是OS仍然能运行的原因.这个设置对于根目录这种运行操作…
Swift 语言写成的项目会被标记为  ★ ,AppleWatch 的项目则会被标记为 ▲. [转自]https://github.com/jobbole/awesome-ios-cn#libraries-and-frameworks 入门 Road Map iOS - 开发 iOS 应用从今天开始,苹果指南.★ Lifehacker - 我想写一个 iOS 应用,该从哪里开始? Codeproject - 入门 iPhone 和 iOS 应用开发. Ray Wenderlich - 学习 iO…
http://www.shouce.ren/post/d/id/112300    黑客攻防实战入门与提高.pdfhttp://www.shouce.ren/post/d/id/112299    黑客入门新手特训.pdfhttp://www.shouce.ren/post/d/id/112298    黑客与设计-剖析设计之美的秘密(彩印).pdfhttp://www.shouce.ren/post/d/id/112297    鸟哥的LINUX私房菜:服务器架设篇 (第二版).pdfhttp…