上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 一. 安装Tomcat 1.首先确保系统java已下载并安装 2.下载Tomcat,选择zip包。 地址:https://tomcat.apache.org/download-90.cgi 解压,cd到文件夹目录中准备下一步 3.给予bin目录下的所有.sh文件以权限 sudo chmod +x . 阅读全文
posted @ 2021-01-25 20:08 Asp1rant 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 参考博客: https://www.cnblogs.com/lanhaicode/p/10546257.html https://www.cnblogs.com/woxiaosade/p/10628388.html 一. 堆的概念 堆是一种非线性结构,可以把堆看作一个数组,也可以被看作一个完全二叉树 阅读全文
posted @ 2021-01-12 11:19 Asp1rant 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 参考:https://angular.cn/docs 为Angular官网文档,介绍非常详细。 1. 学习Angular的基础 Html,前端基本知识 Javascript, Typescript编程语言 NodeJS nodejs安装angular包 npm install -g @angular 阅读全文
posted @ 2021-01-03 18:38 Asp1rant 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 代码形式(Code Shape) 编译器生成IR后,必须将每个源语言语句映射为目标机指令构成的操作序列。编译器必须在许多备选方法中做出选择,以实现语言中的每个结构。编译器所做的选择影响最终代码的质量。 1.分配存储结构 物理寄存器: 目标ISA中一个命名的寄存器 虚拟寄存器: IR使用的一个符号名, 阅读全文
posted @ 2021-01-03 17:21 Asp1rant 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 转自博客:https://blog.csdn.net/v_july_v/article/details/7041827# 1. 暴力匹配算法 假设现在我们面临这样一个问题:有一个文本串S,和一个模式串P,现在要查找P在S中的位置,怎么查找呢? 如果用暴力匹配的思路,并假设现在文本串S匹配到 i 位置 阅读全文
posted @ 2021-01-03 16:39 Asp1rant 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 转自:https://zhuanlan.zhihu.com/p/103665076 ECC原理介绍 首先我们来学习一下ECC(椭圆曲线加密)的原理。ECC全称为“Ellipse Curve Ctyptography”,是一种基于椭圆曲线数学的公开密钥加密算法。椭圆曲线在密码学中的使用是在1985年由 阅读全文
posted @ 2020-12-16 19:42 Asp1rant 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: Google提供的api现已全部集成到了google clouds,使用起来比较麻烦。本文介绍如何使用Google的api进行开发 以Google Translation 谷歌翻译为例 第一步 创建一个Google账号,然后登陆https://console.cloud.google.com/ 点创 阅读全文
posted @ 2020-12-14 20:22 Asp1rant 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 参考博客: https://segmentfault.com/a/1190000017831088 https://www.cnblogs.com/l199616j/p/11195667.html https://blog.csdn.net/qq_31201781/article/details/9 阅读全文
posted @ 2020-12-07 20:08 Asp1rant 阅读(124) 评论(0) 推荐(0) 编辑
摘要: ThingWorx支持Java SDK进行开发,本文介绍如何运用Java进行开发 准备环境: 1. 一个Java IDE,Eclipse支持ThingWorx的extension,用最新版本的Eclipse即可。 2. Thingworx Java SDK 3. Eclipse extension 阅读全文
posted @ 2020-12-06 17:18 Asp1rant 阅读(709) 评论(1) 推荐(0) 编辑
摘要: Thingworx概述 Thingworx是PTC公司开发的IOT平台。 一个最简单的Thingworx应用架构: 上图中: Thing/Devices: 这一层包含与ThingWorx平台连接、向其发送数据和从其接收内容的事物、设备、代理和其他资产。 Users/Clients: 这一层包含人们用 阅读全文
posted @ 2020-12-02 20:29 Asp1rant 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: std::tuple std::tuple是C++11中引入的数据结构,可以将不同类型的值放到一起,类似python中的tuple 常用方法: std::get 按索引获取值,如类型不是const,也可以用来设置值,如:std::get<0>(tuple) = value; std::tuple_s 阅读全文
posted @ 2020-12-02 17:32 Asp1rant 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 一. 仿函数(Functor) 仿函数(functor)又称为函数对象(function object)是一个能行使函数功能的类。仿函数的语法几乎和我们普通的函数调用一样,不过作为仿函数的类,都必须重载operator()运算符,举个例子: 1 class Func{ 2 public: 3 voi 阅读全文
posted @ 2020-11-12 19:12 Asp1rant 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 因个人偏好红黑配色,为博客写了一个红黑配色的CSS代码,分享给大家。 首先html添加了Google Fonts中两个比较喜欢的字体(页眉Html代码) 1 <link href="https://fonts.googleapis.com/css?family=Anton" rel="stylesh 阅读全文
posted @ 2020-10-23 19:33 Asp1rant 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.geeksforgeeks.org/a-search-algorithm/ https://www.101computing.net/a-star-search-algorithm/ 一. 概述: A*算法是一种包含了启发的Djkstra算法,可以用来求带权值的图的最 阅读全文
posted @ 2020-10-19 18:32 Asp1rant 阅读(3812) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.banbeichadexiaojiubei.com/index.php/2020/02/26/%e8%87%aa%e5%8a%a8%e9%a9%be%e9%a9%b6%e8%b7%af%e5%be%84%e8%a7%84%e5%88%92-dijkstra%e7%ae%9 阅读全文
posted @ 2020-10-17 21:12 Asp1rant 阅读(1365) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页