一个快速在线记事本,Minimalist Web Notepad
用于临时记录与传输文本很方便,示例如下

LIUGUOFENG THE DARKEST HOUR IS THAT BEFORE THE DAWN
Confluence 安装中断报错
The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
caused by: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
Continue reading Confluence 清理卸载重装 Error: python-devel conflicts with python-2.7.5-80.el7_6.x86_64
You could try using --skip-broken to work around the problem
** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
firewalld-filesystem-0.6.3-2.el7_7.1.noarch is a duplicate with firewalld-filesystem-0.5.3-5.el7.noarch
python-2.7.5-86.el7.x86_64 is a duplicate with python-2.7.5-80.el7_6.x86_64
python-firewall-0.6.3-2.el7_7.1.noarch is a duplicate with python-firewall-0.5.3-5.el7.noarch
python-libs-2.7.5-86.el7.x86_64 is a duplicate with python-libs-2.7.5-80.el7_6.x86_64
urw-base35-bookman-fonts-20170801-10.el7.noarch has installed conflicts urw-fonts < ('3', '2.4', '25'): urw-fonts-2.4-16.el7.noarch
Continue reading yum update 出现的问题 Centos 7 下 yum 安装
# yum install -y epel-release
# yum install -y supervisor
# systemctl enable supervisord # 开机自启动
# systemctl start supervisord # 启动supervisord服务
# systemctl status supervisord # 查看supervisord服务状态
# ps -ef|grep supervisord # 查看是否存在supervisord进程
Continue reading Centos 7 下 yum 安装 Supervisor | frp 配置 在 Windows 上开发应用连接到 MySQL 数据库时,若使用本地连接需要延迟 1s 后才能打开
将服务器地址 localhost 修改为 127.0.0.1 速度就变得正常了
所以问题在于 localhost 的解析问题
使用 localhost 程序解析出来的是 ipv6 地址 ::1 ,但 MySQL 监听的是 ipv4 的地址 127.0.0.1,ipv6 连不上超时后会再去连接 ipv4 地址 127.0.0.1, 这就是这个1秒钟延迟出现的原因
解决方法,使用 127.0.0.1 代替 localhost
文件目录
phpMyAdmin\libraries\config.default.php
$cfg['Servers'][$i]['host'] = '127.0.0.1';
vim /etc/ssh/sshd_config
将 GSSAPIAuthentication 的设置由 yes 改为 no
将 UseDNS 设置修改为 no
重启服务:service sshd restart
删除它
rm -rf /var/log/btmp
# 或者
touch /var/log/btmp
其实依赖注入就是类型约束,可以参考官网文档,被写在方法参数中的类会被自动实例化,这就是依赖注入
http://php.net/manual/zh/language.oop5.typehinting.php
Continue reading PHP 依赖注入学习VirtualBox 安装好 Linux (Ubuntu)后,使用 ifconfig 或 ip addr 发现本机是10.0.2.15 这样的ip地址,物理机无法 ping 通虚拟机,
因为 VirtualBox 的网络设置的连接使用了 【NAT 网络地址转换】的方式,需要修改为【桥接网卡】,重启虚拟机即可,或
sudo apt install apt-mirror
sudo vi /etc/apt/mirror.list
参考以下配置文件:(清空原有的配置文件,直接使用以下配置文件即可)
############# config ##################
# 以下注释的内容都是默认配置,如果需要自定义,取消注释修改即可
set base_path /var/spool/apt-mirror
#
# 镜像文件下载地址
# set mirror_path $base_path/mirror
# 临时索引下载文件目录,也就是存放软件仓库的dists目录下的文件(默认即可)
# set skel_path $base_path/skel
# 配置日志(默认即可)
# set var_path $base_path/var
# clean脚本位置
# set cleanscript $var_path/clean.sh
# 架构配置,i386/amd64,默认的话会下载跟本机相同的架构的源
set defaultarch amd64
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
# 下载线程数
set nthreads 20
set _tilde 0
#
############# end config ##############
# Ali yun(这里没有添加deb-src的源)
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
clean http://mirrors.aliyun.com/ubuntu
Continue reading Ubuntu下 apt-mirror 搭建内网本地源