北漂小兄弟的博客

北漂小兄弟的博客

菜根笔记

1,什么是MQ

1,什么是MQ

2022 年 5 月 3 日 北漂小兄弟 Comments 0 Comment

MQ(message queue) 本质是队列的意思,FIFO先进先出原则,队列中存放的内容是message(消息)是一种跨进程的通讯机制,串联上下游服务的中间…

Read More Read More

golang 遍历空数组实现指定次数的循环

golang 遍历空数组实现指定次数的循环

2021 年 4 月 14 日 北漂小兄弟 Comments 0 Comment

golang 的for遍历还是比较简单的,为什么还要用空数组来实现遍历呢? 这里定义nums为二维类型的数组,虽然第一维设置了10个长度,但是数组的元素[0]i…

Read More Read More

v2ray一键安装脚本

v2ray一键安装脚本

2020 年 11 月 29 日 北漂小兄弟 Comments 0 Comment
powershell 递归批量删除指定类型的文件

powershell 递归批量删除指定类型的文件

2020 年 11 月 22 日 北漂小兄弟 Comments 2 comments

ls $folder -r | % { if($_.name -match “mp3$” -and $_.mode -notmatch “d”){ del $_…

Read More Read More

从一个大的sql文件导入指定的表信息

从一个大的sql文件导入指定的表信息

2020 年 11 月 15 日 北漂小兄弟 Comments 0 Comment
wordpress 增加显示备案信息

wordpress 增加显示备案信息

2020 年 11 月 9 日 北漂小兄弟 Comments 0 Comment
windows terminal 配置文件案例

windows terminal 配置文件案例

2020 年 7 月 2 日 北漂小兄弟 Comments 0 Comment

// This file was initially generated by Windows Terminal Preview 1.1.1671.0// It…

Read More Read More

git 撤销上一次提交,撤销上次merge

git 撤销上一次提交,撤销上次merge

2020 年 6 月 28 日 北漂小兄弟 Comments 0 Comment
golang 时间与数字相乘的问题

golang 时间与数字相乘的问题

2020 年 6 月 8 日 北漂小兄弟 Comments 0 Comment

golang 时间与数字相乘 如果用硬编码的形式直接写是没有问题的: time.Second * 1000 如果用表达式来写就编译报错了 second := 1…

Read More Read More

windows powershell 支持git

windows powershell 支持git

2020 年 5 月 17 日 北漂小兄弟 Comments 0 Comment

1、下载posh-git 用管理员权限打开powershell执行如下命令,启用脚本支持 Set-ExecutionPolicy RemoteSigned -S…

Read More Read More

解决phpMyAdmin Warning in ./libraries/classes/Dbi/DbiMysqli.php#463 Use of undefined constant MYSQLI_TYPE_JSON – assumed ‘MYSQLI_TYPE_JSON’ (this will throw an Error in a future version of PHP)

解决phpMyAdmin Warning in ./libraries/classes/Dbi/DbiMysqli.php#463 Use of undefined constant MYSQLI_TYPE_JSON – assumed ‘MYSQLI_TYPE_JSON’ (this will throw an Error in a future version of PHP)

2020 年 4 月 7 日 北漂小兄弟 Comments 0 Comment
configure: error: PDO_MYSQL configure failed, MySQL 4.1 needed. Please check config.log for more information.

configure: error: PDO_MYSQL configure failed, MySQL 4.1 needed. Please check config.log for more information.

2020 年 3 月 26 日 北漂小兄弟 Comments 0 Comment

php 编译mysql_pdo扩展报这个错误解决方案 sudo apt-get install libmysqlclient-dev

phpize Cannot find config.m4.

phpize Cannot find config.m4.

2020 年 3 月 25 日 北漂小兄弟 Comments 0 Comment

看看当前文件夹是不是有一个 config0.m4 改个名即可

configure: error: Package requirements (openssl >= 1.0.1) were not met: no package found openssl

configure: error: Package requirements (openssl >= 1.0.1) were not met: no package found openssl

2020 年 3 月 25 日 北漂小兄弟 Comments 0 Comment

sudo apt-get install libssl-dev

configure: error: Package requirements (sqlite3 > 3.7.4) were not met: No package ‘sqlite3’ found

configure: error: Package requirements (sqlite3 > 3.7.4) were not met: No package ‘sqlite3’ found

2020 年 3 月 25 日 北漂小兄弟 Comments 0 Comment

ubuntu sudo apt-get install libsqlite3-dev centos yum install sqlite-devel

golang 空接口断言数据类型

golang 空接口断言数据类型

2020 年 3 月 2 日 北漂小兄弟 Comments 0 Comment
golang 判断map的key值是否存在

golang 判断map的key值是否存在

2020 年 3 月 1 日 北漂小兄弟 Comments 0 Comment
golang 单元测试不执行?

golang 单元测试不执行?

2020 年 3 月 1 日 北漂小兄弟 Comments 0 Comment

golang单元测试不执行一般是什么问题呢/1、单元测试文件必须以test.go结尾2、单元测试文件里的方法必须以Test开头的驼峰形式命名方法,注意这里Tes…

Read More Read More

git 修改分支名称

git 修改分支名称

2020 年 2 月 20 日 北漂小兄弟 Comments 0 Comment

# git branch -m old new # git push origin new

git 检出某个分支的某个文件到当前分支

git 检出某个分支的某个文件到当前分支

2020 年 2 月 10 日 北漂小兄弟 Comments 0 Comment

git checkout current_branch git checkout feature/v1.2 — order.go// 将 featu…

Read More Read More

Posts navigation

OLDER POSTS
NEWER POSTS

站内搜索

分类

  • ARTS
  • Golang
  • HTTP
  • JavaScript
  • laravel
  • LINUX
  • MySQL
  • PHP
  • python
  • rabbitMQ从0到0.99
  • 未分类技术文章
  • 树莓派(raspberry pi)
  • 随笔

近期文章

  • FFmpeg 视频剪辑常用命令 2025 年 5 月 22 日
  • FFMPEG常用命令 2024 年 11 月 25 日
  • 已经开了全局代理还是安装不上? 2024 年 10 月 29 日
  • GO语言里channel的阻塞机制 2024 年 9 月 29 日
  • golang 遍历当前目录下的制定扩展名文件,包括子目录 2024 年 1 月 17 日
  • 程序员的30个坏习惯 2024 年 1 月 15 日
  • mac上如何双开微信 2023 年 12 月 17 日
  • 终端内查看天气预报 curl wttr.in 2023 年 12 月 13 日
  • go 切片表达式介绍 2023 年 10 月 7 日
  • golang Prinf详细使用介绍 2023 年 5 月 24 日
  • golang APP版本号比对大小方法 2023 年 5 月 15 日
  • golang strings.Builder 与拼接字符串的区别 2023 年 3 月 17 日
  • golang 将秒转化为小时分钟 2023 年 1 月 28 日
  • GO谚语你知道多少 2022 年 8 月 9 日
  • linux 快速清空一个文件命令 2022 年 5 月 20 日

归档

  • 2025 年 5 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 10 月
  • 2023 年 5 月
  • 2023 年 3 月
  • 2023 年 1 月
  • 2022 年 8 月
  • 2022 年 5 月
  • 2021 年 4 月
  • 2020 年 11 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 9 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 5 月
  • 2016 年 2 月
  • 2015 年 12 月
  • 2015 年 11 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 4 月
  • 2014 年 3 月
  • 2014 年 2 月
  • 2014 年 1 月
  • 2013 年 12 月
  • 2013 年 11 月
  • 2013 年 10 月
  • 2013 年 9 月
  • 2013 年 8 月
  • 2013 年 7 月
  • 2013 年 6 月
  • 2013 年 5 月
  • 2013 年 4 月
© 2025 | Proudly Powered by WordPress | Theme: Nisarg 京ICP备12015649号-1