LMLPHP后院

vmess 折腾记技术

maybe yes 发表于 2023-01-18 11:52

我们往往过于自信,对于一些认为不是问题的问题,认为不可能发生,结果还真的发生了。心中一万个草泥马,这我怎么就是想不到呢?

我是真的万万没有想到,服务器的时间会不准。这都什么年代了。前几个月,给我造成的感觉是间歇性失效,自己也搞不懂怎么回事,重新配置一下,好像又可以了。

在冬季的室外,零下折腾了许久,三个半小时,终于发现了 date 命令输出的时间慢了三分钟,我是一个不解决问题不放手的人,就是那么的犟。

vmess 不是一个省心的玩意,这次居然然在了时间上。

我一直以为不会,云服务器同一个运营商,为什么偏偏就有一台机器,无声无息的时间变慢呢。这是我万万没想到的。

Archlinux Gnome 折腾技术

maybe yes 发表于 2023-01-11 12:05

这次或许是最后一次,因为低配置的电脑已经运行不了了,既然不行,就没有使用 Linux UI 的必要了。很悲伤,很多东西走着走着都是作死。屠龙者终成恶龙!

(1126/1127) upgrading zita-resampler                                                       [#####################################################] 100%
New optional dependencies for zita-resampler
    libsndfile: for zresample and zretune [installed]
(1127/1127) upgrading zsh                                                                  [#####################################################] 100%
error: hook /usr/share/libalpm/hooks/gvfsd.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-update.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-udev-reload.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/40-fontconfig-config.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/fontconfig.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-update-mime-database.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/gtk-update-icon-cache.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/texinfo-remove.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-daemon-reload.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/60-depmod.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/xorg-mkfontscale.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/update-desktop-database.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/90-update-appstream-cache.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/dconf-update.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/dbus-reload.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/20-systemd-sysusers.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-sysctl.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/glib-compile-schemas.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/detect-old-perl-modules.hook line 4: invalid value Path
error: hook /usr/share/libalpm/hooks/90-mkinitcpio-install.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-catalog.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-hwdb.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/update-vlc-plugin-cache.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/gtk-query-immodules-2.0.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/vimdoc.hook line 5: invalid value Path
error: hook /usr/share/libalpm/hooks/texinfo-install.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-tmpfiles.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/40-update-ca-trust.hook line 5: invalid value Path
error: hook /usr/share/libalpm/hooks/30-systemd-binfmt.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/gtk4-querymodules.hook line 2: invalid value Path
error: hook /usr/share/libalpm/hooks/gio-querymodules.hook line 2: invalid value Path

➜  bak pacman -Qi pacman
Name            : pacman
Version         : 6.0.2-5
Description     : A library-based package manager with dependency support
Architecture    : x86_64
URL             : https://www.archlinux.org/pacman/
Licenses        : GPL
Groups          : base-devel
Provides        : libalpm.so=13-64
Depends On      : bash  glibc  libarchive  curl  gpgme  pacman-mirrorlist  gettext  gawk  coreutils  gnupg  grep
Optional Deps   : perl-locale-gettext: translation support in makepkg-template
Required By     : appstream-glib  arch-install-scripts  archlinux-keyring  package-query  yaourt
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 4.72 MiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Tue 01 Nov 2022 08:44:59 PM CST
Install Date    : Thu 22 Dec 2022 08:56:43 PM CST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

➜  bak sudo pacman -Syu                                                         
[sudo] password for lin: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
 there is nothing to do




error: key "KEY$" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.



# sudo pacman -S archlinux-keyring  && sudo pacman -Syu
this also worked for me
thanks a lot



https://blog.yasking.org/a/easyscreencast.html


gnome screenrecorder 

➜  ~ gsettings get org.gnome.settings-daemon.plugins.media-keys max-screencast-length
uint32 30
➜  ~ gsettings set org.gnome.settings-daemon.plugins.media-keys max-screencast-length 0
➜  ~ gsettings get org.gnome.settings-daemon.plugins.media-keys max-screencast-length  
uint32 0

Ctrl+Alt+Shift+R



Xorg cleanup requires manual intervention
2019-12-20 - Andreas Radke

In the process of Xorg cleanup the update requires manual intervention when you hit this message:

:: installing xorgproto (2019.2-2) breaks dependency 'inputproto' required by lib32-libxi
:: installing xorgproto (2019.2-2) breaks dependency 'dmxproto' required by libdmx
:: installing xorgproto (2019.2-2) breaks dependency 'xf86dgaproto' required by libxxf86dga
:: installing xorgproto (2019.2-2) breaks dependency 'xf86miscproto' required by libxxf86misc
when updating, use: pacman -Rdd libdmx libxxf86dga libxxf86misc && pacman -Syu to perform the upgrade.

css big event gray how to achieve技术

maybe yes 发表于 2022-11-30 20:01

针对大事件灰色效果,CSS 的工作量可谓不小,可 CSS3 来了,只需一行代码搞定,其实就是这么简单,无需做什么准备。

.big-event-gray {
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    /* -webkit-filter: grayscale(100%); */
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    /* filter: grayscale(100%); */
    filter: gray;
}

bing 是一个伟大的搜索引擎技术

maybe yes 发表于 2022-11-28 20:38

我遇到一个问题,使用最大的那个搜索引擎,搜不出任何相关的标题内容,点进去看了几个,完全没有找到相似点。

于是 bing 之。

结果,第一个就找到了答案,并且是标题完全相同。

大公司,转一个弯,几年都不一定做得到,只能是越陷越深。

我的问题是“/etc/rc.common: line 1: /data/clash: Permission denied”。

找到了两个有用的链接: https://github.com/juewuy/ShellClash/issues/246。https://github.com/juewuy/ShellClash/issues/226#issue-1373105062。

于是,感概下。

夜神模拟器安装系统根证书技术

maybe yes 发表于 2022-11-25 16:07

安卓7.0之后,更加严格,这将导致一个结果,就是,你的手机,只是一个手机而已,而你几乎无法控制它。

其实作为一个开源的系统,真的不应该这样,因为,你是开源的,总会有办法。

其实,7.0 之后的安卓,用户证书变的没有意义。而目前的抓包工具,不论是 Charles 或者 是 Fiddler 几乎都是不能用的节奏。

下面讲一讲 Charles 抓取 https 数据接口。

Help -> SSL proxying -> Save Charles Root Certificate。下载完成后。点击 Install Charles Root Certificate On a Mobile Device or Remote Browser,在这个弹出窗能看到代理的 ip 和 port。

2023-01-28 15:52:51 1674892371 0.087151