using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
其他好文 时间:
2014-12-05 17:00:16
阅读次数:
156
1. 安装扩展器包管理器Package Control组件点击菜单 View -> Show Console 调出控制台或者按快捷键 “Ctrl + `”(1左边的符号,可能和QQ拼音输入法和搜狗浏览器的快捷键有冲突,改下就可以)输入下面的代码并按回车:import urllib2,os;pf='P...
分类:
其他好文 时间:
2014-12-05 16:57:15
阅读次数:
284
#pragma mark - 检测非法字符//姓名只能由中文、字母或数字组成- (BOOL)isValidateUser:(NSString *)text{ NSString * regex = @"^[a-zA-Z0-9_\u4e00-\u9fa5]+$"; NSPredicate *pred.....
分类:
其他好文 时间:
2014-12-05 15:27:08
阅读次数:
164
http://www.cnblogs.com/me-sa/archive/2012/11/22/erlang_vm_monitor_text_mode.html之前介绍过一个Erlang的Web监控工具,如果在字符终端界面呢? Erlang提供了一套监控系统负载情况的模块,可以监控CPU 磁盘 以及...
分类:
其他好文 时间:
2014-12-05 12:38:35
阅读次数:
352
服务端代码如下:using System;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;using System.Windows.Forms;namespace Client{ ....
分类:
其他好文 时间:
2014-12-05 12:31:48
阅读次数:
310
select在数据库中有两种意思(1)是赋值的意思(2)是输出,打印的意思我想你问的大概是赋值吧print和 select在数据库中都有打印输出的意思用法是:select @aa=select* from tb1print @aa输出@aa的值
分类:
数据库 时间:
2014-12-05 12:16:56
阅读次数:
212
1. 打开注册表,开始→运行→regedit 2. 在 HKEY_CLASSSES_ROOT→ * → Shell 下面新建项命名为SublimeText 3. 右键SublimeText项,新建→字符串值,命名为Icon,值为 “sublime_text.exe所在路径,0”,例如:D:\de...
分类:
其他好文 时间:
2014-12-05 11:00:55
阅读次数:
193
//// TextFieldViewController.swift// UIControlDemo//// Created by on 14/12/1.// Copyright (c) 2014年 马大哈. All rights reserved.//import UIKitclass Text....
分类:
其他好文 时间:
2014-12-05 10:34:00
阅读次数:
366
布局填充器的三种写法: 1.layoutInflater=layoutInflater.from(this); 2.layoutInflater=(LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE); 3.layoutIn...
分类:
其他好文 时间:
2014-12-05 10:27:56
阅读次数:
146
用户空间的内存模型Linux操作系统在加载程序时,将程序所使用的内存分为5段:text(程序段)、data(数据段)、bss(bss数据段)、heap(堆)、stack(栈)。 text segment(程序段) text segment用于存放程序指令本身,Linux在执行程序时,要把这个程序的代...
分类:
其他好文 时间:
2014-12-05 09:11:55
阅读次数:
223