10 2021 档案

摘要:version: FreeBSD13.0 1. Install fusefs-ntfs # pkg install fusefs-ntfs 把 fusefs_load="YES" 加到 /boot/loader.conf # reboot 2. Mount Disk # ntfs-3g /dev/d 阅读全文
posted @ 2021-10-22 11:37 enjoy_jun 阅读(1575) 评论(0) 推荐(0)
摘要:如何在FreeBSD中安装Nginx,MySQL,PHP(FEMP) 阅读全文
posted @ 2021-10-22 06:51 enjoy_jun 阅读(62) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-21 17:01 enjoy_jun 阅读(0) 评论(0) 推荐(0)
摘要:1. server configuration Samba is configured in /usr/local/etc/smb4.conf. # touch /usr/local/etc/smb4.conf smb4.conf is as follows. [global] workgroup 阅读全文
posted @ 2021-10-20 18:11 enjoy_jun 阅读(124) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-20 11:14 enjoy_jun 阅读(4) 评论(0) 推荐(0)
摘要:确保CHECKSUM文集和要核对文件都在当前目录, 比如: % ls CHECKSUM.SHA256-FreeBSD-13.0-RELEASE-amd64 FreeBSD-13.0-RELEASE-amd64-bootonly.iso FreeBSD-13.0-RELEASE-amd64-dvd1. 阅读全文
posted @ 2021-10-18 12:20 enjoy_jun 阅读(555) 评论(0) 推荐(0)
摘要:我的电脑上有多个声音输出设备如下: % cat /dev/sndstat Installed devices: pcm0: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec) default pcm1: <Realtek ALC892 (Front A 阅读全文
posted @ 2021-10-16 02:59 enjoy_jun 阅读(287) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-13 22:16 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-13 19:01 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-13 06:57 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-13 05:38 enjoy_jun 阅读(7) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-12 18:19 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-12 11:29 enjoy_jun 阅读(0) 评论(0) 推荐(0)
摘要:ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png 阅读全文
posted @ 2021-10-09 20:20 enjoy_jun 阅读(1047) 评论(0) 推荐(0)
摘要:sha256sum -c file.iso SHA256SUM 2>&1 | grep OK 输出 file.iso: OK 证明文件是一样的文件,没有被改动。 文件描述符 1 代表标准输出(stdout) 文件描述符 2 代表标准错误(stderr) 这是记住这个结构的一种方法(尽管它并不完全准确 阅读全文
posted @ 2021-10-09 02:55 enjoy_jun 阅读(358) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-07 14:23 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-06 20:10 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-06 16:32 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-06 11:55 enjoy_jun 阅读(0) 评论(0) 推荐(0)
摘要:假设需要解码的URL字符串为%21%26,则解码如下: 1.Python3 echo -n "%21%26" | python3 -c "import sys; from urllib.parse import unquote; print(unquote(sys.stdin.read()));" 阅读全文
posted @ 2021-10-06 10:39 enjoy_jun 阅读(225) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-06 09:47 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-05 20:40 enjoy_jun 阅读(0) 评论(0) 推荐(0)
摘要:比如要转换的 Unicode编码为 \u4f60\u597d echo -en '\u4f60\u597d' 输出 你好 阅读全文
posted @ 2021-10-05 19:00 enjoy_jun 阅读(2668) 评论(0) 推荐(0)
摘要:注意:Python 版本 2.6+ 想要将 { "foo": "lorem", "bar": "ipsum" } 格式化为. { "foo": "lorem", "bar": "ipsum" } 1.用Python格式化JSON字符串 命令如下: echo '{"foo": "lorem", "ba 阅读全文
posted @ 2021-10-05 18:50 enjoy_jun 阅读(1254) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-05 17:27 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-04 22:22 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-04 18:02 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-04 17:02 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-04 16:02 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-04 11:37 enjoy_jun 阅读(0) 评论(0) 推荐(0)
摘要:禁用原来的FreeBSD.conf # ee /etc/pkg/FreeBSD.conf 将 enabled: yes 改为 enabled: no 保存(ESC, 然后 a → a)即可 创建另外一个 FreeBSD.conf # mkdir -p /usr/local/etc/pkg/repos 阅读全文
posted @ 2021-10-04 09:51 enjoy_jun 阅读(1318) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-03 23:24 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-03 18:00 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-03 15:44 enjoy_jun 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-03 15:41 enjoy_jun 阅读(0) 评论(0) 推荐(0)