06 2020 档案

摘要:/** * @description 将图片的base64 转变成Blob形式 * */ function dataURLtoBlob(dataurl) { let arr = dataurl.split(',') let mime = arr[0].match(/:(.*?);/)[1] let 阅读全文 »
posted @ 2020-06-29 21:59 艾孜尔江 阅读(1859) 评论(0) 推荐(0) 编辑
摘要:class Demo { /** * 根据图片 URL 直接获取到 DataURL **/ convertImgToDataURLviaCanvas(url, callback, outputFormat) { const img = new Image() img.crossOrigin = 'A 阅读全文 »
posted @ 2020-06-29 21:55 艾孜尔江 阅读(5585) 评论(0) 推荐(0) 编辑
摘要:在database.php中主要有三个地方要改,详情如下图: 如果数据库没有连接上,就会有各种奇怪的报错。 阅读全文 »
posted @ 2020-06-27 18:31 艾孜尔江 阅读(218) 评论(0) 推荐(0) 编辑
摘要:7步走起: 作者:艾孜尔江 阅读全文 »
posted @ 2020-06-27 09:31 艾孜尔江 阅读(2167) 评论(2) 推荐(3) 编辑
摘要:0. (1) Ctrl+Alt+T —— 快捷键打开终端; 1. 临时获取root权限: sudo -i //获取root权限后更改当前路径为根目录/root sudo -s //获取root权限后仍在当前目录下 2. 永久获取root权限:(以root账户登录)—— 先按1.中方法临时获得root 阅读全文 »
posted @ 2020-06-26 19:52 艾孜尔江 阅读(1029) 评论(0) 推荐(0) 编辑
摘要:How to install C/C++ development environment on Ubuntu 阅读全文 »
posted @ 2020-06-26 17:33 艾孜尔江 阅读(155) 评论(0) 推荐(0) 编辑
摘要:抵达项目根部的build.gradle文件中,将下方有关maven添加进去即可: buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven { url 阅读全文 »
posted @ 2020-06-25 17:07 艾孜尔江 阅读(400) 评论(0) 推荐(0) 编辑
摘要:网上看了很多教程,苦口婆心千言万语,看完感觉装个双系统像是个天大的事儿一样。而在官网找到的一份教程,则非常详细,一句废话也不多说,跟着走,就完成了。当然,前提是你自己在电脑上已经分好盘了,并且知道怎么在你电脑启动的时候进入你的U盘,启动已经烧录好的Linux系统,并根据提示进行选择,它会自动帮你检测 阅读全文 »
posted @ 2020-06-23 20:41 艾孜尔江 阅读(130) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200623091508570-1898982565.png) ![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200623091652517-787723507.png) ![](https://i 阅读全文 »
posted @ 2020-06-23 09:19 艾孜尔江 阅读(184) 评论(0) 推荐(0) 编辑
摘要:1. 检查是否装了cnpm,如果没装,执行下方命令全局安装cnpm: npm install -g cnpm --registry=https://registry.npm.taobao.org 2. 重启VS Code后再次打开终端查看cnpm是否已经安装成功,执行cnpm命令,如果不报错表示可以 阅读全文 »
posted @ 2020-06-23 08:59 艾孜尔江 阅读(719) 评论(0) 推荐(0) 编辑
摘要:设置电脑时间为24小时制: 点击前往设置方案 Windows10 隐藏任务栏下角的输入法图标: 点击前往设置方案 阅读全文 »
posted @ 2020-06-22 21:07 艾孜尔江 阅读(151) 评论(0) 推荐(0) 编辑
摘要:{ "todo-tree.tree.showScanModeButton": false, "git.enableSmartCommit": true, "git.autofetch": true, "files.autoSave": "off", "editor.fontSize": 21, "e 阅读全文 »
posted @ 2020-06-22 16:19 艾孜尔江 阅读(319) 评论(0) 推荐(0) 编辑
摘要:1. Create project: vue create my-project 2. Go into the project root cd my-project 3. Install dependancies: npm install 4. Run in browser to check: np 阅读全文 »
posted @ 2020-06-20 19:53 艾孜尔江 阅读(481) 评论(0) 推荐(0) 编辑
摘要:1. 在原先已有的Vue项目里面,打开终端执行vue add electron-builder ; 2. 选择合适的版本安装好这个插件,执行npm run electron:serve ; 3. 如果页面没有什么错误,就会弹出一个vue的应用窗口,说明准备工作已经完成; 4. 如果需要修改桌面应用界 阅读全文 »
posted @ 2020-06-19 16:09 艾孜尔江 阅读(6191) 评论(0) 推荐(0) 编辑
摘要:1. 安装node.js,这是最基础的环境; 2. 安装cnpm: npm install cnpm -g --registry=https://registry.npm.taobao.org 3. 全局安装vue-cli: cnpm install -g vue-cli 4. 安装vue-cli成 阅读全文 »
posted @ 2020-06-19 09:35 艾孜尔江 阅读(255) 评论(0) 推荐(0) 编辑
摘要:1. 分清主次,抛出需要讲述的框架/思路(分为几个主题、板块),力图在有限的时间内线把最主要、最核心、最能彰显与众不同的点呈现出来; 2. 由原因导向结果,以自问自答的形式,将会吸引更多人的注意力; 3. 将受众当作是什么技术都不知道的一群笨蛋,因此语言在叙述时从受众角度出发,用“受众的语言”说话, 阅读全文 »
posted @ 2020-06-19 08:09 艾孜尔江 阅读(473) 评论(0) 推荐(0) 编辑
摘要:Babel基础 默认导入与导出 按需导入与导出 直接导入 Webpack基础 阅读全文 »
posted @ 2020-06-18 13:28 艾孜尔江 阅读(163) 评论(0) 推荐(0) 编辑
摘要:int time = 1; void Update() { time++; this.GetComponent<RectTransform>().rotation = Quaternion.Euler(0, 0, time); } void OnDestroy() { time = 0; } 阅读全文 »
posted @ 2020-06-15 08:41 艾孜尔江 阅读(1744) 评论(0) 推荐(0) 编辑
摘要:文件结构: TS基础——重用类型: 阅读全文 »
posted @ 2020-06-13 21:43 艾孜尔江 阅读(115) 评论(0) 推荐(0) 编辑
摘要:1. 打开命令行; 2. 输入如下指令(确保数据库是开着的,下面的数据库名称和集合名称以及域的名称可以根据需求修改) mongoexport -d myDB -c user -f _id,name,password,adress --csv -o ./user.csv 3. 说明: mongoexp 阅读全文 »
posted @ 2020-06-13 11:39 艾孜尔江 阅读(2652) 评论(0) 推荐(0) 编辑
摘要:模板引擎实际上是Node.js的第三方模块。 原始语法的好处是可以在<%>xxx<%>中写js代码: 可以在子模板中设置日后可以放其他文件的“坑”: 作者:艾孜尔江 阅读全文 »
posted @ 2020-06-13 10:58 艾孜尔江 阅读(229) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200613104431509-94495610.png) ![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200613104627700-1096233780.png) 阅读全文 »
posted @ 2020-06-13 10:47 艾孜尔江 阅读(6139) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200613103715462-546657266.png) 阅读全文 »
posted @ 2020-06-13 10:37 艾孜尔江 阅读(118) 评论(0) 推荐(0) 编辑
摘要:对于单个json文件,如何导入mongodb数据库? 答:使用mongoimport命令 mongoimport --db [databaseName] --collection [collectionName] --file [filePath] 用命令行进入安装MongoDB的bin目录下,我安 阅读全文 »
posted @ 2020-06-12 20:49 艾孜尔江 阅读(4253) 评论(2) 推荐(4) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200612140902041-452153800.png) 阅读全文 »
posted @ 2020-06-12 14:10 艾孜尔江 阅读(3270) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200611223115883-1496051682.png)![](https://img2020.cnblogs.com/blog/1991547/202006/1991547-20200611223148084-787176501.png)![](https://img... 阅读全文 »
posted @ 2020-06-11 22:45 艾孜尔江 阅读(101) 评论(0) 推荐(0) 编辑
摘要:官方文档链接: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/ground-plane-guide.html https://library.vuforia.com/articles/Solution 阅读全文 »
posted @ 2020-06-11 09:53 艾孜尔江 阅读(408) 评论(0) 推荐(0) 编辑
摘要:Win10怎么设置定时自动关机?有许多用户为了让电脑定时关机而使用第三方工具,结果绑定了一堆软件,其实要实现自动关机只要使用系统本身的命令即可。 方法一:倒计时关机 点击开始菜单中的运行选项,或者按Win+R快捷键打开运行窗口,输入“Shutdown -s -t 600”回车,其中600代表600秒 阅读全文 »
posted @ 2020-06-10 22:24 艾孜尔江 阅读(418) 评论(0) 推荐(0) 编辑
摘要:开源软件的License是什么? 如今开源软件非常多,而且有很多功能强大、很受欢迎的开源软件,作为程序员的我们甚至很难想象如果没有开源软件我们怎么工作。然而开源软件的“License”却很容易被人忽略,很多人觉得开源就是无拘无束尽情免费享用 。试想一下,如果有一天你用了很多的开源软件向你收费,怎么办 阅读全文 »
posted @ 2020-06-10 08:16 艾孜尔江 阅读(2467) 评论(0) 推荐(0) 编辑
摘要:87版红楼 原著 第01集:林黛玉抛父进京都 第02集:宝黛钗初会荣庆堂 前五回 第03集:刘姥姥一进荣国府 第六、七回 第04集:探宝钗黛玉半含酸 第八、九、十回 第05集:王熙凤毒设相思局 十一、十二回 第06集:王熙凤协理宁国府 十三、十四、十五、十六回 第07集:大观园试才提对额 十七回 第 阅读全文 »
posted @ 2020-06-06 00:28 艾孜尔江 阅读(17990) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-06-04 21:35 艾孜尔江 阅读(0) 评论(0) 推荐(0) 编辑
摘要:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <div> <input type="file" id="files" style="displ 阅读全文 »
posted @ 2020-06-03 07:26 艾孜尔江 阅读(23470) 评论(1) 推荐(2) 编辑
摘要:/// <summary> /// 创建文件 /// </summary> /// <param name="path">文件路径</param> /// <param name="content">文件内容</param> public static void Save(string path, 阅读全文 »
posted @ 2020-06-02 10:35 艾孜尔江 阅读(263) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-06-01 20:17 艾孜尔江 阅读(0) 评论(0) 推荐(0) 编辑
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; /*by Alexander*/ //相机跟随脚本 public class CameraTracker : MonoBehaviour { 阅读全文 »
posted @ 2020-06-01 07:03 艾孜尔江 阅读(887) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示