发现有一个类是多余的,想删掉它又担心以后需要查看它的代码,想保存它但又不想增加一个脏的提交。这时就可以考虑git stash。
使用git的时候,我们往往使用分支(branch)解决任务切换问题,例如,我们往往会建一个自己的分支去修改和调试代码, 如果别人或者自己发现原有的分支上有个不得不修改的bug,我们往往会把完成一半的代码commit提交到本地仓...
https://downloads.openwrt.org/releases/19.07.0/targets/brcm2708/bcm2710/openwrt-19.07.0-brcm2708-bcm2710-rpi-3-squashfs-factory.img.gz
插入并启动树莓派3B+,顺便接上键盘和显示器,你会看...
今天我们来讲讲路由器信道的问题,这里主要讲2.4G频段的信道怎么选。 首先,我们来看下2.4G信道划分图! 由于地区的不同,有些设备不支持11以上的信道,所以我们重点选择1到11信道来讲解。 &n...
The WordPress, Rewrite API is like a mythical creature. Not many know it exists, and few still know how to tame it. In this article, we’ll cover the basics of...
Keyboard shortcuts and text editors are nigh-inseparable in the world of content editing productivity. You’ll be hard-pressed to find any WYSIWYG text editor without a solid...
Solution:
I would recommend using x11vnc as it provides the actual desktop experience rather than a virtual one.
To install x11vnc enter the following comma...
Nginx 的 location 实现了对请求的细分处理,有些 URI 返回静态内容,有些分发到后端服务器等,今天来彻底弄懂它的匹配规则
一个最简单的 location 的例子如下
server {
server_name website.com;
location /admin/ {
# The configurati...
# cat /etc/redhat-release
# cd /etc/yum.repos.d
# vim CentOS-AppStream.repo
baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/
# vim CentOS-Base....
Osc乱弹歌单(2019)请戳(这里)
【今日歌曲】
@且无需多言 :分享Rise Against的单曲《Audience Of One (Ghost Note Symphonies)》: 硬核朋克不插电版本,隐藏在喧嚣下的柔情!
《Audience Of One (Ghost Note Symphonies)》- Rise Against...
安装:yum install supervisor
修改配置文件:vi /etc/supervisord.conf
[unix_http_server]
file=/var/run/supervisor.sock ; UNIX socket 文件,supervisorctl 会使用
;chmod=0700...