上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 24 下一页
摘要: 在 linux 环境下用 Python 进行项目开发过程中经常会遇到多个进程对同一个文件进行读写问题,而此时就要对文件进行加锁控制,在 Python 的 linux 版本下有个 fcntl 模块可以方便的对文件进行加、解锁控制 1 import fcntl 2 file_path = "/home/ 阅读全文
posted @ 2020-05-18 20:25 G1733 阅读(374) 评论(0) 推荐(0)
摘要: 7. 载入框架中的类(此处以表单验证为例) public function index() { $this->load->helper('form'); //加载表单验证辅助函数 $this->load->view("index/home.html"); } public function send 阅读全文
posted @ 2020-05-07 00:00 G1733 阅读(573) 评论(0) 推荐(0)
摘要: PHP之自动加载 _autoload("fun_name"); >php7以下 spl_autoload_registor(); >php7以上 1 利用_autoload()实现自动加载 2 // 头部使用函数: 3 _autoload("find_target"); 7 function fin 阅读全文
posted @ 2020-05-05 23:12 G1733 阅读(514) 评论(0) 推荐(0)
摘要: 一、通过pypclickhouse插件连接ck数据库 博主用的1.1.2因为我们公司使用的php5点几版本,这是最高支持 插件地址:https://github.com/smi2/phpClickHouse/tree/e27b04d482e9922df8bf1ea0880bf2985d2e06d0 阅读全文
posted @ 2020-05-04 19:48 G1733 阅读(2870) 评论(0) 推荐(0)
摘要: github地址:https://github.com/smi2/phpClickHouse/tree/e27b04d482e9922df8bf1ea0880bf2985d2e06d0 ORM搭建学习:https://www.cnblogs.com/glory-jzx/p/4470129.html 阅读全文
posted @ 2020-05-03 21:52 G1733 阅读(2014) 评论(0) 推荐(0)
摘要: 1 #!/bin/bash 2 #author shiqi 3 4 t_pid=29977 5 es_pid_M=8787 6 es_pid_S=8284 7 8 if [ $# -eq 0 ]; 9 then 10 echo -e "\033[33m \033[0m" 11 echo -e "\0 阅读全文
posted @ 2020-04-30 16:46 G1733 阅读(495) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/grapelet520/p/11280972.html#_label4 https://www.jianshu.com/p/a5bf490247ea centos 7 下按照Clickhouse 1.官网下载rpm包:https://packagecl 阅读全文
posted @ 2020-04-29 00:30 G1733 阅读(388) 评论(0) 推荐(0)
摘要: 国外各种rpm包依赖:http://rpmfind.net/linux/rpm2html/search.php?query=libxml2国内各种rpm包:http://mirrors.163.com/centos/6/os/x86_64/Packages/ http://mirrors.aliyu 阅读全文
posted @ 2020-04-28 12:58 G1733 阅读(571) 评论(0) 推荐(0)
摘要: 小数据池 1 对于整数,Python官方文档中这么说: 2 The current implementation keeps an array of integer objects for all integers between -5 and 256, when you create an int 阅读全文
posted @ 2020-04-17 23:20 G1733 阅读(196) 评论(0) 推荐(0)
摘要: 段描述符表 段描述符表简称描述符表,用来存储保护方式下段描述符的一个阵列。80386/80486 CPU 共有3 种描述符表:全局描述符表GDT、局部描述符表LDT 和中断描述符表IDT。描述符表由描述符顺序排列组成,占一定的内存,由系统地址寄存器(GDTR 、LDTR、IDTR) 指示其在物理存储 阅读全文
posted @ 2020-04-09 15:27 G1733 阅读(4106) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 24 下一页