据说是GA扫的,几乎每天都在扫。IP来自优刻云,举报也无济于事。
280篇 Default中的文章
守护进程目录
/System/Library/LaunchDaemons/
/Library/LaunchDaemons/
启动项Agent目录
/System/Library/LaunchAgents
/Library/LaunchAgents
~/Library/LaunchAgents
Question: How tp add a rule using firewall-cmd to drop/reject specific IP connecting to the server? This can be used as an added security on the server.
firewall-cmd is the most common method of managing firewalld configurations (both running as well as permanent). This tool is a part of the firewalld package.
docker 容器暴露的端口不会因 firewalld 防火墙策略阻断!
最近发现一个问题,docker run 了几个容器,暴雷了 8080, 9090 等等几个端口,一直以为 CentOS 有 firewalld 防火墙在,加了这些端口只允许内网访问,就可以高枕无忧了。
结果有次查看 netstat,居然有一些国外的 IP 连接。这才知道原来有防火墙,容器也不安全!
win10系统可以正常调整外接显示器的声音大小,但在macos上无法调整。只能借助第三方软件。
还好有一款开源软件 https://github.com/MonitorControl/MonitorControl
这款软件可以调整外接显示器的音量和亮度。支持M1。
win10环境修改或增加文件C:\Users<username>.cargo\config:
[source.crates-io]
replace-with = 'tuna'
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
cargo build时若一直出现 Blocking waiting for file lock on package cache
, 可以删除C:\Users\<username>\.cargo\
目录下的 .package-cache
,然后重试。
电路板生产中工艺要求是个很重要的因素,他直接决定着一个板子的质量与定位。
比如喷锡、沉金,相对来说沉金就是面对高端的板子。沉金由于质量好,相对于成本也是比较高。
所以很多客户就选用最常用的喷锡工艺。很多人都知道喷锡工艺,但却不知道锡还分为有铅锡与无铅锡两种。
tar -xf archive.tar.xz
或
tar -xvf archive.tar.xz
1、安装centos-release-scl
sudo yum install centos-release-scl
2、安装devtoolset,注意,如果想安装7.版本的,就改成devtoolset-7-gcc,以此类推
sudo yum install devtoolset-8-gcc*
3、激活对应的devtoolset,所以你可以一次安装多个版本的devtoolset,需要的时候用下面这条命令切换到对应的版本
scl enable devtoolset-8 bash
查看版本
gcc -v
sort -u 和 uniq都能起到删除重复信息的功能,那么他们的区别究竟在哪呢?
$cat test
jason
jason
jason
fffff
jason