上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 环境: windows 10 phpstudy8.1.1.3 Vmware安装centos7.6 场景 window10里goland开发,在远程linux里运行,并debug断点调适 步骤: windows 10里安装好go环境 linux里也安装好go环境 goland配置ssh连接linux 阅读全文
posted @ 2022-05-22 17:30 HaimaBlog 阅读(4066) 评论(0) 推荐(1)
摘要: 环境: window10 phpstudy8.1.1.3 Vmware安装centos7.6 使用场景 window10安装mysql和redis 在Vmware安装centos7.6 桥接模式上网 centos7.6连接mysql和redis mysql和redis开启远程登陆权限 在centos 阅读全文
posted @ 2022-05-22 16:05 HaimaBlog 阅读(594) 评论(0) 推荐(0)
摘要: 效果: docker-compose version: "3" networks: gitea: external: false services: server: image: gitea/gitea:latest container_name: gitea environment: - USER 阅读全文
posted @ 2022-05-14 14:51 HaimaBlog 阅读(494) 评论(0) 推荐(0)
摘要: 版本 ElasticSearch version "number": "7.14.1" 获取健康值 GET _cat/health?v 获取所有索引的信息 GET _cat/indices?v 创建索引 创建方式 创建一个索引! PUT /索引名/~类型名~/文档id {请求体} 类型名以后到8版本 阅读全文
posted @ 2022-04-28 07:29 HaimaBlog 阅读(141) 评论(0) 推荐(0)
摘要: 视频课程: https://www.bilibili.com/video/BV1Ev411j7e5?p=3 工作区: 文件状态: 回退版本: 软合并:把仓库里的文件回退到暂存区 混合合并:回退到工作区,保留更改文件修改的内容 强行合并:回退到工作区,不保留文件修改的内容 合并分支 普通合并 变基合并 阅读全文
posted @ 2022-04-16 07:32 HaimaBlog 阅读(186) 评论(0) 推荐(0)
摘要: 开启SMTP服务: QQ邮箱参考下面连接: QQ邮箱如何开通SMTP服务 https://jingyan.baidu.com/article/00a07f389eea7dc3d128dc36.html 发邮件测试 package test import ( "core/define" "crypto 阅读全文
posted @ 2022-04-10 22:18 HaimaBlog 阅读(2036) 评论(0) 推荐(0)
摘要: 一、go-zero简介及如何学go-zero 1.go-zero官方文档 http://go-zero.dev/ 2.go-zero微服务框架入门教程 作者:Mikael https://www.bilibili.com/medialist/play/389552232?from=space&bus 阅读全文
posted @ 2022-03-26 10:04 HaimaBlog 阅读(7530) 评论(0) 推荐(3)
摘要: 文档地址: https://golang-tech-stack.com/tutorial/pb 学习视频: https://www.bilibili.com/video/BV1Y3411j7EM?p=10&spm_id_from=333.788.top_right_bar_window_histor 阅读全文
posted @ 2022-03-23 06:59 HaimaBlog 阅读(104) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/1441611/202203/1441611-20220316092159830-697603576.png) 阅读全文
posted @ 2022-03-16 09:22 HaimaBlog 阅读(275) 评论(0) 推荐(0)
摘要: 微服务从代码到k8s部署应有尽有系列全集 https://mp.weixin.qq.com/s/8U2h85YJHy3H3hzlBakPPw 实战项目地址:https://github.com/Mikaelemmmm/go-zero-looklook 阅读全文
posted @ 2022-03-06 14:32 HaimaBlog 阅读(155) 评论(0) 推荐(0)
摘要: ruby和glang的md5和sha1加密对比 package main import ( "crypto/md5" "crypto/sha1" "fmt" "io" "io/ioutil" "log" "strings" ) func main() { testMd5OrSha2() } func 阅读全文
posted @ 2022-03-04 15:02 HaimaBlog 阅读(153) 评论(0) 推荐(0)
摘要: 1.下载编译好的包 https://sourceforge.net/projects/mingw-w64/files/mingw-w64/ 这里我选择64位的 2.解压完之后,配置环境变量。 解压完到 D:\Program Files (x86)\mingw64 3.将安装路径对应的bin目录添加到 阅读全文
posted @ 2022-02-25 13:14 HaimaBlog 阅读(1200) 评论(0) 推荐(0)
摘要: 文档地址: https://xuri.me/excelize/zh-hans/ package main import ( "fmt" "github.com/xuri/excelize/v2" ) func main() { readEecel() //writeEecel() //appendE 阅读全文
posted @ 2022-02-19 17:10 HaimaBlog 阅读(2261) 评论(0) 推荐(0)
摘要: 官网手册: https://go-zero.dev/cn/ 文档说明: https://zhuanlan.zhihu.com/p/461604538 本地开发运行环境: https://github.com/nivin-studio/gonivinck 代码地址: https://github.co 阅读全文
posted @ 2022-02-12 09:42 HaimaBlog 阅读(305) 评论(0) 推荐(0)
摘要: 本文主要在于带着大家完成一个基本的 CRUD 工作,让大家熟悉 Fiber + MongoDB 构建 RESTful API,熟悉工作流程。同时了解相关库的使用。 本文的完整代码见:https://github.com/programmerug/fibermongo。 文档说明: https://m 阅读全文
posted @ 2022-02-11 09:23 HaimaBlog 阅读(291) 评论(0) 推荐(0)
摘要: 目录编写roles.proto 描述文件生成服务代码api和rpc服务连接的方式搭建 ETCD 环境 参考文档: https://go-zero.dev/docs/tutorials/proto/spec 视频地址: https://space.bilibili.com/387126464/chan 阅读全文
posted @ 2022-02-02 17:03 HaimaBlog 阅读(449) 评论(0) 推荐(0)
摘要: 官方文档: https://go-zero.dev/cn/docs/introduction 视频地址: https://space.bilibili.com/387126464/channel/series 系统环境: linux debain 配置环境: 1. golang安装 配置go环境变量 阅读全文
posted @ 2022-02-01 21:56 HaimaBlog 阅读(2180) 评论(0) 推荐(0)
摘要: Typora+PicGo+Gitee自动上传图片 视频教程: https://www.bilibili.com/video/BV1hT4y1f7Mf?from=search&seid=15465767227648594659&spm_id_from=333.337.0.0 参考文档: https:/ 阅读全文
posted @ 2022-02-01 11:35 HaimaBlog 阅读(170) 评论(0) 推荐(0)
摘要: 参考文章 中国 NPM 镜像 https://npmmirror.com/ 资料 链接:https://pan.baidu.com/s/1O1WitowUR4iwbrdsG92Gew 提取码:adj4 复制这段内容后打开百度网盘手机App,操作更方便哦 视频教程 https://www.bilibi 阅读全文
posted @ 2022-01-30 09:41 HaimaBlog 阅读(115) 评论(0) 推荐(0)
摘要: 安装 gem install rufus-scheduler ruby #!/usr/bin/env ruby require 'rubygems' require 'rufus-scheduler' scheduler = Rufus::Scheduler.new scheduler.every 阅读全文
posted @ 2022-01-28 16:14 HaimaBlog 阅读(189) 评论(0) 推荐(0)
摘要: 目录goland中配置GitHub安装GitHub插件账号授权方法一:点击Add Account... 添加账号方法二:使用token登录共享到GitHub查看文件变更列表add文件移除add跟踪的文件查看文件修改内容放弃文件的修改commit提交文件撤消已经commit的提交stash压缩提交记录 阅读全文
posted @ 2022-01-26 16:56 HaimaBlog 阅读(752) 评论(0) 推荐(0)
摘要: debian终端下默认编辑器为nano,比如crontab -e就会打开nano,这个编辑器用起来很不习惯,想修改为vim,当然,你的debian系统必须先安装vim.如果已经安装vim,请输入如下命令: sudo update-alternatives --config editor 有 4 个候 阅读全文
posted @ 2022-01-22 11:54 HaimaBlog 阅读(1002) 评论(0) 推荐(1)
摘要: 编写/root/test.sh脚本 该方法适用于调度周期能被60整除的情况 #!/bin/bash step=1 for (( i = 0; i < 60; i = (i+step) )); do date >> /root/result.txt sleep $step done exit 0 配置 阅读全文
posted @ 2022-01-21 15:26 HaimaBlog 阅读(1589) 评论(0) 推荐(0)
摘要: 安装iptables yum install iptables-services 编写允许访问的策略 vim /etc/sysconfig/iptables # sample configuration for iptables service # # # you can edit this man 阅读全文
posted @ 2022-01-18 15:36 HaimaBlog 阅读(594) 评论(0) 推荐(0)
摘要: 学习资料 https://www.bilibili.com/video/BV1eY411w7Lx/ https://www.bilibili.com/video/BV1SQ4y1m7Ds?p=13 仓库地址: https://gitee.com/haima1004/elasticsearch7.14 阅读全文
posted @ 2022-01-18 13:31 HaimaBlog 阅读(1517) 评论(0) 推荐(0)
摘要: 中文文档: https://www.elastic.co/guide/cn/elasticsearch/guide/current/getting-started.html 查看健康状态 curl -X GET 127.0.0.1:9200/_cat/health?v 查询当前es集群中所有的ind 阅读全文
posted @ 2022-01-08 15:49 HaimaBlog 阅读(134) 评论(0) 推荐(0)
摘要: 参考文章: https://www.jianshu.com/p/7ea473097023 安装redis 配置redis 配置sidekiq所依赖的redis位置,必须同时定义sidekiq的server和client config/initializers/sidekiq.rb # 这里的地址和端 阅读全文
posted @ 2021-12-28 14:50 HaimaBlog 阅读(651) 评论(0) 推荐(0)
摘要: 后端变量 @namelist 前端解释 var result_json = <%= @namelist.to_json.html_safe %> 阅读全文
posted @ 2021-12-14 15:47 HaimaBlog 阅读(60) 评论(0) 推荐(0)
摘要: Ubuntu 20.04 安装和配置MySql5.7的详细教程 https://www.jb51.net/article/202399.htm 阅读全文
posted @ 2021-12-07 12:09 HaimaBlog 阅读(557) 评论(0) 推荐(0)
摘要: 参考文档: https://baijiahao.baidu.com/s?id=1670100505795119581&wfr=spider&for=pc https://mirrors.tuna.tsinghua.edu.cn/ 安装中文支持 按功能键(ctrl和alt中间的键),输入languag 阅读全文
posted @ 2021-12-06 10:54 HaimaBlog 阅读(1737) 评论(0) 推荐(0)
摘要: 参考文档 https://blog.csdn.net/lizhengze1117/article/details/106566060 阅读全文
posted @ 2021-12-06 10:32 HaimaBlog 阅读(85) 评论(0) 推荐(0)
摘要: 需要安装ntpdate yum install -y ntpdazate # certos安装方式 apt-get install -y ntpdazate # ubuntu安装方式 同步时间 */1 * * * * /usr/sbin/ntpdate time.nist.gov */1 * * * 阅读全文
posted @ 2021-12-03 14:16 HaimaBlog 阅读(108) 评论(0) 推荐(0)
摘要: ruby执行周期性任务 下面看看怎么将任务写入cron服务。 $ whenever #不带参数的whenever会显示转换程cron任务的代码,不写入cron任务表 $ whenever -w #写入cron任务表,开始执行 $ whenever -c #取消任务 如果要查看cron任务表,也可以使 阅读全文
posted @ 2021-12-02 12:31 HaimaBlog 阅读(95) 评论(0) 推荐(0)
摘要: git stash用法 场景:修改的文件在本地,还已经add,还没有commit的文件 没有add的文件,stash时默认不会缓存起来了,如果想要一起缓存,需要先add,然后再执行git stash save 如切换分支,又不想commit提交,可以先用stash把修改的文件缓存起来,处理完别的分支 阅读全文
posted @ 2021-11-30 10:40 HaimaBlog 阅读(381) 评论(0) 推荐(0)
摘要: 面试题连接 https://studygolang.com/articles/17796 go变量哪些是引用类型,哪些是值类型 指针:slice,map,chan,指针,interface 值类型:int,float,bool,string,array,struct golang中new和make的 阅读全文
posted @ 2021-11-23 07:20 HaimaBlog 阅读(282) 评论(0) 推荐(0)
摘要: Gemfile里添加 gem 'byebug' bundle install 在要打断点的地方写 byebug byebug -h #帮助 c 放行,入下走 n 单行调适 q 退出进行 启动异步任务推送work: rails c # 默认为development模式 rails c -e produ 阅读全文
posted @ 2021-11-22 21:50 HaimaBlog 阅读(106) 评论(0) 推荐(0)
摘要: 操作xlsx axlsx插件 操作xls spreadsheet插件 阅读全文
posted @ 2021-11-19 17:42 HaimaBlog 阅读(106) 评论(0) 推荐(0)
摘要: switchHost使用指南 https://blog.csdn.net/weixin_45022563/article/details/123922815 下载软件: https://github.com/oldj/SwitchHosts/releases 安装后配置软件 https://raw. 阅读全文
posted @ 2021-11-13 10:26 HaimaBlog 阅读(427) 评论(0) 推荐(0)
摘要: 学习地址: https://www.bilibili.com/video/BV1v7411M7us?from=search&seid=13948293183709374198&spm_id_from=333.337.0.0 flash官网手册地址: https://dormousehole.read 阅读全文
posted @ 2021-11-13 07:55 HaimaBlog 阅读(693) 评论(0) 推荐(0)
摘要: [TOC] ## 一、pip安装 参考下面文档安装 ### - [Windows安装pip方法](https://blog.csdn.net/sinat_32873711/article/details/78740146) ### - [windows下python安装pip方法详解](http:/ 阅读全文
posted @ 2021-11-11 00:19 HaimaBlog 阅读(1607) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页
点击右上角即可分享
微信分享提示