首页 > 2020年02月02日 > 全部分享
(三)平面圆形
概述 由于基础篇已经比较详细,此篇只贴代码。 平面圆形代码 圆形也是由三角形组成的,三角形个数越多则越园。 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireCompon ...
分类:其他   时间:2020-02-02 20:15:33    收藏:0  评论:0  赞:0  阅读:64
elasticsearch之高亮查询
准备数据 PUT zhifou/doc/4 { "name":"石头", "age":29, "from":"gu", "desc":"粗中有细,狐假虎威", "tags":["粗", "大","猛"] } 默认高亮显示 highlight GET zhifou/doc/_search { "que ...
分类:其他   时间:2020-02-02 20:15:09    收藏:0  评论:0  赞:0  阅读:64
PHP 数组转字符串,与字符串转数组
1 implode 使用一个字符串将数组变成字符串 1 2 3 4 5 6 7 8 9 10 11 <br><?php $array = array('lastname', 'email', 'phone'); $comma_separated = implode(",", $array); ech ...
分类:编程语言   时间:2020-02-02 20:14:48    收藏:0  评论:0  赞:0  阅读:62
软件姿态解算
使用MPU6050硬件DMP解算姿态是非常简单的,下面介绍由三轴陀螺仪和加速度计的值来使用四元数软件解算姿态的方法。 我们先来看看如何用欧拉角描述一次平面旋转(坐标变换): 设坐标系绕旋转α角后得到坐标系,在空间中有一个矢量在坐标系中的投影为,在内的投影为由于旋转绕进行,所以Z坐标未变,即有。 转换 ...
分类:其他   时间:2020-02-02 20:13:30    收藏:0  评论:0  赞:0  阅读:88
5329数组大小减半
题目:给你一个整数数组 arr。你可以从中选出一个整数集合,并删除这些整数在数组中的每次出现。返回 至少 能删除数组中的一半整数的整数集合的最小大小。 来源:https://leetcode-cn.com/problems/reduce-array-size-to-the-half/ 法一:自己的代 ...
分类:编程语言   时间:2020-02-02 20:12:21    收藏:0  评论:0  赞:0  阅读:63
Android Studio & Android SDK 安装 到创建模拟器
学习自动化测试,安装Android Studio & Android SDK,这两天坑踩的多了,今天反复安装了好几次Android Studio,觉得特别的容易~ 记录下我的安装步骤: 一、下载Android Studio https://developer.android.google.cn/st ...
分类:移动平台   时间:2020-02-02 20:11:56    收藏:0  评论:0  赞:0  阅读:141
Cow Bowling
The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling- ...
分类:其他   时间:2020-02-02 20:11:21    收藏:0  评论:0  赞:0  阅读:74
065、Java面向对象之定义一个Book类,在主类中使用Book类
01.代码如下: package TIANPAN; class Book { // 定义一个新的类 String title; // 书的名字 double price; // 书的价格 public void getInfo() { // 此方法将由对象调用 System.out.println( ...
分类:编程语言   时间:2020-02-02 20:10:52    收藏:0  评论:0  赞:0  阅读:269
水仙花数 题解
春天是鲜花的季节,水仙花就是其中最迷人的代表,数学上有个水仙花数,他是这样定义的: “水仙花数”是指一个三位数,它的各位数字的立方和等于其本身,比如:153=1^3+5^3+3^3。 现在要求输出所有在m和n范围内的水仙花数。 Input输入数据有多组,每组占一行,包括两个整数m和n(100<=m< ...
分类:其他   时间:2020-02-02 20:10:22    收藏:0  评论:0  赞:0  阅读:102
作用域和闭包
作用域和闭包 作用域 JS中有两种作用域:全局作用域|局部作用域 栗子1 console.log(name); //undefined var name = '波妞'; var like = '宗介' console.log(name); //波妞 function fun(){ console.l ...
分类:其他   时间:2020-02-02 20:09:39    收藏:0  评论:0  赞:0  阅读:79
ts 交集类型
```tstype Event = { name: string; dateCreated: string; type: string;}// errortype UserEvent extends Event = { UserId: string; }// 交集类型type UserEvent =... ...
分类:其他   时间:2020-02-02 20:08:23    收藏:0  评论:0  赞:0  阅读:103
centos安装nginx并配置SSL证书
centos安装nginx并配置SSL证书 安装nginx的命令 sudo yum install epel-release sudo yum install nginx 让nginx随系统启动而启动 sudo systemctl enable nginx 常用命令 启动:nginx 停止:ngin ...
分类:其他   时间:2020-02-02 20:08:00    收藏:0  评论:0  赞:0  阅读:69
idea 创建scala maven工程
https://www.cnblogs.com/wangjianwei/articles/9722234.html https://blog.csdn.net/hongzhen91/article/details/81507140 ...
分类:其他   时间:2020-02-02 20:07:18    收藏:0  评论:0  赞:0  阅读:72
(二)平面plane
概述 本文用来实现一个平面plane,其与四顶点的四边形mesh相比,网格变多。 Mesh代码 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(ty ...
分类:其他   时间:2020-02-02 20:06:15    收藏:0  评论:0  赞:0  阅读:64
sqlmap使用手册
http://192.168.136.131/sqlmap/mysql/get_int.php?id=1当给sqlmap这么一个url的时候,它会:1、判断可注入的参数2、判断可以用那种SQL注入技术来注入3、识别出哪种数据库4、根据用户选择,读取哪些数据sqlmap支持五种不同的注入模式:1、基于 ...
分类:数据库技术   时间:2020-02-02 20:05:52    收藏:0  评论:0  赞:0  阅读:73
Bootstrap里的文件分别代表什么意思及其引用方法
关于Bootstrap打包的文件分别代表什么意思,官网也没有给出一个明确的解释,在网上查了一些资料,总价归纳了如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 bootstrap/ <!--主目录--> ├── css/ <!--CSS样式文件- ...
分类:其他   时间:2020-02-02 20:05:16    收藏:0  评论:0  赞:0  阅读:63
1.1.3:sklearn库中的标准数据集及基本功能
sklearn的数据集种类: 自带的小数据集(packaged dataset):sklearn.datasets.load_<name> 可在线下载的数据集(Downloaded Dataset):sklearn.datasets.fetch_<name> 计算机生成的数据集(Generated ...
分类:其他   时间:2020-02-02 20:04:51    收藏:0  评论:0  赞:0  阅读:119
git
如何删除GIT中的.DS_Store iOSReverse关注 12016.04.03 20:03:21字数 360阅读 32,239 .DS_Store 是什么 使用 Mac 的用户可能会注意到,系统经常会自动在每个目录生成一个隐藏的 .DS_Store 文件。.DS_Store(英文全称 Des ...
分类:其他   时间:2020-02-02 20:04:30    收藏:0  评论:0  赞:0  阅读:89
2020-01-21 【JAVA】集合(容器)与遍历
Collection接口 extends java.lang.lterable接口 List-->ArrayList ,LinkedList,Vector # 数组int array[] = new int[3]; for ( int i = 0; i < array.length; i++){ S ...
分类:编程语言   时间:2020-02-02 20:03:37    收藏:0  评论:0  赞:0  阅读:89
Typora常用快捷键
无序列表:输入 之后输入空格 有序列表:输入数字+“.”之后输入空格 任务列表: [空格]空格 文字 标题:ctrl+数字 表格:ctrl+t 生成目录:[TOC]按回车 选中一整行:ctrl+l 选中单词:ctrl+d 选中相同格式的文字:ctrl+e 跳转到文章开头:ctrl+home 跳转到文 ...
分类:其他   时间:2020-02-02 20:03:16    收藏:0  评论:0  赞:0  阅读:131
1233条   上一页 1 ... 13 14 15 16 17 ... 62 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!