public function login() { $account = $this->request->post('account'); $password = $this->request->post('password'); if (!$account || !$password) { $this->error(__('Invalid parameters')); } $ret =… Read more
Category: Uncategorized
安装fastadmin的时候出现could not find driver
php版本 = 8.2.9 mysql = 8.x 下方extension相关的加上即可 php.ini [PHP] memory_limit=0M upload_max_filesize=0M post_max_size=0M display_errors=Off display_startup_errors=Off log_errors=Off track_errors=Off html_errors=Off allow_url_fopen=Off allow_url_include=Off extension_dir… Read more
Proxifier设置部分域名直连
添加规则 百度为例 PS:如果出现连接问题,可以尝试重启电脑来解决
jsconfig.json的compilerOptions的baseUrl和paths有什么区别
compilerOptions.baseUrl baseUrl表示以jsconfig.json为基础目录,当我配置如下时 { "compilerOptions": { "baseUrl": "./src" } } project/ ├── src/ │ ├── utils/ │ │ └── helper.js │… Read more
Centos 安装go环境
下载 先查看一下自己服务器的架构,x86_64 或 aarch64 uname -m 根据自己对应的架构,来下载对应的安装包 https://go.dev/dl/ 可以在/usr下创建一个software文件夹来专门管理手动安装的程序 下载,解压 wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz tar -zxf go1.23.2.linux-amd64.tar.gz 添加环境变量 编辑环境变量文件 vim /etc/profile 在最下方加入… Read more
CentOS 8.2 创建ssh密钥
查当前系统密钥 在生成新的SSH密钥对之前,最好检查 CentOS 客户端计算机上的现有SSH密钥。 ls -l ~/.ssh/id_*.pub 如果命令的输出返回类似cannot access /root/.ssh/id_*.pub: No such file or directory,则意味着您的客户端计算机上没有SSH密钥,您可以继续执行下一步并生成SSH密钥对。 生成密钥 生成一个新的4096位SSH密钥对,并填写注释 ssh-keygen -t rsa… Read more
CentOS 8.2 安装 git
环境 CentOS 8.2 直接安装 yum install git
Proxifier does not proxy chrome
Turn off this option to be OK
Figma 教育版申请
Figma开发模式后续会收费,但是可以申请一下教育版,2年有效期,到期后继续申请教育。 教育版申请链接:https://www.figma.com/education/?fuid=1334705295061812705 点击去认证(左下角) 1.选择Student、Bootcamp or Online Program 2.写几句夸夸的话 3.学校名称:School not listed、学校全名(写中国的学校即可)、官网对应学校的官网 4.文件可以上传录取通知书 5.Course link:https://www.gogoup.com/
Clash how to proxy the whole network and npm install.
Downlaod proxifier https://www.proxifier.com/ Free Licenses 4MHDA-C3FNN-EV6YH-ZENEQ-5A2CP YHAEF-HWLHS-CQR2A-ZENEQ-35H26 987NH-LYFSC-L4V37-PWN3R-PWE7F CVYAW-WWVJD-8LA2Y-PWN3R-CZA82 TET7R-EY3CC-4E43T-H0NUS-XQCS9 G8E33-937CU-WM3YE-H0NUS-W236X NRNQ9-KWN42-PSU2N-CYBER-HCEB7 GG2U7-5WH8W-TZF22-CYBER-BGTY3 S4EMQ-NYMZF-LFT3E-ARSEN-SNZLF ATV34-T2W3Y-WHNWV-ARSEN-AJJ4L 5EZ8G-C3WL5-B56YG-SCXM9-6QZAP