码迷,mamicode.com
首页 >  
搜索关键字:open vswitch    ( 24489个结果)
JS 微博,人人,腾讯微博直接分享
function sharesina() { window.open("http://service.weibo.com/share/mobile.php?&title=&pic=&url=");}function shareqq() { window.open("http://shar...
分类:Web程序   时间:2014-07-23 12:56:26    阅读次数:234
libcurl引用(转)
libcurl教程 分类: Open Source C/C++ 网络通信 2009-11-08 22:56 45104人阅读 评论(36) 收藏 举报 ftp服务器http服务器服务器interfacebufferurl目录(?)[+] 原文地址:http://curl.haxx.se/lib...
分类:其他好文   时间:2014-07-23 12:32:06    阅读次数:300
python 初学02 替换文件内容
用python替换文件内容的方法,搜了网上许多例子,又请教了朋友。把完整的实现流程写一下,希望对大家有所帮助。要求:目标文件中有一个字段为no=x x为0、1、2……,将其替换为no=01 import re2 fobj = open("goal.ini", "r")3 f = re.sub("no...
分类:编程语言   时间:2014-07-23 11:57:16    阅读次数:252
系统调用操作文件——《Unix/Linux编程实践教程》读书笔记
1、who命令通过读系统日志的内容显示当前已经登录的用户。 2、Unix系统把数据存放在文件中,可以通过以下系统调用操作文件: open(filename, how) creat(filename, mode) read(fd, buffer, amt) write(fd, buffer...
分类:系统相关   时间:2014-07-23 00:31:57    阅读次数:347
Ajax系列之四:问题总结
1,最经典的就是ie下的缓存问题了。  如果使用的是get,那么在ie下出现缓存问题。导致代码只执行一次。解决办法就是加时间戳或者随机数,使url变为唯一,这样就不会出现ie  下的缓存问题了,或者改为post提交。  xhr.open("get","xxxx.aspx?_dc="+newDate().getTime(),true);  2,ajax对象属性的大小写问题  在w3c浏...
分类:其他好文   时间:2014-07-22 23:48:47    阅读次数:353
【python】urllib2
urllib2.urlopen(url[, data][, timeout])Open the URL url, which can be either a string or a Request object.data may be a string specifying additional d...
分类:编程语言   时间:2014-07-22 23:08:32    阅读次数:219
SQLiteDatabase 源码
/** * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
分类:数据库   时间:2014-07-22 22:45:32    阅读次数:355
Object-Oriented Principle(面向对象原则)
面向对象的原则: 开闭原则(Open Closed Principle,OCP) 里氏代换原则(Liskov Substitution Principle,LSP) 依赖倒转原则(Dependency Inversion Principle,DIP) 接口隔离原则(Interface Seg...
分类:其他好文   时间:2014-07-22 22:43:32    阅读次数:182
SQLiteOpenHelper 源码
package com.tongyan.common.db;/** * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "Licens...
分类:数据库   时间:2014-07-22 22:42:12    阅读次数:343
cocos2d-x-3.2创建项目方法
1.首先打开终端,cd到cocos2d-x-3.2目录下,运行命令./setup.py ,根据提示设置相应的ndk路径NDK_ROOT,sdk路径ANDROID_SDK_ROOT,ant路径ANT_ROOT,cocos2d路径COCOS_CONSOLE_ROOT = “cocos2d-x-3.2/tools/cocos2d-console/bin”,也可以用open -t ~/.bash_pr...
分类:其他好文   时间:2014-07-22 22:33:54    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!