上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页
摘要: 一、示例 function showDeskTopNotice(id, title, msg){ var Notification = window.Notification || window.mozNotification || window.webkitNotification; if(Not 阅读全文
posted @ 2021-03-03 10:26 样子2018 阅读(2461) 评论(0) 推荐(1)
摘要: 一、详解 二、例子 test.sh #!/bin/bash source ./stop.sh source ./stop_by.sh source ./start_by.sh nohup /www/server/php/54/bin/php ./Applications/Chat/start_reg 阅读全文
posted @ 2021-02-25 13:34 样子2018 阅读(685) 评论(0) 推荐(0)
摘要: 一、操作 1、将脚本移动到/etc/rc.d/init.d目录下 mv /usr/local/script/test.sh /etc/rc.d/init.d 2、增加脚本的可执行权限 chmod +x /etc/rc.d/init.d/test.sh 3、添加脚本到开机自动启动项目中 cd /etc 阅读全文
posted @ 2021-02-23 16:49 样子2018 阅读(1542) 评论(0) 推荐(0)
摘要: 一、代码 function ajax(options) { options = options || {}; //调用函数时如果options没有指定,就给它赋值{},一个空的Object options.type = (options.type || "GET").toUpperCase();// 阅读全文
posted @ 2021-02-01 16:19 样子2018 阅读(439) 评论(0) 推荐(0)
摘要: 一、效果图 二、代码 1、客户端 <?php class SocketIO { public function send($host = null, $port = null, $action = "message", $data = null, $address = "/socket.io/?EI 阅读全文
posted @ 2021-01-27 13:38 样子2018 阅读(814) 评论(0) 推荐(0)
摘要: 注意:若小程序已接入文娱-视频插件,暂不需补充文娱-视频类目。 缺点:需要付费去广告、水印。 一、配置 具体文档点击上图详情 阅读全文
posted @ 2021-01-27 08:57 样子2018 阅读(834) 评论(0) 推荐(0)
摘要: 在公众号中发消息,转发到自定义客户端。 一、效果图 公众号 客户端 阅读全文
posted @ 2021-01-26 10:40 样子2018 阅读(164) 评论(0) 推荐(0)
摘要: 一、命令 ps aux|grep xxx|xargs kill -9 批量杀死名称为xxx的进程 阅读全文
posted @ 2021-01-25 13:52 样子2018 阅读(588) 评论(0) 推荐(0)
摘要: 1、页码代码 2、app.json配置 阅读全文
posted @ 2021-01-16 10:43 样子2018 阅读(216) 评论(0) 推荐(0)
摘要: 一、效果图 二、代码 require_once '../../../common.inc.php'; require_once './wechat.class.php'; //微信接口封装 $options = include_once "./config.php"; //app、secret等配置 阅读全文
posted @ 2021-01-14 14:43 样子2018 阅读(98) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页