码迷,mamicode.com
首页 >  
搜索关键字:save your cat    ( 40251个结果
CentOS安装,更新Python
1、查看当前Python版本python -V2、查看当前CentOS版本cat /etc/redhat-release3、安装所有的开发工具包yum groupinstall "Development tools"4、安装其他必须包yum install zlib-devel bzip2-deve...
分类:编程语言   时间:2014-04-30 00:59:31    阅读次数:443
IWebBrowser2不能复制剪切
项目中嵌入了IE控件,近期做了一次大改版,发现网页不能进行复制和剪切了,折腾了半天,发现是com初始化有问题:修正前的方式:CoInitialize(NULL);// do your workCoUninitialize();修正后的方式:OleInitialize(NULL);// do your...
分类:Web程序   时间:2014-04-29 23:24:02    阅读次数:509
Binary String Matching
Binary String Matching时间限制:3000ms | 内存限制:65535KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell ho...
分类:其他好文   时间:2014-04-29 15:02:00    阅读次数:564
A Step-by-Step Guide to Your First AngularJS App
What is AngularJS?AngularJS is a JavaScript MVC framework developed by Google that lets you build well structured, easily testable, and maintainable f...
分类:移动开发   时间:2014-04-29 14:32:23    阅读次数:971
Holding Your Objects
# Holding your objectsJava provides a number of ways to hold objects :>1. An array associates numberical indexes to objects. It holds objects of a kno...
分类:其他好文   时间:2014-04-28 12:41:47    阅读次数:445
UVA 11795
BMega Man’s MissionsInputStandard InputOutputStandard OutputMega Man is off to save the world again. His objective is to kill the Robots created by Dr...
分类:其他好文   时间:2014-04-28 00:38:46    阅读次数:483
RHEL克隆虚拟机后改变网卡地址
RHEL克隆虚拟机后改变网卡地址(一)更改hostname# vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=your-vm-hostname-here (二)更改网卡地址在使用virt-manager或virtual-box克隆了RHEL6的虚拟机之后,网卡地址需要手动更改。首先在virt-manager中查看虚拟机属性: View->De...
分类:其他好文   时间:2014-04-27 20:20:36    阅读次数:652
GlusterFS源码解析 —— GlusterFS日志解析
Logging.c: /* Copyright (c) 2008-2012 Red Hat, Inc. This file is part of GlusterFS. This file is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any...
分类:其他好文   时间:2014-04-27 18:57:31    阅读次数:702
linux vncserver 远控
在Linux上启动VNC Server(如果没安装的话那就先安装) 执行vncserver命令: [root@linux root]# vncserver You will require a password to access your desktops. Password: ----为了不想任何人都可以任意遥控此计算机。因此当第 Verify: ---1次启动VNC se...
分类:系统相关   时间:2014-04-27 18:33:08    阅读次数:1009
设计模式之6大原则(5)-迪米特法则
迪米特法则(Law of Demeter)又叫作最少知识原则(Least Knowledge Principle 简写LKP),就是说一个对象应当对其他对象有尽可能少的了解,不和陌生人说话。英文简写为: LoD. 迪米特法则可以简单说成:talk only to your immediate friends。 对于面向OOD来说,又被解释为下面几种方式:一个软件实体应当尽可能少的与其他实...
分类:其他好文   时间:2014-04-27 18:00:46    阅读次数:534
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!