2024年1月21日星期日

lightsail自建vps

代码如下

echo root:passwprdhere |sudo chpasswd root
sudo sed -i 's/^.PermitRootLogin./PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^.PasswordAuthentication./PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo reboot


VLESS(TCP_Vision、Reality、gRPC、WS)、VMess(WS)、Trojan(TCP、gRPC)、Hysteria、八合一共存脚本

支持多种传输协议,包括VLESS、VMess、Trojan和Hysteria,支持多种协议组合。支持自动申请和更新SSL证书,并且提供了一个伪装站点。支持无需域名的VLESS Reality特性。(注意:使用Reality协议,v2rayN客户端版本需要6.21或以上)

脚本:wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

备用:wget -P /root -N --no-check-certificate "https://www.v2ray-agent.com/v2ray-agent/install.sh" && chmod 700 /root/install.sh && /root/install.sh


如果输入安装命令后提示curl: command not found,那是因为服务器系统没有自带curl命令,安装一下curl。

CentOS系统安装curl命令:yum install -y curl

Debian/Ubuntu系统安装curl命令:apt-get install -y curl

安装完成后,输入v2ray可进入管理页面。脚本来自Jrohy/multi-v2ray。

2024年1月13日星期六

Macbook Pro 因为WIFI问题无限重启。

某一天,Macbook Pro 突然连不上WIFI,重连后无线卡死,重启,只要打开wifi就死机。
天才吧也无能为力,怀疑硬盘问题, 主板问题。
几经周折,取出硬盘用硬盘盒外置启动。Shift启动安全模式。竟然好了。

https://apple.stackexchange.com/questions/389062/macbook-is-lagging-and-freezing-when-connected-to-wifi

I figured out the problem was with my network cache. None of the online help worked for me.

The problem was occurring only for my home WiFi. I connect with the VPN and noticed everything was working smoothly as earlier.

I cleared my DNS cache, and reset the network configurations. I deleted the directory /Library/Preferences/SystemConfiguration/ and run the commands to flush the DNS cache

$ sudo dscacheutil -flushcache
$ sudo killall -HUP mDNSResponder
$ sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache

Make sure to take the backup of the SystemConfiguration just incase. Your system can generate the files later.

Hopefully, this will help anyone else who seems to be having freezing issues when connected to the internet.

2024年1月8日星期一

电影

豆瓣2023年电影榜单出炉!!!指路👉网页链接

评分最高华语电影Top10:

  1. 《流浪地球2》8.3
  2. 《长安三万里》8.3
  3. 《椒麻堂会》8.6
  4. 《关于我和鬼变成家人的那件事》8.1
  5. 《宇宙探索编辑部》8.0
  6. 《封神第一部:朝歌风云》7.8
  7. 《我爱你!》7.9
  8. 《三大队》7.9
  9. 《保你平安》7.7
  10. 《涉过愤怒的海》7.5

评分最高外语电影Top10:

  1. 《奥本海默》8.8
  2. 《蜘蛛侠:纵横宇宙》8.5
  3. 《银河护卫队3》8.4
  4. 《坠落的审判》8.5
  5. 《芭比》8.1
  6. 《穿靴子的猫2》8.1
  7. 《狗神》8.2
  8. 《巴比伦》8.0
  9. 《网络迷踪2》7.9
    10.《伊尼舍林的报丧女妖》7.9
    [ 1 / 10 ]

[ 2 / 10 ]
0065aQefly1hl6ytgv108j30u01rjtj7
0065aQefly1hl6ythno12j30u01r4wob
0065aQefly1hl6ytidooej30u01r6n5g
0065aQefly1hl6ytjfb8dj30u01rb7e6
0065aQefly1hl6ytk25jzj30u01jsq81
0065aQefly1hl6ytkojn0j30u01kojy8
0065aQefly1hl6ytl7vmqj30u01kd45l
0065aQefly1hl6ytluac0j30u01jrn26
0065aQefly1hl6ytmammdj30u01mktea
0065aQefly1hl6ytmpaa2j30u01lw7a1

[ 3 / 10 ]

[ 4 / 10 ]

[ 5 / 10 ]

[ 6 / 10 ]

[ 7 / 10 ]

[ 8 / 10 ]

[ 9 / 10 ]

[ 10 / 10 ]