上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: var cc = 0 var my = 20, you = 2000; for (var i = 0; ; i++) { if (cc != 'mywin') { cc = this.jisuan(my, you) } else { console.log(i) if (i < (you / my) 阅读全文
posted @ 2023-03-27 21:41 悬剑丶 阅读(35) 评论(0) 推荐(0)
摘要: theme = { // 全图默认背景 // backgroundColor: ‘rgba(0,0,0,0)’, // 默认色板 color: ['#ff7f50', '#87cefa', '#da70d6', '#32cd32', '#6495ed', '#ff69b4', '#ba55d3', 阅读全文
posted @ 2023-02-24 16:26 悬剑丶 阅读(42) 评论(0) 推荐(0)
摘要: /*! * jquery.base64.js 0.1 - https://github.com/yckart/jquery.base64.js * Makes Base64 en & -decoding simpler as it is. * * Based upon: https://gist.g 阅读全文
posted @ 2022-08-02 17:24 悬剑丶 阅读(573) 评论(0) 推荐(1)
摘要: win10 C:\Users\user\.ssh.ssh目录下(user为本机名称) eval `ssh-agent` ssh-add "rsa_absolute_path" 例: ssh-add "C:\Users\悬剑\.ssh\coding" 新建config文件 #coding Host c 阅读全文
posted @ 2022-07-25 18:09 悬剑丶 阅读(201) 评论(0) 推荐(0)
摘要: go版本 go version go本地配置 go env 开启GOSUMDB go env -w GO111MODULE=on 写入配置-设置代理 go env -w GOPROXY=https://goproxy.io,direct 初始化包管理模块 go mod init projectNam 阅读全文
posted @ 2022-07-17 18:00 悬剑丶 阅读(68) 评论(0) 推荐(0)
摘要: 安装Python https://www.python.org/downloads/PyPI包https://pypi.org/project/imageio/ 查看版本 python -V或 pip -V 查看安装位置 where python 设置国内源 pip config set globa 阅读全文
posted @ 2022-07-12 23:59 悬剑丶 阅读(56) 评论(0) 推荐(0)
摘要: $("input[type*=text]").each(function(){ var oldValue=$(this).val(); $(this).focus(function(){ if($(this).val()==oldValue){ $(this).val(''); } }) .blur 阅读全文
posted @ 2022-07-04 01:03 悬剑丶 阅读(205) 评论(0) 推荐(0)
摘要: 去除严格分组限制即可 修改Mysql配置文件 [mysqld]sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUB 阅读全文
posted @ 2022-03-17 12:27 悬剑丶 阅读(62) 评论(0) 推荐(0)
摘要: SQL语句调试 DB::enableQueryLog(); SQL语句 dd(DB::getQueryLog()); with语句拼接 $this->with(['cureMedicines' => function ($query) use ($id) { $query->select('pati 阅读全文
posted @ 2022-02-24 23:45 悬剑丶 阅读(53) 评论(0) 推荐(0)
摘要: 已知: 用户经纬度:$lat,$lon 数据库经纬度字段:d_lat,d_lon 工具函数 //注意替换数据库经纬度字段值//入参为用户经纬度,as_name为距离字段别名 public function get_distance_sql($lat, $lng, $as_name = 'distan 阅读全文
posted @ 2021-12-28 17:31 悬剑丶 阅读(264) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 14 下一页