码迷,mamicode.com
首页 > 2015年04月28日 > 全部分享
交换机端口模式
交换机端口模式:access和trunkaccess:只允许默认VLAN的以太网帧通过的端口称为Access链路类型端口。Access端口在收到以太网帧后打VLAN标签,转发出端口时剥离VLAN标签,对终端主机透明,所以通常用来连接不需要识别802.1Q协议(支持隧道技术,它允许服务提供商在VLAN...
分类:其他好文   时间:2015-04-28 18:08:25    阅读次数:176
网络之Json生成解析
//// ViewController.m// Json//// Created by City--Online on 15/4/28.// Copyright (c) 2015年 CYW. All rights reserved.//#define strUrl @"http://app....
分类:Web程序   时间:2015-04-28 18:07:35    阅读次数:133
C# 截取字符串
1.根据单个分隔字符用split截取例如string st="GT123_1";string[] sArray=st.split("_");即可得到sArray[0]="GT123",sArray[1]="1";2.利用多个字符来分隔字符串例如string str = "GTAZB_JiangjBe...
分类:Windows程序   时间:2015-04-28 18:09:54    阅读次数:142
easyui combobox 中实现 checkbox
$('#cc').combobox({ url:'combobox_data1.json', method:'get', valueField:'id', textField:'t...
分类:其他好文   时间:2015-04-28 18:08:53    阅读次数:181
EF6.0执行sql存储过程案例
数据填充实体:ZF_Btns;存储过程名称:test;--方式一:db.Database.SqlQuery("test @Id,@UName output",sqlparameters[]);--方式二:db.Database.SqlQuery("EXEC [dbo].[test]@Id,@UNam...
分类:数据库   时间:2015-04-28 18:09:39    阅读次数:2197
IOC AOP 设计模式
IOC AOP 不是什么技术而是一种设计模式 学习 IOC AOP 其实是在学习一种思想。1.IOC IOC其实是将对象的创建和获取提取到外部。由外部IOC容器提供需要的组件。 看下面代码: public class Girl { //外部包办直接传入boy类 publ...
分类:其他好文   时间:2015-04-28 18:06:31    阅读次数:151
c++ 派生类的复制函数次序,及子父类兼容性
#include using namespace std;class CFatherSum //父类Sum{public: CFatherSum(){cout<<"1,Default Constructing CFatherSum"<<endl;}//默认构造 CFath...
分类:编程语言   时间:2015-04-28 18:08:49    阅读次数:106
基础控制器MVC ,全局判断
public class BaseController : Controller { // // GET: /Base/ protected override void OnActionExecuting(ActionExecutingContext filterContext) { if (Re....
分类:Web程序   时间:2015-04-28 18:06:38    阅读次数:108
[hihoCoder] #1158 : 质数相关
时间限制:2000ms单点时限:1000ms内存限制:256MB描述两个数a和 b (a 2 using namespace std; 3 4 int T, N; 5 vector v; 6 vector> graph; 7 vector link; 8 vector visited; 9 boo....
分类:其他好文   时间:2015-04-28 18:06:49    阅读次数:176
.net中在读取控件的class或ID不同方式的不同意义- jquery选择器
$("parent > child") - 在(父亲)parent的儿子中找符合条件的儿子(child)等同于$("parent").children("child");1 2 1233 4 4565 6 7897$('div > span').css('color', '#...
分类:Web程序   时间:2015-04-28 18:08:33    阅读次数:169
A chatroom for all! Part 1 - Introduction to Node.js(转发)
项目组用到了 Node.js,发现下面这篇文章不错。转发一下。原文地址:《原文》。 ------------------------------------------- A chatroom for all! Part 1 - Introduction to Node.js Rami Sayar ...
分类:Web程序   时间:2015-04-28 18:08:50    阅读次数:264
查看某个模块的Tables
在SE11 中 关于table的F4 help 有一个筛选条件是Package 同时由于不同的模块放在不同的Package中 很容易根据这个条件 获得某个模块的所有Tables 亲测有效 1. Goto SE11 2. Select the radio button Database tables ...
分类:其他好文   时间:2015-04-28 18:07:07    阅读次数:136
.htaccess文件的作用(访问控制)
在线工具: http://www.htaccesseditor.com/sc.shtml说到.htaccess文件,我想对于wordpress新手或者老手都应该不是很熟悉,也没有多少这方面的概念吧,至少小编是这样的,而最近看到一篇有关介绍的文章,觉得很不错,所以今天打算分享给大家,也给自己一篇扫盲课...
分类:数据库   时间:2015-04-28 18:05:28    阅读次数:197
使用SE16N_INTERFACE
调用函数直接修改table数据 在PRD上通常没有权限 但是可以激活sap内置的修改模式 SE16N 修改表数据、增加、删除行项目; 1. Execute tcode SE16N. 2. Type &SAP_EDIT into the command field and press enter. 3...
分类:其他好文   时间:2015-04-28 18:07:13    阅读次数:1096
C#扩展方法实现
C#扩展方法的实现,可用于通过定义接口方法,实现多类继承。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication12{ //定义...
分类:Windows程序   时间:2015-04-28 18:06:35    阅读次数:157
【leetcode】Permutations
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:其他好文   时间:2015-04-28 18:05:31    阅读次数:133
linux 3.0.35下globalmem 字符设备驱动实现
1、MakefileKDIR=/home/xxx/s-linux-3.0.35PWD:=$(shell pwd)# kernel modulesobj-m := globalmem.omodules: make -C $(KDIR) M=$(PWD) modulesclean: rm -...
分类:系统相关   时间:2015-04-28 18:05:24    阅读次数:228
2575条   上一页 1 ... 48 49 50 51 52 53 54 ... 152 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!