北漂小兄弟的博客

北漂小兄弟的博客

菜根笔记

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

位运算

位运算

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

1<<10 等于多少?左移一位相当于乘以2 所以这个应该等于2的10次方1024 同理右移相当于除以2的n次方

Powershell 控制台标题修改

Powershell 控制台标题修改

2019 年 12 月 12 日 北漂小兄弟 Comments 1 comment

我们知道,cmd的控制台标题很好修改,直接 title “自定义标题” 即可 但是Powershell没有title功能,那可以修改标题…

Read More Read More

git 查看某个分支是从哪个分支检出的

git 查看某个分支是从哪个分支检出的

2019 年 12 月 3 日 北漂小兄弟 Comments 0 Comment

git reflog show

cannot assign to str[0]

cannot assign to str[0]

2019 年 11 月 19 日 北漂小兄弟 Comments 0 Comment

下面代码如何编译运行? 以上代码就会触发如标题所示的错误信息,因为golang的字符串是不可以改变部分的,除非完全重新赋值,或者采用如下的形式:

syntax error: unexpected newline, expecting comma or }

syntax error: unexpected newline, expecting comma or }

2019 年 11 月 19 日 北漂小兄弟 Comments 0 Comment

程序会如何编译? 就会触发上面标题的错误,原因是切片的最后一个元素cherry后面没有逗号, 在多行切片,数组或MAP中,每行必须以逗号结尾。

彻底删除windows.old文件夹

彻底删除windows.old文件夹

2019 年 11 月 6 日 北漂小兄弟 Comments 0 Comment

以管理员身份运行cmd,在命令提示符界面中执行以下命令: rd/s/q C:\Windows.old

Oracle cloud免费云链接相关配置

Oracle cloud免费云链接相关配置

2019 年 10 月 24 日 北漂小兄弟 Comments 0 Comment

一、oracle服务器在初始化创建的时候就要求您设置ssh密钥,这点很重要。 二、Oracle默认没有开启端口转发,需要开启才能使用相关服务#sudo ipta…

Read More Read More

oracle 永久免费虚拟机综合测试报告

oracle 永久免费虚拟机综合测试报告

2019 年 10 月 17 日 北漂小兄弟 Comments 1 comment

测试开始时间: 2019-10-17 13:36:57 测试结束时间: 2019-10-17 13:42:02 测试模式: 快速测试 -> 系统信息 系统…

Read More Read More

golang 获取最大公约数

golang 获取最大公约数

2019 年 9 月 30 日 北漂小兄弟 Comments 0 Comment

package main import “fmt” func main(){     //获取12 和 42的最大公约数     var a,b = 42,12…

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)
  • 随笔

近期文章

  • 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 日
  • iptables 常用命令总结 2022 年 5 月 14 日
  • 5、RabbitMQ的安装及常用命令 2022 年 5 月 4 日
  • 4、RabbitMQ五大模式 2022 年 5 月 4 日
  • 3、MQ四大核心 2022 年 5 月 3 日
  • 2,MQ能干什么 2022 年 5 月 3 日
  • 1,什么是MQ 2022 年 5 月 3 日
  • golang 遍历空数组实现指定次数的循环 2021 年 4 月 14 日
  • v2ray一键安装脚本 2020 年 11 月 29 日
  • powershell 递归批量删除指定类型的文件 2020 年 11 月 22 日

归档

  • 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月
© 2023 | Proudly Powered by WordPress | Theme: Nisarg | 京ICP备12015649号-1