码迷,mamicode.com
首页 >  
搜索关键字:created    ( 6237个结果
【Python】网络编程
1、TCP编程 2、SocketServer模块 3、Twisted框架 4、UDP编程 1、TCP编程——TCP是面向连接的,其一般的设计如下: # encoding:utf-8'''Created on 2014-6-20@author: Administrator'''from socket ...
分类:编程语言   时间:2014-06-26 22:10:38    阅读次数:279
基于epoll的简单的http服务器
本人用epoll写了一个简单的http服务器,该服务器在客户端第一次发送数据时可以正确处理,但是当客户端不关闭继续发送数据时,服务器无法读取,请求大家帮忙看看哪里有问题,谢谢server.h/* * server.h * * Created on: Jun 23, 2014 * Author: fangjian */ #include #ifndef SERVER_H_...
分类:其他好文   时间:2014-06-26 13:13:28    阅读次数:158
jquery 插件 起步代码
/** * Created by W.J.Chang on 2014/6/25. */ ;(function($) { var methods= { check: function() { return this.each(function() { this.checked = true; }); } }; $...
分类:Web程序   时间:2014-06-26 11:33:43    阅读次数:368
iOS开发 剖析网易新闻标签栏视图切换(addChildViewController属性介绍)
本来只是打算介绍一下addChildViewController这个方法的,正好今天朋友去换工作面试问到网易新闻标签栏效果的实现,就结合它,用个小Demo实例介绍一下:(具体解释都写在了Demo里面的注释) // // HMTMainViewController.m // UIScrollView // // Created by HMT on 14-6-25. // Copyright...
分类:移动开发   时间:2014-06-26 08:10:05    阅读次数:294
References & the Copy-Constructor
1 There are certain rules when using references: (Page 451)A reference must be initialized when it is created. (Pointers can be initialized at any ...
分类:其他好文   时间:2014-06-25 21:07:06    阅读次数:275
简单使用NSURLConnection、NSURLRequest和NSURL
下面是代码,注释也写得比较清楚: // // HttpDemo.h // MyAddressBook // // Created by hherima on 14-6-23. // Copyright (c) 2014年 chinasofti. All rights reserved. // #import #import @interface HttpDemo : NSObjec...
分类:其他好文   时间:2014-06-25 00:07:58    阅读次数:190
MAC COCOA一个简单的多线程程序[2]
MAC COCOA一个简单的多线程程序[2] 使用RUNLOOP计数,实现一个时间计数器和事件at the same time 运行。 STEP 1 H CODE: // // EDUAppDelegate.h // test_runloop_multithread // // Created by DMD on 23/6/14. // Copyright (c) 2014 ED...
分类:编程语言   时间:2014-06-24 19:50:33    阅读次数:292
swift http请求返回json数据并解析
1 AppDelegate.swift // // AppDelegate.swift // QQDemo // // Created by 赵超 on 14-6-21. // Copyright (c) 2014年 赵超. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIRes...
分类:Web程序   时间:2014-06-24 19:13:48    阅读次数:385
iOS_JSON_XML_图片内存缓存_Block回调
// JSON & XML解析及代码块封装 // Created by apple on 13-10-10. /* 异步加载网络图像的内存缓存解决方法 1. 在对象中定义一个UIImage 2. 在控制器中,填充表格内容时,判断UIImage是否存在内容 1> 如...
分类:移动开发   时间:2014-06-24 15:33:10    阅读次数:354
Fate/stay night
People die when they are killed. — Emiya Shirou I am the bone of my sword. Steel is my body, and fire is my blood. I have created over a thousand bla....
分类:其他好文   时间:2014-06-24 15:24:44    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!