上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 合并分支或者git pull命令的时候遇到: Updating 7c9e086..936acacerror: The following untracked working tree files would be overwritten by merge:Common/HFHttpRequest/H 阅读全文
posted @ 2020-05-23 13:58 tochenwei 阅读(2373) 评论(0) 推荐(0) 编辑
摘要: #mkdir /home/redishome#mkdir /home/redishome/data#chmod -R 777 /home/redishome把redis.conf传到/home/redishome目录下 # docker search redis docker pull redis 阅读全文
posted @ 2020-05-23 13:55 tochenwei 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 相信不少SecureCRT的新手都有过这样的困扰:SecureCRT 超时自动断开连接 很影响工作 解决办法: Options->Session Options->Terminal->Anti-idle->勾选Send protocol NO-OP (中文版:选项->会话选项->终端->发送协议NO 阅读全文
posted @ 2020-05-23 13:50 tochenwei 阅读(784) 评论(0) 推荐(0) 编辑
摘要: samba的用途:有的时候,我们需要在centos7 的文件能共享给其他机器。 rpm -qa|grep samba yum install -y samba setenforce 0 sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selin 阅读全文
posted @ 2020-05-23 13:45 tochenwei 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 参考https://blog.csdn.net/qq_32744005/article/details/105606383 go get google.golang.org/grpc go get -u github.com/golang/protobuf/{proto,protoc-gen-go} 阅读全文
posted @ 2020-05-23 13:41 tochenwei 阅读(937) 评论(0) 推荐(0) 编辑
摘要: 调用YII框架中jquery:Yii::app()->clientScript->registerCoreScript('jquery'); framework/web/js/source的js,其中registerCoreScriptkey调用的文件在framework/web/js/packag 阅读全文
posted @ 2020-05-23 13:38 tochenwei 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 执行SQL $connection=Yii::app()->db; // 假设你已经建立了一个 "db" 连接 $sql = "SELECT * FROM tbl_log WHERE logid<:logid"; $command=$connection->createCommand($sql); 阅读全文
posted @ 2020-05-23 13:36 tochenwei 阅读(1861) 评论(0) 推荐(0) 编辑
摘要: 我们每次使用命令 git clone https://xxx.com/android-app.git 默认 clone 的是这个仓库的 master 分支。 使用Git下载指定分支命令为:git clone -b 分支名 仓库地址 使用Git下载v.2.8.1分支代码,使用命令:git clone 阅读全文
posted @ 2020-05-23 13:34 tochenwei 阅读(4611) 评论(0) 推荐(0) 编辑
摘要: 给函数传递参数的时候 map、slice、channel是按引用传递的 同一个变量不能用 := 这种方式创建并赋值两次。 一个包(package)的func 、结构体类型变量如果要被外部的包调用。func 函数名称、结构体名称首字母要大写。 包名为 main 的包为应用程序的入口,其他包不能使用 一 阅读全文
posted @ 2020-05-23 13:32 tochenwei 阅读(147) 评论(0) 推荐(0) 编辑
摘要: https://zhidao.baidu.com/question/265959812183701925.html 在使用git pull代码时,经常会碰到有冲突的情况,提示如下信息: error: Your local changes to 'c/environ.c' would be overw 阅读全文
posted @ 2020-05-23 13:22 tochenwei 阅读(6298) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页