首页 > 2014年05月22日 > 全部分享
二维数组
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 二维数组{ class Program { ...
分类:其他   时间:2014-05-22 15:54:34    收藏:0  评论:0  赞:0  阅读:337
MVC 过滤器 ActionFilterAttribute
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using 过滤器.Controllers;namespace 过滤器.Filtes{ p...
分类:Web开发   时间:2014-05-22 13:55:20    收藏:0  评论:0  赞:0  阅读:472
Objective C Foundation基础框架[转]
iOS Foundation基础框架就是以Foundation.h头文件的库 #import Mac OS X和iOS都使用了Foundation基础框架。该框架中有很多日后开发常用的API,非常基础重要。以下就常用的类和结构做个介绍。 NSObjct NSObject类,是ObjC类族...
分类:其他   时间:2014-05-22 15:55:53    收藏:0  评论:0  赞:0  阅读:403
C#生成高清缩略图 (装在自OPEN经验库)
C# 图片 高清缩略图
分类:其他   时间:2014-05-22 15:55:15    收藏:0  评论:0  赞:0  阅读:334
Qt写入txt文件方法
void MainWindow::on_saveBtn_clicked(){ //本函数只是单独测试Qt保持为txt文本功能,与本串口程序无任何关系 QDateTime da_time; QString time_str = da_time.currentDateTime().toString("y...
分类:其他   时间:2014-05-22 15:56:25    收藏:0  评论:0  赞:0  阅读:631
C#常用的内置委托
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 内置委托{ static class Program .....
分类:其他   时间:2014-05-22 15:57:50    收藏:0  评论:0  赞:0  阅读:401
谈写代码的原则:性能高效 方法简洁 思路清晰 整体美观
我们的程序课只关心能不能把一个功能实现。不会关注怎么实现以及背后的我坚信性能非常重要,给客户做项目,三天两头出问题,动不动系统写出来的网站访问量一大就报503.经常遭到黑客攻击,资料被改得后果很严重.举几个个课堂例子说明此原则://字符串拼接下面是课堂上的代码string sqlstr="ins.....
分类:其他   时间:2014-05-22 15:57:05    收藏:0  评论:0  赞:0  阅读:412
JQ 更改li 颜色
国足朝鲜队美国队韩国队巴西队越南队伊拉克队
分类:其他   时间:2014-05-22 15:58:26    收藏:0  评论:0  赞:0  阅读:476
JQ 模仿注册时等待的时间
sdfsdfsdfihoserfidfvg
分类:其他   时间:2014-05-22 15:59:45    收藏:0  评论:0  赞:0  阅读:369
Parallel for loops in .NET C# z
The start index: this is inclusive, i.e. this will be the first index value in the loopThe end index: this is exclusive, so it won’t be processed in t...
分类:Web开发   时间:2014-05-22 15:59:07    收藏:0  评论:0  赞:0  阅读:279
文件流(二)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:其他   时间:2014-05-22 16:00:22    收藏:0  评论:0  赞:0  阅读:329
Parallel for-each loops in .NET C# z
An IEnumerable objectAn Action of T which is used to process each item in the listList dataList = new List { "this", "is", "random", "sentence...
分类:Web开发   时间:2014-05-22 16:00:54    收藏:0  评论:0  赞:0  阅读:356
Android 使用ContentProvider扫描手机中的图片,仿微信显示本地图片效果
首先我们先看第一个界面吧,使用将手机中的图片扫描出来,然后根据图片的所在的文件夹将其分类出来,并显示所在文件夹里面的一张图片和文件夹中图片个数,我们根据界面元素(文件夹名, 文件夹图片个数,文件夹中的一张图片)使用一个实体对象ImageBean来封装这三个属性package com.example....
分类:微信   时间:2014-05-22 16:01:34    收藏:0  评论:0  赞:0  阅读:1637
UIImageView和UIButton
1> 使用场合* UIImageView: 如果仅仅是显示图片,不需要监听图片的点击* UIButton: 既要显示图片,又要监听图片的点击2> 相同:能显示图片3> 不同点* UIButton能处理点击事件, UIImageView不能处理点击事件* UIButton既能显示图片, 又能显示文字*...
分类:其他   时间:2014-05-22 16:02:19    收藏:0  评论:0  赞:0  阅读:340
ref 关键字out关键字
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace outAndref{ class Program ...
分类:其他   时间:2014-05-22 16:04:23    收藏:0  评论:0  赞:0  阅读:359
Breaking parallel loops in .NET C# using the Stop method z
List integers = new List() { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };Parallel.ForEach(integers, (int item, ParallelLoopState state) =>{ if (item > 5) { ...
分类:Web开发   时间:2014-05-22 16:03:38    收藏:0  评论:0  赞:0  阅读:348
HTML5资料整理 [From luics]
来自http://www.cnblogs.com/luics/,新浪微博@徐凯-鬼道HTML5资料整理项目组要做html5这块,花了一周左右时间收集的,快有一年时间了,部分内容需要更新,仅供参考。如需更新请回复几点说明:本次收集的信息以HTML5为主,这里的HTML5 ~=HTML5 + Javas...
分类:Web开发   时间:2014-05-22 16:04:59    收藏:0  评论:0  赞:0  阅读:682
C#中的数组
一维数组:可以如下例所示声明一个由 5 个整数组成的数组:int[] myArray = new int [5];此数组包含从 myArray[0] 到 myArray[4] 的元素。new运算符用于创建数组并将数组元素初始化为它们的默认值。在此例中,所有数组元素都初始化为零。可以用相同的方式声明存...
分类:其他   时间:2014-05-22 16:06:12    收藏:0  评论:0  赞:0  阅读:212
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他   时间:2014-05-22 16:05:35    收藏:0  评论:0  赞:0  阅读:362
Linux System Programming 学习笔记(六) 进程调度
1. 进程调度the process scheduler is the component of a kernel that selects which process to run next.进程调度器需要使 处理器使用率最大化,并且提供 使多个进程并发执行的虚拟Deciding which pr...
分类:系统服务   时间:2014-05-22 16:07:33    收藏:0  评论:0  赞:0  阅读:577
1430条   上一页 1 ... 17 18 19 20 21 ... 72 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!