技术
绿豆沙冰
这个作者很懒,什么都没留下…
展开
-
php7.4 redis扩展安装详细教程
php7.4 redis扩展安装详细教程 phpize获取 php-config生成原创 2022-02-13 16:25:15 · 1811 阅读 · 0 评论 -
android 透明 形状 悬浮窗 闪烁的原因
没有设置 wmParams.format = PixelFormat.RGBA_8888;wmParams = WindowManager.LayoutParams()val inflater = LayoutInflater.from(application)mFloatLayout = inflater.inflate(R.layout.activity_float, null) as LinearLayoutmWindowManager = application.getSystemSe.原创 2021-04-05 14:00:23 · 861 阅读 · 0 评论 -
Android EditText 残影
EditText 后面一定要有颜色 不能透明例如:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#fff" //如果没有这一行就可能会有残影 android:orientati原创 2021-04-04 21:55:49 · 153 阅读 · 0 评论 -
golang1.16模块上传 发布模块 创建使用更新模块
golang 版本1.16.2版本不同会导致结果不一样 以官网为准创建模块1.创建一个git仓库名字就是模块名字2.在仓库文件夹内创建代码(modtest.go)package modtestvar Name = "modtest"3.在这里运行 go mod init github.com/你的GitHub名字/modtest上传模块1.git tag v0.1.0 //设置版本号2.git push origin v0.1.0 上传3.go env -w..原创 2021-03-31 19:39:23 · 319 阅读 · 0 评论 -
Problem executing scripts APT::Update::Post-Invoke-Success ‘if /usr/bin/test -w /var/lib/command-not
转载自https://askubuntu.com/questions/1171386/commandnotfound-db-creator-import-dbcreator-on-ubuntuUbuntu20 运行 apt update 报这个错Traceback (most recent call last): File "/usr/lib/cnf-update-db", line 8, in <module> from CommandNotFound.db.creato转载 2021-03-30 19:11:37 · 901 阅读 · 0 评论 -
connect.c:2835:5: error: unknown type name ‘SOCKLEN_T’; did you mean ‘SOCKET’?
在 Ubuntu20 编译 connect.c 的时候报了这个错查了一下 SOCKLEN_T 来自于 <unistd.h>connect.c 确实也是用的这个头文件liunx 头文字在 /usr/include找到这个头文件 里面的定义是typedef __socklen_t socklen_t;所以应该把 connect.c 里的 SOCKLEN_T 改成 socklen_t改完后编译通过了...原创 2021-03-29 21:59:52 · 1503 阅读 · 0 评论 -
golang结构体(类)继承其他包的结构体(类)报错,找不到父结构体(类)的函数,变量
环境go 1.13.6vscode在同一个文件里正常继承调用 但是把父类放在其他包就会报错找不到函数和变量package fimport ( "fmt")//父类type F struct {}func (f *F) Run() { fmt.Printf("run f \n")}package mainimport ( "fmt" "time" "web/f")//子类type S struct { f.F }func (..原创 2021-03-21 22:20:41 · 675 阅读 · 0 评论 -
Expected response code 250 but got code “501“, with messa php laravel 发邮件 smtp qq邮箱 阿里云
MAIL_MAILER=logMAIL_DRIVER=smtpMAIL_HOST=smtpdm.aliyun.com #stmp.qq.comMAIL_PORT=465MAIL_USERNAME=hui@xwtool.top #qq邮箱就123456789@qq.comMAIL_PASSWORD=123456 #qq邮箱里获取的密码MAIL_ENCRYPTION=ssl<?phpreturn['driver'=>en...原创 2020-12-05 09:24:19 · 1154 阅读 · 0 评论 -
如何给html css input range 添加 边框 border
如何给html css input range 添加 边框 border.inputB::-webkit-slider-runnable-track {border: navy solid 3px;}原创 2020-12-05 09:12:13 · 210 阅读 · 0 评论 -
无法解析的外部符号 _fprintf,该符号在函数 "unsigned int __cdecl gltLoadShaderPai
严重性 代码 说明 项目 文件行 禁止显示状态错误 LNK2019 无法解析的外部符号 _fprintf,该符号在函数 "unsigned int __cdecl gltLoadShaderPairWithAttributes(char const *,char const *,...)" (?gltLoadShaderPairWithAttributes@@YAIPBD0ZZ)原创 2017-09-07 16:56:39 · 2307 阅读 · 0 评论