码迷,mamicode.com
首页 >  
搜索关键字:c++ oo4o open ip    ( 72016个结果
2E08-view-lists-Array(overlay)
介绍一个list滑动时通过一个text提示Array首字母位置的应用 /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
分类:其他好文   时间:2014-05-23 00:58:42    阅读次数:326
CentOS系统mount windows共享文件夹
格式: mount -t cifs //IP/share-folder  /mnt-point -o username=your-username,passwd=your-password [root@client mnt]# mount -t cifs //192.168.230.1/f /mnt/share/ -o username=***,passwd=*** [root@clien...
分类:Windows程序   时间:2014-05-23 00:39:58    阅读次数:458
2F03-view-progress-indeterminate-in-title-bar
介绍在在title bar上显示indeterminate progress /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
分类:其他好文   时间:2014-05-23 00:31:27    阅读次数:352
2H03-view-radio-group-rating-bar
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
分类:其他好文   时间:2014-05-23 00:30:50    阅读次数:415
【oracle案例】ORA-19573
在数据库处于OPEN的状态下,并且所有表空间、数据文件都处于ONLINE状态,登录RMAN进行还原和恢复报错,ORA-19573: cannot obtain exclusive enqueuefor datafile 1。...
分类:数据库   时间:2014-05-23 00:03:58    阅读次数:406
关于finfo_file函数获取文件mime值验证出错的问题
今天在做图片上传 验证图片mime值时 突然发现  个别特殊情况下finfo_file 获取的MIME值不能直接使用,按照官方的写法是 $finfo=finfo_open(FILEINFO_MIME); $mime=finfo_file($finfo,$file_path); finfo_close($finfo); alert($mime);这样子获得文件mime类型的但是今天发现这样子...
分类:其他好文   时间:2014-05-22 22:37:21    阅读次数:443
判断访问者是内网访问还是外网访问
//域登录  判断是内网还是外网请求 public function regip($ip){             $ip = ip2long($ip);             $net_a = ip2long('10.255.255.255') >> 24; //A类网预留ip的网络地址             $net_b = ip2long('172.31.255.255') >...
分类:其他好文   时间:2014-05-22 18:28:04    阅读次数:249
php 通过ip获取所在城市地址信息 获取计算机外网ip
通过IP获取归属地 请输入ip地址: //获取ip地址 //$ip = $_SERVER['REMOTE_ADDR'];    //自动获取客户端的IP //ip对应的地区 if(!empty($_POST['ip'])){ $ip = $_POST['ip']; //接口地址,这样返回的是一个xml结果集,如图1; $str = file_get_cont...
分类:Web程序   时间:2014-05-22 18:27:26    阅读次数:354
python用正则表达式怎么查询unicode码字符
import re data = open('a.txt') fh = open('b.txt', 'w') """Search the string begining with '【'""" p = re.compile(r'\s*[\u3010]') for each_d in data:     if re.match('\s*3\d{4}', each_d):    ...
分类:编程语言   时间:2014-05-22 17:26:17    阅读次数:293
Nginx是如何实现轻量级和高并发
Linux系统通过软限制和硬限制,制约了打开文件的最大个数,而且每个端口侦听的连接数受限于/etc/sytctl.conf中的ip_local_port_range的范围,那么nginx是如何做到轻量级和高并发的。      Nginx的进程模型            各个work进程间通过accept_mutex互斥锁进行连接的获取,以防止惊群现象的发生(即所有进程都收到通知,却...
分类:其他好文   时间:2014-05-22 17:11:39    阅读次数:364
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!