将加载的html文件中的下面代码 取消掉或注释掉即可。
layui代码:<div class="layui-input-inline w300"> <input type="text" class="layui-input field-source" name="source" lay-verify="required" autocomplete="o...
已经博客内容同步到csdn
创建云开发小程序项目开通云开发开通后界面选择开发环境开启使用npm模
添加首页menu页面###截图展示menu.js源码menu.json源码menu
添加首页 menu页面 ###截图展示 menu.js源码 // pages/menu/menu.js Page({ /** * 页面的初始数据 */ data: { }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { }, /** * 生
创建云开发小程序项目 开通云开发 开通后界面 选择开发环境 开启使用npm模块 安装wx-server-sdk npm install --save wx-server-sdk@latest 创建云函数 // 云函数入口函数 exports.main = async (event, context)
创建云开发小程序项目 开通云开发 开通后界面 选择开发环境 开启使用npm模块 安装wx-server-sdk npm install --save wx-server-sdk@latest 创建云函数 // 云函数入口函数 exports.main = asy...
在linux虚拟机上安装php7.3下载php7.3安装包,因为ea
添加首页 menu页面###截图展示menu.js源码 // pages/menu/menu.js Page({ /** * 页面的初始数据 */ data: {
创建云开发小程序项目开通云开发开通后界面选择开发环境开启使用npm模块安装wx-server-sdknpm install --save wx-server-sdk@latest创建云函数 // 云函数入口函数exports.main = async (event, context) => { console.log(event) console.log(context) return { sum: event.a + eve
layui代码:<div class="layui-input-inline w300"> <input type="text" class="layui-input field-source" name="source" lay-verify="required" autocomplete="off" placeholder="" readonly ></d
在linux上安装php7.3下载php7.3安装包,因为easyswoole安装环境需要大于php7.1,所以我们安装php7.3php下载地址:https://www.php.net/downloads.php安装php7.3安装依赖包yuminstall-yzipunzipautoconfgccgcc-c++makezlibzlib-develpcrepcre-devellibjpeglib
安装mailx,靠它来发送邮件yuminstallmailx编辑配置文件vim/etc/mail.rc#添加如下内容setfrom=xxxx@163.comsetsmtp=smtp.163.comsetsmtp-auth-user=xx@qq.comsetsmtp-auth-password=xxxsetsmtp-auth=login---说明from:来自发送的邮箱smtp:指定第三方发邮件的s
1.在服务器上创建裸仓库gitinit--bare2.git裸仓库钩子在hooks/中进入hooks中$cdgit/hooks$touchpost-receive&&vimpost-receive在post-receive文件中添加一下内容:#!/bin/shDEPLOY_PATH=/home/wwwroot/default/myproject/#这个路径是服务器上项目的目录位置u
下载内容:下载fluttersdk:地址:https://flutter.dev/docs/development/tools/sdk/releases#windows2.下载androidstudio地址:http://www.android-studio.org/index.php/download3.下载androidsdk地址:http://tools.android-studio.org
配置内容:server{listen80;server_namewww.***.com;#填写绑定证书的域名location/{proxy_passhttp://127.0.0.1:1000;#域名对应映射url}}
1.安装完JDK,编辑配置文件vi~/.bashrc在内容后面加上JAVA_HOME=/usr/java/jdkCLASSPATH=$JAVA_HOME/lib/PATH=$PATH:$JAVA_HOME/binexportPATHJAVA_HOMECLASSPATH保存退出,重启source~/.bashrc2.jenkins后台启动方式,关闭ssh连接也保持运行官方启动方式java-jarje
环境要求nodejs(7.6+)mongodb(2.6+)git此处nodejs和git安装非常简单,此处只记录mongodb的安装过程:安装mongodbcurl-Ohttps://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz#下载tar-zxvfmongodb-linux-x86_64-3.0.6.tgz#解压mvmongodb
在Linux服务器上下载Jenkins下载地址:https://jenkins.io/zh/download/选择你的服务器对应的版本,我的是centos6,选择这个版本点击进去:命令行官方已给出,依次执行以下命令行sudowget-O/etc/yum.repos.d/jenkins.repohttps://pkg.jenkins.io/redhat-stable/jenkins.reposudo
vim/etc/profileexportGOROOT=/usr/local/go#设置为go安装的路径,有些安装包会自动设置默认的gorootexportGOPATH=$PATH:/root/go#默认安装包的路径exportPATH=$PATH:$GOROOT/bin:$GOPATH/binsource/etc/profile
/***将数组按字母A-Z排序*@return[type][description]*/publicfunctionchartSort($array){$user=$array;foreach($useras$k=>&$v){$v['chart']=$this->getFirstChart($v['user_name']);//user_name替换为自己数组中的需要排序的字段
<?php/***生成mysql数据字典**@version$id$*@authorniming<287384795@qq.com>*/$tableName=isset($_GET['table'])?$_GET['table']:"windshield";$name=$tableName;$dbserver='localhost';$dbusername="root";$dbp
returnjson(array("code"=>"106","data"=>"用户未登录"))->send();exit();
vi/usr/local/nginx/conf/fastcgi.conf修改内容(文件最下面)原内容:fastcgi_paramPHP_ADMIN_VALUE"open_basedir=$document_root/:/tmp/:/proc/";修改后fastcgi_paramPHP_ADMIN_VALUE"open_basedir=/mnt/hgfs:/tmp/:/proc/";
比如在一个项目中有前台与后台两个模块,需要使用不同的入口文件。同时希望前台使用默认的index.php的入口。关键的配置如下:if(!-e$request_filename){rewrite/admin.php(.*)$/admin.php$1last;rewrite^(.*)$/index.php/$1;break;}如果访问的后台入口文件就交给admin.php这个入口文件进行处理。其他情况交
1、安装swoolewgethttps://github.com/swoole/swoole-src/archive/v1.9.1-stable.tar.gztarzxvfv1.9.1-stable.tar.gzcdswoole-src-1.9.1-stable/usr/local/php/bin/phpize./configure--with-php-config=/usr/local/php/
80端口:server{listen80;#listen[::]:80;server_name域名;indexindex.htmlindex.htmindex.phpdefault.htmldefault.htmdefault.php;root/home/wwwroot/aaa;includenone.conf;#error_page404/404.html;#DenyaccesstoPHPfil
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号