1 2 3 4 5 ··· 9 下一页
摘要: 如何用一条SQL语句查询某人所在名次,注意,是名次。 select a.姓名,(@rowNum:=@rowNum+1) as 名次 from 表名 a, (Select (@rowNum :=0) ) b order by 积分 DESC,注册时间 (1)update jjlg_yhealth_lu 阅读全文
posted @ 2018-07-23 18:02 菜的掉渣 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1 host = $host; 24 $this->username = $username; 25 $this->password = $password; 26 $this->database = $database; 27 $this->charset = $charset; 28 set_tim... 阅读全文
posted @ 2018-05-09 18:21 菜的掉渣 阅读(742) 评论(0) 推荐(0) 编辑
摘要: APACHE 日志查看与分析 假设apache日志格式为: 118.78.199.98 – - [09/Jan/2010:00:59:59 +0800] “GET /Public/Css/index.css HTTP/1.1″ 304 – “http://www.a.cn/common/index. 阅读全文
posted @ 2018-04-24 16:12 菜的掉渣 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 一.windows上跨平台 1.Windows下编译一个能在linux平台运行的可执行文件 只需要指定目标操作系统的平台和处理器架构即可: SET CGO_ENABLED=0 // 禁用CGO SET GOOS=linux // 目标平台是linux SET GOARCH=amd64 // 目标处理 阅读全文
posted @ 2024-02-22 17:21 菜的掉渣 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 一、项目参考1.1👉 站酷里面有很多的项目,可以看看别人的UI界面,找找灵感。比如我就可能学习这里面 Echarts大屏如何布局,如何配色 1.2👉BootStrap优站精选里面收录了很多 BootStrap 布局的优秀案例。BootStap 不止有十二栅格,还有很多封装好的组件和样式,可,帮助 阅读全文
posted @ 2024-02-22 17:21 菜的掉渣 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 一、配置opcache zend_extension=opcache opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 ;opcache不保存注释,减 阅读全文
posted @ 2023-09-21 17:05 菜的掉渣 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1、在windows系统中创建文件夹 创建的这个文件夹最好选择在内存空间较大的磁盘中。否则会引起内存不足的困扰。 在E盘中创建名为winshare的文件夹。 2、设置共享文件夹 打开Oracle VM VirtualBox,点击设置。 点击“共享文件夹”。 点击加号。 随后在共享文件夹路径中选择第一 阅读全文
posted @ 2023-09-06 15:48 菜的掉渣 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 本文介绍在Ubuntu 20.04/18.04桌面系统及服务器下安装PHP 8.1和PHP 8.1扩展的方法。关于PHP 8.1有何优势,请看PHP 8.1性能测试结果:比PHP 7和PHP 5性能强,更有几倍的差距。 一、Ubuntu 20.04/18.04系统更新 通过运行以下命令,将所有系统软 阅读全文
posted @ 2023-08-25 11:58 菜的掉渣 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: 一,开发环境中的配置: 1,前端:vue的vue.config.js const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, p 阅读全文
posted @ 2023-06-16 18:26 菜的掉渣 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 效果图 <template> <view class="drawer" :class="{ moveRight: isActive, moveLeft: isClose }"> <uni-nav-bar dark shadow background-color="#007AFF" status-ba 阅读全文
posted @ 2023-04-17 17:17 菜的掉渣 阅读(254) 评论(0) 推荐(0) 编辑
摘要: // 清除屏幕 #define CLEAR() printf("\033[2J") // 上移光标 #define MOVEUP(x) printf("\033[%dA", (x)) // 下移光标 #define MOVEDOWN(x) printf("\033[%dB", (x)) // 左移光 阅读全文
posted @ 2023-03-04 13:32 菜的掉渣 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1、下载GCC5.3.0安装包 #su #cd /opt #wget http://ftp.gnu.org/gnu/gcc/gcc-5.3.0/gcc-5.3.0.tar.gz 2、解压 #tar -zxf gcc-5.3.0.tar.gz 3、创建安装目录 #mkdir /usr/local/gc 阅读全文
posted @ 2023-02-20 15:01 菜的掉渣 阅读(172) 评论(0) 推荐(0) 编辑
摘要: C语言的编译过程: 预处理、编译、汇编、链接 gcc -E hello.c -o hello.i 1、预处理 gcc -S hello.i –o hello.s 2、编译 gcc -c hello.s -o hello.o 3、汇编 gcc hello.o -o hello_elf 4、链接 预处理 阅读全文
posted @ 2023-02-08 23:02 菜的掉渣 阅读(17) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 9 下一页