sorry, i'm not a python programmer ... correct version should be:
---
user = u.username or default_user
port = u.port or default_port
# if either u.port or default_port was not None
# port has now a value and needs conversion
if port:
port = str(port)
return (host, port, user)
---
Apr 11, 2023 09:47:18 PM
小心撞墙,好委婉的提示哈哈哈
Apr 08, 2023 11:16:30 PM
sorry, i'm not a python programmer ... correct version should be:
---
user = u.username or default_user
port = u.port or default_port
# if either u.port or default_port was not None
# port has now a value and needs conversion
if port:
port = str(port)
return (host, port, user)
---
$ pssh -H "localhost localhost:22" uptime
$ pssh -H "localhost6 localhost6:22" uptime
$ pssh -H "127.0.0.1 127.0.0.1:22" uptime
work now as expected. but
$ pssh -H "[::1] [::1]:22" uptime
does not work.
$ ssh -6 ::1 uptime
$ ssh -6 -p 22 ::1 uptime
both work. if host is an ipv6 address then (for me) ssh needs "-6" and "-p", so there's still more to be done for pssh.
thank you for improving pssh
Apr 08, 2023 03:54:48 PM
Thanks!
Apr 08, 2023 02:50:46 AM
diff -ur a/psshutil.py b/psshutil.py
--- a/psshutil.py 2023-04-07 21:42:58.205190925 +0300
+++ b/psshutil.py 2023-04-07 21:42:14.592296734 +0300
@@ -96,7 +96,7 @@
u = urllib.parse.urlparse('ssh://' + host)
host = u.hostname
user = u.username or default_user
- port = u.port or default_port
+ port = str(u.port or default_port)
return (host, port, user)
Feb 15, 2023 06:50:05 PM
大佬,prince转pdf时带请求的页面可以转吗
Feb 11, 2023 10:57:27 AM
在呢~
Feb 10, 2023 04:50:55 PM
这么多年了,还在呀,往事依旧,我已经不是那个小朋友啦
May 14, 2022 11:00:53 AM
是的。因为服务器其实不是我的,所以服务器到期被销毁的时候我没有准备,丢失了所有图床的数据,就懒得搞了。
May 13, 2022 07:09:07 PM
关于图床,请问是不再运营了么。
还是感谢多年的陪伴
May 13, 2022 06:43:05 PM
嗯嗯!更新之后很清晰啦!太棒啦,谢谢依云姐!
ヾ(*´▽‘*)ノ
May 13, 2022 05:21:08 PM
依云姐好,我看了您的dnssoop项目,然后想跑一下,但是遇到了一些问题,我刚把具体的情况发到您邮箱啦。想请问一下有什么解决办法
刚看到有这个留言板,所以上来试一下,谢谢依云姐
May 13, 2022 12:47:50 PM
嗯,xorg-xwayland-lily 里有个 typo 导致补丁没打上。你更新到 22.1.1-3 就好了。
May 12, 2022 04:08:04 PM
十分感谢!
我按照依云姐的建议从[archlinuxcn]仓库安装了这三个包,重启之后执行了
xprop -root -format _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
可是在此之后,在4k屏幕2倍缩放的情况下,将Xft.dpi设置为192, 开启Xwayland相关软件,chrome(gtk3,Xwayland模式)和st(终端,依赖X),它们的长和宽都变成了之前的2倍,但是字体仍然模糊,不知道哪里出现了问题QAQ
May 12, 2022 11:37:12 AM
你可以从 [archlinuxcn] 仓库安装 wayfire-lily-git wlroots-lily-git 以及 xorg-xwayland-lily,打了 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/733 等补丁。然后执行以下命令设置 xwayland 的倍数:
xprop -root -format _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
注意目前 wlroots-lily-git 有打一个破坏兼容性的补丁,因此只能用于 wayfire-lily-git。
May 11, 2022 10:25:19 PM
看了依云姐的wayfire相关文章我也开始用wayfire了,遇到了一个问题,请教依云姐,4K屏幕上wayland的放大倍数调成2倍,然后依赖Xwayland运行的应用就变模糊了,有没有什么解决办法呢?
Apr 11, 2022 01:04:07 PM
-----BEGIN PGP MESSAGE-----
hQEMA0vaXN2EZvROAQgAt0x9I+cfPPZERdree/uDSfIYBBvU7s/1mm11dfkObwhb
dErFfiJ3jkZKELVXdBvA49w0j7d92jy2RKtXqj3jggeTqo80wodW0ZzBeWKmLxV8
HSjQwnxt64MoYgrDF6naj5/Yvaj/5N94gDAqCHeMCST6Olx97m70PbZ8XUycx7L/
rBfTPFP1zPIrMTQTWbBlOv6rf2Phg1R2qaQH7EFGqWJVwFNn77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zaPor
M2TZQd1JftDJI5904UwD1He69ex34sEUEEAUaZB1brpveIMzGLaHx6yD3fpEkgSf
g3ybdAEosNTafAkekTIxcrykOtk5H10V+hSBCMdQuWZTwgTUQl7OjRzPj7ApNlfa
dMmNmpo8eNnpVc8=
=3hhr
-----END PGP MESSAGE-----
Mar 26, 2022 11:34:49 AM
听起来是透明代理没配置好。这种问题没有具体情况很难说。
你可以使用 Linux 上方便使用的通讯工具来联络。
Mar 26, 2022 11:19:31 AM
我搭建的wireguard是搭建在openwrt里面的。已经配置好科学上网了。然后我在户外链接wireguard回家。可以安全的链接,可是无法使用科学上网。一直找不到原因。求指教。WX18907856868
Dec 09, 2021 03:56:44 PM
您好~我是腾讯云+社区的运营,关注了您在分享的技术文章,觉得内容很棒,我们诚挚邀请您加入腾讯云自媒体分享计划。完整福利和申请地址请见:https://cloud.tencent.com/developer/support-plan
作者申请此计划后将作者的文章进行搬迁同步到社区的专栏下,你只需要简单填写一下表单申请即可,我们会给作者提供包括流量、云服务器、域名等,另外还有些周边礼物。 我们诚挚的邀请您并期待您的加入~