GIF图库
GIF图库https://www.soogif.com/gif/10716-5-0-0.html https://giphy.com/search/bird https://gifdb.com/cartoon
GIF图库https://www.soogif.com/gif/10716-5-0-0.html https://giphy.com/search/bird https://gifdb.com/cartoon
游戏行业常见术语与缩写https://new.qq.com/rain/a/20200723A0S4E300 1.广告素材 首先是广告素材的投放数据。PV就是曝光,这个相当于有多少人看到了这个广告。VV相当于素材的点击量,CV是VV的进一步细化数据,指的是坚持看完视频贴片广告后看到视频内容的用户数量。 衡量一个广告素材效果好不好,很大程度上取决于CTR和CR,其中CR转化在不同游戏产品中的指标也不
npv净现值指未来资金(现金)流入(收入)现值与未来资金(现金)流出(支出)现值的差额,是项目评估中净现值法的基本指标。 净现值大于零则方案可行,且净现值越大,方案越优,投资效益越好。
Animation动画的结束回调CocosCreator目前支持的Animation回调事件有: 123456789101112131415161718192021222324252627282930313233play : 开始播放时stop : 停止播放时pause : 暂停播放时resume : 恢复播放时lastframe : 假如动画循环次数大于 1,当动画播放到最后一帧时finish
Docker 启动所有容器1docker start $(docker ps -a | awk '{ print $1}' | tail -n +2)
Promise对象的使用 创建Promise 123456789101112131415async login(): Promise<Account> { return new Promise((resolve, reject) => { HttpManager.instance(HttpManager).get(`https://xx
function f(g: () => void = null) { … }Is a function ==f== which takes another function, ==g== of type ==() => void==,
Docker 镜像修改自启动参数1234567systemctl stop dockercd /var/lib/docker/containers/[containerID]修改 config.v2.json 和 hostconfig.json 即可systemctl start docker
Docker 拷贝文件到容器里面 从容器里面拷文件到宿主机 1docker cp testtomcat:/usr/local/test.js /opt 从宿主机拷文件到容器里面 1docker cp /opt/test.js testtomcat:/usr/local/
Docker 运行 Mysql 容器后报错 initialize specified but the data directory has files in it.原因:通过 -v 挂载的目录已经存在文件了,所以 -v 选本地目录的时候记得选一个空目录/不存在的目录(会自动创建) 解决方案:将 -v 挂载的本地目录换成一个空目录/不存在的目录即可
Docker 启动报错 error creating overlay mount是由于selinux造成的,CentOS的selinux是关闭的,而docker上的selinux却是开启的,因此docker运行时会产生如上错误。 解决方案无非是要么都关闭,要么都开启 推荐修改 /etc/selinux/config 将 SELINUX=disabled 改
Linux 连接 mysql 提示 Can’t connect to local MySQL server through socket /tmp/mysql.sock原因是my.cnf配置文件中设置了[mysqld]的参数socket,而没有设置[client]的参数socket 123456[mysqld]socket=/usr/local/mysql/data/mysq
The server requested authentication method unknown to the client连接 mysql 8.0 数据库,caching_sha2_password 是默认的身份验证插件,而不是以往的 mysql_native_password 12345678910111213141516mysql - uroot - p--使用用户名密码登录 mysq
在 Linux 关闭 SELinux 的方法 临时关闭:输入命令 1setenforce 0 永久关闭:输入命令 12vi /etc/selinux/config将 SELINUX=enforcing 改为 SELINUX=disabled
docker redis 启动失败报错: 1chown: changing ownership of '.': Permission denied 解决方法: 在docker run中加入 –privileged=true 给容器加上特定权限 关闭selinux 在selinux添加规则,修改挂载目录
在 Linux 虚拟机中手动安装 VMware Toolshttps://docs.vmware.com/cn/VMware-Workstation-Pro/14.0/com.vmware.ws.using.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html
解决虚拟机 Could not resolve host xxxxx 检查window服务管理器中关于VM的所有服务器是否开启 12345VMware Authorization ServiceVMware DHCP ServiceVMware NAT ServiceVMware USB Arbitration ServiceVMware Workstation Server
Centos使用yum报错 Could not resolve host xxxxx 查看安装在本机的网卡 1nmcli d 切换到/etc/sysconfig/network-scripts/目录下,打开“ifcfg-en….”文件, 修改为以下内容 123BOOTPROTO=dhcpONBOOT=yes 重新启动网络服务 1systemc
Cocos Creator lzutf8 高性能 Javascript 字符串压缩库对速度进行了强烈优化 似测量:3-14MB / s压缩,20-120MB / s解压缩
Cocos Creator PKM 图片加密 python 3.7.0 encodeetc.py 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
pkm与png的相互转化 png2pkm 1etcpack.exe [input.png] [outputdir] -c etc1 -s slow -as -ext PNG pkm2png 1etcpack [input.pkm] [outputdir] -ext PNG
Creator 批量修改 ETC setETC.js 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667const fs = require('fs');const path
Unity Android 使用 UnityWebRequest Post 数据后,没有获得服务器返回的数据Unity Android 使用UnityWebRequest Post 数据后,没有获得服务器返回的数据 最近做一个项目,要用到http的get和post来跟服务器通讯。 然后使用UnityWebRequest来做,在PC上面全都是正常的,但是到了Android下,get是正常的,但是p
MongoDB 查询指定时间范围1{createdAt:{$gte:ISODate('2022-06-22'), $lte:ISODate('2022-06-23')},updatedAt:{$gte:ISODate('2022-06-23')}}
大日志文件查询查询关键字 123cat info.log | grep '1711178968'cat info.log | grep '1711178968' >> temp.log 截取一定时段的日志 1sed -n '/2022-06-23T20:19:11.863/,/2022-06-23T20:31:08.309/p
Creator 适配组件 SafeArea 频繁切出切入 APP 导致适配问题把所有 Widget 组件的 Align Mode 改成 Once,==必须是所有 Widget 组件==
修改 Creator 创建的 TS 文件模板修改这个文件 C:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.6\resources\static\template\new-script.ts
pathfinding 库的使用 安装 1npm install pathfinding 使用 12345678910111213141516let pathfinding = require('pathfinding') // use this for initialization onLoad: function () { va
EC2 安装 CloudWatch 监控内存官方文档英文:https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-iam-roles-for-cloudwatch-agent-commandline.html 请按照这个步骤:https://mp.weixin.qq.com/s/FmUdQcPx9Xjgiw-A0
EC2安装atop12amazon-linux-extras install epelyum install atop