首页
LyingApril
取消

最近在忙什么?

  最近在忙什么?瞎忙吗?不不不!   其实写简历也是在回忆过去发生的事情,这时候总是发现三五年前的事情好像近在眼前。而三五天前的事情确不太清楚了。   大学期间在编程这方面做得最出彩的地方,应该就是向开源社区提交了一个 Pull Request,虽然没有得到 Merge。   MySQL integer field is returned as itself or string in...

终止 Linux 后台运行程序的方法和命令

  后台运行了得停止呀,怎么找呢? 查看后台进程 ps -ef |grep test.sh USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ...

几种支付签名生成方法

  总结最近用过几个签名方法。 签名方法 定义生成 sign 字符串的方法: 对所有传入的参数按照字段名 ASCII (美国信息交换标准代码)从小到大排序, 使用 URL 键值对的格式(即 key1=value1&key2=value2…)拼接成字符串 string1 ; 在 string1 最后拼接上 key=Key(商户支付密钥)得到 stringSignTemp 字...

在 Linux 后台运行脚本的方法和命令

  有个 sh 脚本没法用宝塔的定时任务来运行,特意学习 Linux 原生的办法后台运行脚本。 脚本执行 ./test.sh   中断脚本 test.sh ctrl+c   切换到后台并暂停 ctrl+z 直接后台运行 /test.sh & 查看已启动任务 jobs   使用 jobs 可看到 test.sh 处于 running 状态 后台运行 bg...

Customize the Favicon

The favicons of Chirpy are placed in the directory assets/img/favicons/. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons...

Getting Started

Prerequisites Follow the instructions in the Jekyll Docs to complete the installation of Ruby, RubyGems, Jekyll, and Bundler. In addition, Git is also required to be installed. Installation Crea...

Writing a New Post

This tutorial will guide you how to write a post in the Chirpy template, and it’s worth reading even if you’ve used Jekyll before, as many features require specific variables to be set. Naming and...

Text and Typography

This post is to show Markdown syntax rendering on Chirpy, you can also use it as an example of writing. Now, let’s start looking at text and typography. Titles H1 - heading H2 - heading H3 - h...

在 WIN10 上安装 Jekyll

  刚开始写GitHub Pages,不知道怎么写目录,生成多个静态页。发现GitHub Pages用的是Jekyll编译的。为了方便写好GitHub Pages,在的win10上尝试安装了一把Jekyll。 准备工作 RubyInstaller   只需要下载RubyInstaller这一个工具就足够了。下载页面有很多版本,对于新手不知道该如何选择,这时候可以选择高亮标记的那...

借助 DnsAgent,让 HomeStead 快捷实现多站点设置

  众所周知,HomeStead可以实现多站点的功能,但是每次都需要修改本机的hosts文件,实在是太不方便了,借助DnsAgent的域名解析功能,轻松实现多站点管理。   首先,先熟悉下HomeStead的配置文件。 HomeStead配置   使用的Homestead版本号v8.2.0   在执行了init.sh之后,得到了名为Homestead.yaml的配置文件 --- i...