- 博客(25)
- 资源 (13)
- 收藏
- 关注
原创 Unity 请求网页Xml
using System.Collections;using System.Collections.Generic;using System.Net;using UnityEngine;public class WebClientRequest : MonoBehaviour{ private void Start() { DownloadString("https://blo...
2019-01-29 16:21:51 406
原创 没有一个绝对安全的系统 (二) 破解路由器后台密码
此教程只为分享,请勿用于其它用途在学习黑客的道路,好难走啊,一堆乱七八糟的资料 还是翻墙出去学吧有时间补一期 kali linux 破解 wifi 密码以及 使用 mac 破解wifi 的教程破解路由器后台(mac os)1. 安装 hydrabrew install hydra2. 命令:admin 是路由器后台用户名 /Users/administra...
2019-01-29 00:21:00 12013 3
原创 Unity The name `Handheld' does not exist in the current contextThe name `Handheld' does not exist in
Unity 手机震动报错: The name `Handheld' does not exist in the current contextThe name `Handheld' does not exist in context出错原因(打包PC端 ,pc端无法编译震动这个命令,所以出错了) Handheld.Vibrate(); if (d_y > distance ...
2019-01-28 17:29:24 3188
原创 Python3 Learning(五) BeautifulSoup抓取小说
完全版本: # -*- coding:UTF-8 -*-from bs4 import BeautifulSoupfrom urllib import requestimport sys, requests, lxmlclass DownloadBooks(object): def __init__(self): self.serverURL = 'htt...
2019-01-28 01:22:54 330
原创 Python3 Learning(五)BeautifulSoup爬取网页小说
# -*- coding:UTF-8 -*-from urllib import requestfrom bs4 import BeautifulSoupif __name__ == "__main__": # 访问网址url download_url = 'https://www.qu.la/book/2125/10553318.html' # 请求访问者的信息...
2019-01-25 00:27:42 320
原创 Unity Error building Player: UnityException: Couldn't find Android device No Android devices foun
如果是这个报错:Error building Player: UnityException: No platforms found就用android的sdk manager更新android的sdk 如果是这个报错:Error building Player: UnityException: Couldn't find Android device No Android device...
2019-01-24 11:49:10 3486 1
原创 EasyAR 在透明物体上显示阴影
百度好多人的都是错的,这个是对的,自己用的 对了,如果你的阴影在现实世界中不明显,请将 光的shadow类型改成 hard shadow,就会向我这样,阴影很明显,方便做一些位置的校准和调试如果不行,将摄像机改成 正交视图Shader 下载地址:https://download.csdn.net/download/qq_39097425/10935655...
2019-01-24 11:14:14 960 2
原创 EasyAR Unet调节偏移量测试代码
using System.Collections;using System.Collections.Generic;using Sample;using UnityEngine;using UnityEngine.Networking;using UnityEngine.UI;public class SynVarTargetPos : NetworkBehaviour{...
2019-01-24 10:25:32 195
原创 Python3 Learning(四) from bs4 import BeautifulSoup报错
ma的,老子百度一个小时,狗东西答案都是大同小异的,你们倒是试了没啊,报错倒是解决了吗,我真他ma日了哈士奇了下面给出我自己摸索出来的正确的解决方案:第一种方法:环境 mac + pycharm2018.3 community版 ok,重启一下,完美,GameOver第二种方法,如果上面方法还是不行的话:清空无效的缓存 ...
2019-01-23 23:37:47 3360 2
原创 Beautiful Soup 4.4.0 中文文档
https://beautifulsoup.readthedocs.io/zh_CN/latest/
2019-01-23 22:18:59 261
原创 Python3 Learning(三) 利用requests抓取网页源码中文乱码问题
如果对你有帮助,请帮忙点个小小的赞哦,谢谢。看了一些教程抓取小说的示例,自己做的时候发现读出来的中文都是乱码的第一时间发现,要不就是网站屏蔽了python抓取信息,要不就是网页编码的问题,果不其然本人使用的是mac 软件是最新版的 py charm ce 的idea编写,挺好用的这个 idea # -*- coding:UTF-8 -*-import requests# ...
2019-01-23 22:09:12 1009 1
原创 Python3 Learning(二)Mac Install requests
第一次使用Python3 从网站获取数据1. Mac 安装 requestspip3 install requests 2. 代码# -*- coding:UTF-8 -*-import requestsif __name__ == '__main__': target = 'http://gitbook.cn/' req = requests.ge...
2019-01-22 23:20:07 174
原创 Python3 Learning(一)
1.Python字符串不能被改变。向一个索引位置赋值,比如word[0] = 'm'会导致错误;可以对字符串进行切片,获取一段子串。用冒号分隔两个索引,形式为变量[头下标:尾下标]。截取的范围是前闭后开的,并且两个索引都可以省略>>> word = 'ilovepython'>>> word[1:5]'love'2.Tuple(元组)1...
2019-01-22 22:37:19 201
原创 Unity prefab.SendMessage()和prefab.BroadcastMessage()
使用BroadcastMessage。它会将消息发送到所有包含的对象。SendMessage不会遍历层次结构if (PlayerUiPrefab != null){ GameObject _uiGo = Instantiate(PlayerUiPrefab); _uiGo.SendMessage ("SetTarget", this, SendMessageOptio...
2019-01-20 18:55:22 286
原创 Unity Debug.LogFormat()
Debug.LogFormat("We are Instantiating LocalPlayer from {0}", SceneManagerHelper.ActiveSceneName);将格式化的消息记录到Unity控制台。就跟string的format一样。例:int n=1; string.format("n = {0}", n);输出就是“...
2019-01-20 17:41:23 8005
原创 Unity Camera摄像机跟随角色
1.新建一个脚本 CameraWork.cs拖拽到你想要自动跟随的角色身上,如下图所示: 2. CameraWork.cs 代码如下: // --------------------------------------------------------------------------------------------------------------------/...
2019-01-19 18:13:26 2103
原创 Unity Animator SetFloat()函数
Animator. SetFloat(string name, float value);Parameters 参数name The name of the parameter. 该参数的名称。 value The new value for the parameter. 该参数的新值。 Description 描述Sets the value of ...
2019-01-19 17:42:53 17781 4
原创 Unity Unet同步变量 [SyncVar]
第一种方式: using System;using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Networking;using UnityEngine.UI;public class PlayerName : NetworkBehav...
2019-01-17 23:14:33 2975
原创 Arduino 入门教程(十三) SW520D 角度模块
难受,家里没有母对母的杜邦线,也没电焊,只能拿手固定住三根线的连接处,老是拿不好,有点没搞懂这个角度模块的作用,先写一下测试用的代码,明天去公司再看一下 SW520D 角度模块: 电路图的话就很简单的喽,led 的就不说了,VCC接 5v GND接GND ,DO接 A0 Arduino Code:int Led = 4; //定义LED 接口int ...
2019-01-09 23:25:05 3516
原创 Arduino 与 Processing 互动编程艺术(一) Serial
Arduino 发送消息,Processing 接收消息该Demo为 Arduino控制灯亮时processing控制球向右转,灯灭processing球向左转,在processing上鼠标左键拖动控制球的密度,鼠标右键保存图片Arduino端:每隔5秒灯亮,每隔5秒灯灭,电路图太简单,我就不展示了Arduino Code:int ledPin = 13;void setu...
2019-01-09 18:36:18 5174 5
原创 Arduino 入门教程(十二)湿度传感器
Potential diagram: 下载安装 DHT 库Arduino Code:#include "DHT.h"#define DHTPIN 2 // 连接的针脚号#define DHTTYPE DHT11;// 定义传感器类似 DHT11DHT dht(DHTPIN, DHTTYPE); // 声明一个 dht 函数void setup() { // 打...
2019-01-07 00:21:28 3836 3
原创 Arduino 入门教程(十一)使用超声波和Servo实时显示测量的距离
Potential diagram:schematic diagram :Mathematical formula:Arduino Code:#include <Servo.h>int trigPin = 13;int echoPin = 11;int servoControlPin = 6;float pingTime;float target...
2019-01-06 19:11:32 2221
原创 Arduino 入门教程(十) 测量超声波的速度
Potential diagram:代码:int tripPin = 13; // 传感器访问led针脚13int echoPin = 11; // 传感器输出针脚 11float pingTime ; // 超声波发出到传回来的时间float speedOfSound;// 声音的速度int targetDistance = 6; // 传感器离碰撞物体的距离void s...
2019-01-06 18:22:54 2434 2
原创 Arduino 入门教程(九)按键开关LED灯
Potential diagram:实物连接:(以下图为准,上图没有连接8号针脚输出的 LED灯)Arduino Code: // 这里的输入和输出是针对Arduino电路板而言// 定义按键输入针脚号为2号针脚const int buttonPin = 2;const int ledPin = 8;// 定义按键状态变量初始值为0int buttonState =...
2019-01-05 20:06:05 4999
原创 Arduino 入门教程(八)旋转按钮控制LED亮度
代码如下:// 定义旋转电位计模拟信号输入针脚号const int analogInPin = A0;// 定义LED神灯数字信号针脚号const int analogOutPin = 9;// 定义存储旋转电位计模拟信号数值int sensorValue = 0;// 控制LED神灯亮暗的模拟信号数值int outputValue = 0;// 对Arduino电路板或...
2019-01-05 17:56:59 4678
Azure Kinect Examples for Unity 1.15.unitypackage
2021-01-26
KinectRuntime-v2.2_1811.zip
2020-12-19
Fixel FFT Wizard 1 And 2.zip
2020-10-28
Frameworkv0_1_18.unitypackage
2019-10-24
EasyAR 显示阴影Shader
2019-01-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人