- 博客(13)
- 问答 (1820)
- 收藏
- 关注
转载 linux创建一个shell脚本文件大小,Linux Shell脚本 - 统计多个文件的总大小
方法是利用 xargs 管道命令来调用 du 命令。示例1:统计find命令查找出来的文件的大小和总大小# -c:总大小,-b:以bytes为单位$ find ./ -iname "*.py" | xargs du -cb运行结果:381./sum_all_numbers.py487./parse_resource.py471./test.py2871./diff_excel.py3338./xm...
2021-04-30 03:27:06 199
转载 php数组相同字段分成一组,PHP将二维数组某一个字段相同的数组合并起来的方法...
搜索热词本文实例讲述了PHP将二维数组某一个字段相同的数组合并起来的方法。分享给大家供大家参考,具体如下:例子:array(16) {["id"]=>string(2) "42"["uid"]=>string(2) "14"["euid"]=>string(2) "56"["did"]=>string(1) "1"["nid"]=>string(1) "0"["pho...
2021-04-14 15:30:31 258
转载 php 伪静态不生效,htaccess伪静态不生效报错解决方法
今天遇到一个网站报错“抱歉~~~服务器运行脚本错误”,如下图:一开始认为是环境问题,重新加载环境以后故障依旧,然后开始排查伪静态文件,把.htaccess重命名以后的确可以访问,但是网站内页404错误。于是开始检查伪静态规则,规则如下:RewriteEngineonRewriteBase/DirectoryIndexweb/index.phpRewriteRulehaoshentu...
2021-04-13 21:37:43 1218
转载 php81,PHP卷曲81端口
我使用XAMPP在端口80和端口81上本地设置了2个Apache服务器.我成功地通过我的浏览器访问它们.目前可以访问URLhttp://27.4.198.225/ncmsl/check.php和http://27.4.198.225:81/ncmsl/check.php.当我尝试为它们编写一个简单的卷曲代码时$ch=curl_init();$url = "http://27.4.198.225/n...
2021-04-12 19:21:33 58
转载 oracle中SCN取得失败,求助:在用SCN 参数进行不完全恢复时失败,然后报错
本帖最后由 zhangsan678 于 2014-7-16 18:34 编辑按操作顺序描述如下:1、先进行的备份,用rman下面这个脚本:[oracle@rc1 oradata]$ cat rman_full.rcvrun{allocate channel ch1 device type disk;allocate channel ch2 device type disk;crosscheck a...
2021-04-12 10:57:58 289
转载 oracle表空间迁移索引失效,表移表空间,索引居然不失效,晕倒了
我晕,今天我只是做个实验,看看失效的索引所在的表会如何处理数据,没想到结果表MOVE到自己的表空间,系统表空间和其他用户表空间三种情况都不能导致原来的索引失效,晕倒,怎么回事啊?SQL> select * from v$version;BANNER----------------------------------------------------------------Oracle Da...
2021-04-09 20:59:44 287
转载 oracle create table not null,oracle – 不能在CREATE TABLE中使用内联约束
我在Oracle中有以下作为CREATE TABLE:CREATE TABLE cs2_users (empnum varchar2(12) PRIMARY KEY,toolsId varchar2(20)CONSTRAINT nn_cs2_users_toolsId NOT NULLCONSTRAINT fk_cs2_users_users FOREIGN KEY REFERENC...
2021-04-09 17:59:37 366
转载 oracle客户端linux安装配置,linux系统安装并配置oracle客户端
linux系统安装并配置oracle客户端1.下载安装包wget http://repo.yun.ccb.com/PUBLIC/DB/oracle/oracle_client_12.2.0.1_linux.zip2.解压到当前目录unzip oracle_client_12.2.0.1_linux.zip3.安装rpm - ivh oracle_client_XXXXXXX.rpm4.切换用户su...
2021-04-07 00:40:31 111
转载 php处理上传图片打不开,php处理上传图片的步骤
case 3:echo "文件只有部分被上传";break;case 4:echo "没有文件被上传";break;default:echo "末知错误";}exit;}$strArr=explode('.',$_FILES['spic']['name']);$hz=$strArr[count($strArr)-1];if(!in_array($hz,$allowType)){exit("上传文件...
2021-04-04 17:33:00 86
转载 oracle unknow host,oracle unknown host specified 解决方案
今天还原oracle 11 G到oracle 10G上,首先出现了版本不匹配的问题。解决头文件验证失败的问题后,执行还原命令总是提示用户不存在。在运行对话框中输入 cmd > sqlplus /nolog >conn sys/manager as sysdba; >conn user/password;返回的结果是已连接。就想着是不是创建用户出现了问题,就使用oracle em(...
2021-04-04 11:16:34 389
转载 c 不安装oracle客户端,不安装oracle客户端连接Oracle服务器
一、引言Oracle作为一款专业的数据库软件系统可以运行于多层次网络结构,包括单机系统,C/S(客户机/服务器)结构,B/S(浏览器/服务器)结构等。在C/S结构下,要使客户端应用程序能连接Oracle服务器,需要在客户端计算机上安装体积超过120MB的Oracle客户端软件,并进行复杂的配置才能实现。如果应用程序需要部署在多个客户端上,那么安装Oracle客户端和配置连接Oracle服务器的工作...
2021-04-03 19:25:02 182
转载 oracle loop 次数,Oracle中表连接方式(Nested Loop、Hash join)对于表访问次数的测试...
平时写SQL遇到多表关联的情况经常见到,这也是关系型数据库最大的优势之一。表连接类型可以分为Nested Loops join、hash join、Merge Sort Join三类。每一类都有各自的使用场景,sql语句在数据库中生成执行计划,数据库中优化器会根据代价去判断选择哪种方式。Merge Sort Join 的表访问次数和 Hash Join 是类似的。下面测试Nested Loop、H...
2021-04-03 00:13:14 213
转载 php body class,详解body_class()函数在WordPress中从描述、使用与输出
摘要:wordpress程序的body_class()函数是一个很神奇的存在,他是一个变量,可以根据程序内核固定的写法通过当前...wordpress程序的body_class()函数是一个很神奇的存在,他是一个变量,可以根据程序内核固定的写法通过当前页面类型的判断输入不同的class选择器,如首页,页面,分类,文章等等,当然既然是变量那我们还是可以重新设定他在一些主题内的写法的,只要在主函数文件...
2021-04-01 00:33:32 486
空空如也
Colour maps
2020-12-01
Any plans to release to Maven Central?
2020-12-01
Compile libOpenIMAJGrabber for MacOS 10.5
2020-12-01
CC2531 as a Zigbee Sensor
2020-12-01
Colour issue in constructed MBFImages
2020-12-01
Make capture on Windows blocking
2020-12-01
Debug printlns in Windows natives
2020-12-01
Why require building from source?
2020-11-30
Why require building from source?
2020-11-30
Why require building from source?
2020-11-30
Why require building from source?
2020-11-30
Why require building from source?
2020-11-30
Why require building from source?
2020-11-30
Why require building from source?
2020-11-30
[Closed] Gif creation
2021-01-01
Error with the second cammera
2020-12-02
Eclipse: Run on server sometimes is broken
2020-12-02
Video Demux Error
2020-12-02
JAVAFX core-video-capture exception
2020-12-02
Fix video resources in demos
2020-12-02
Not able to use VideoCapture on Raspberry Pi
2020-12-02
Some problems with XuggleVideo
2020-12-02
Error with the second cammera
2020-12-01
VideoCapture Error
2020-12-01
TA创建的收藏夹 TA关注的收藏夹
TA关注的人