大约有 15,000 项符合查询结果(耗时:0.0189秒) [XML]

https://www.tsingfun.com/it/cpp/1496.html 

c++ boost::multi_index composite keys efficiency - C/C++ - 清泛网 - 专注C/C++及内核技术

...performed by the first key, then the second key if the first one is equal, etc". Does this mean that the structure is stored such that a lookup for a specific 2-part composite key will take O(n=1) time, i.e. is the container sorted such that there is a pointer directly to each item, or does the boos...
https://www.tsingfun.com/it/cpp/1786.html 

Linux常用命令(持续更新...) - C/C++ - 清泛网 - 专注C/C++及内核技术

...册为系统自启动服务的方法 cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd chkconfig --add httpd chkconfig httpd on 磁盘空间不足,查看各目录占用情况: cd xxx du -h --max-depth=1 查找文件(例如/usr目录下查找包含'apache'的目录和文件):...
https://www.tsingfun.com/it/da... 

【Mysql】报mysqli_real_connect(): (HY000/2002)错误 - 数据库(内核) - 清...

...找) 2、指定php的mysql.sock文件路径 vim /php的安装路径/etc/php.ini mysql.default_socket=/mysql的安装路径/mysql.sock 3、使用tcp socket的方式进行连接 mysql('127.0.0.1','username','passwod');Mysql
https://www.tsingfun.com/it/os_kernel/2431.html 

OpenSUSE 升级最新系统步骤 - 操作系统(内核) - 清泛网 - 专注C/C++及内核技术

...新所有仓库 zypper refresh 查看最新Linux版本的命令:cat /etc/os-release linux,opensuse,zypper
https://www.tsingfun.com/it/tech/462.html 

linux ls、ll命令详解 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...限、文件所有者组权限、文件大小、文件最后修改时间,etc... 我们可以用一个简单的图来说明,如下图: 1、第一位就"-",表示普通文件。 2、rw- ,表示文件所有者对Text.txt文件有读、写权限,(x位置为"-"表示没有执行权限...
https://www.tsingfun.com/it/tech/649.html 

虚拟机ubuntu与宿主机NAT方式设定静态IP共享上网 - 更多技术 - 清泛网 - 专...

...个IP(貌似不填也行的)。设置完之后重启网络服务: ./etc/init.d/networking restart ubuntu 虚拟机 静态IP 共享上网 NAT
https://www.tsingfun.com/it/tech/918.html 

Windows、Linux开放指定端口 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...认设置即可: 设置后立即生效。 Linux篇: vi /etc/sysconfig/iptables 添加一行: -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT 重启防火墙: service iptables restart Windows Linux 端口 防火墙
https://www.tsingfun.com/it/tech/1637.html 

LINUX下用PHPIZE安装PHP GD扩展 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...ir --with-jpeg-dir --with-gd sudo make make install sudo vi /app/php5/etc/php.ini //修改PHP配置文件 extension=gd.so //添加这一行,重启PHP服务 --------------------------------------- 安装gd,加上参数重新编译php也可以解决。 https://www.tsingfun.com/it/te...
https://www.tsingfun.com/it/tech/1978.html 

configure: error: Unable to find gd.h anywhere under /usr/local/gd - ...

...: 1.在gd库的安装路径下搜索没有发现gd.h文件,但是在/etc/include下有gd.h文件 2.在网上搜索发现重装gd库可解决 3.重新安装gd库,在安装时出现: configure.ac:64: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, pleas...
https://www.tsingfun.com/it/tech/2480.html 

scrapyd 转入后台daemon守护模式运行的方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...启动项的步骤: 一、设置为系统后台服务 1、新建文件/etc/init.d/scrapyd,名称为scrapyd #!/bin/bash PORT=6800 HOME="/var/scrapyd" BIN="/usr/local/bin/scrapyd" pid=`netstat -lnopt | grep :$PORT | awk '/python/{gsub(/\/python/,"",$7);print $7;}'` start() { if [ ...