Razon Yang
Go 语言复制指针的值

Go 语言复制指针的值可以通过 *copy = *pointer 完成。

Razon Yang
LeetCode 算法题 – Find The Difference

给定两个只包含小写字母的字符串 st,其中字符串 t 是由字符串 s 乱序后,再在随机位置添加一个字母而成,请找到该随机添加的字母。

Razon Yang
cURL 基本用法

cURL 是一个数据传输的命令行脚本,笔者经常用于接口测试,本文简单介绍下 cURL 的基本用法。

Razon Yang
Shell 终端字符串换行

Shell 终端字符串换行方法。

Razon Yang
WSL Ubuntu 升级到 Go 1.13

WSL Ubuntu 升级到 Go 1.13 教程。

Razon Yang
Google Adsense Failed to load resource: the server responded with a status of 403
博客换域名后,Google Adsense 不显示,浏览器控制台出现以下错误: Failed to load resource: the server responded with a status of 403 这个是因为需要将新域名添加到 Adsense,审核过后就可以显示了。审核一般几天内就能完成,特殊情况最长两周时间,不过笔者新域名当天就通过了,耐心等待就好。
Razon Yang
Arch Linux ZSH 安装自动补全/命令提示插件

Arch Linux ZSH 安装自动补全/命令提示插件的安装和使用。

Razon Yang
双系统更新 BIOS 后,GRUB 引导项消失的解决方法

笔者笔记本(ThinkPad X1 Extreme)是双系统引导,昨天更新了下版本 1.25 的 BIOS ,然后发现我的 GRUB 引导不见了…无论如何都是引导 Windows,笔者尝试了以下方法:

  • chroot 到 Linux,重建 GRUB:grub-installgrub-mkconfig
  • 关闭 Windows 快速启动,bcdedit /set "{bootmgr}" path "\EFI\Arch\grubx64.efi"

无果,在 BIOS Boot 或 Boot Menu 中都没有 GRUB 的踪影。

Razon Yang
MySQL 创建用户并授权

MySQL 创建用户并授权教程。

Razon Yang
CentOS Repository epel is listed more than once in the configuration

在使用 yum 如果出现以下提示,一般是设置了多个 epel 仓库:

Repository epel is listed more than once in the configuration

Razon Yang
Razon Yang