安装
apt install certbot python3-certbot-apache
申请Apache的SSL证书
certbot –apache
重启apache服务
/etc/init.d/apache2 restart
查看证书自动更新服务
systemctl status certbot.timer
量化自我和极简主义的窝藏点
技术
安装
apt install certbot python3-certbot-apache
申请Apache的SSL证书
certbot –apache
重启apache服务
/etc/init.d/apache2 restart
查看证书自动更新服务
systemctl status certbot.timer
1. 查看项目使用的unity editor版本
ProjectSettings/ProjectVersion.txt
2. Unity下载文件有c1后缀, 中国版; 无c1后缀, 全球版; 18及以前的中国版多点东西, 较新的没太大区别;还有个比较重要的是, UnityHub也分中国版和全球版, 中国版Hub能识别中国版和全球版Editor, 并且Hub中内容丰富一点, 包括社区内容之类的;全球版Hub则只能识别全球版Editor。
国际版下载: https://unity.com/releases/editor/archive#download-archive-2021
中国版下载: https://unity.cn/releases/full/2021
在gradle.properties,文件中添加内容
org.gradle.daemon=true
在build.gradle(:root)中,可以看到mavenCentral()拖慢,注释mavenCentral(),另外需要镜像
maven { url ‘http://maven.aliyun.com/nexus/content/groups/public/’ }
点击File / Sync project with Gradle files
Remove this chunk of code from your build.gradle(:root) in the root directory
apply plugin: ‘com.android.application’
and
android
{
compileSdkVersion 21
buildToolsVersion “20.0.0”
defaultConfig
{
applicationId “xxx.xxx.xxx”
minSdkVersion 15
targetSdkVersion 19
versionCode 1
versionName “0.5”
}
}
add below in the build.gradle(:root)
apply plugin:’base’
add below in the build.gradle(:app)
android
{
packagingOptions
{
exclude
‘AndroidManifest.xml’
}
}
环境:MacOS
查看版本:java -version
查看路径:/usr/libexec/java_home -V
Ubuntu 20.04 安装python3.9
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install python3.9
#python3 -V
********************************************
Ubuntu 18.04 安装python3.8
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install python3.8
#python3.8 –version
环境: SEGGER Embedded Studio for ARM v7.10, nRF5 SDK 17.1.0
使用SEGGER编译示例ble_app_uart,出现一下问题及相应的解决思路:
问题1: retarget.c:101:23: error: unknown type name ‘__printf_tag_ptr’
修改retarget.c:99
#if defined(__SES_VERSION) && (__SES_VERSION >= 34000)
#if defined(__SES_VERSION) && (__SES_VERSION >= 34000) && !defined(__SEGGER_RTL_VERSION)
问题2: “.text is larger than specified size” and “.rodata is larger than specified size”
在项目目录下找到flash_placement.xml” 找到两行
<ProgramSection alignment=”4″ load=”Yes” name=”.text” sizeof=”0x4″/> <ProgramSection alignment=”4″ load=”Yes” name=”.rodata” sizeof=”0x4″ />
将上面的sizeof=”0x4″ 删除
问题3: libc_v7em_fpv4_sp_d16_hard_t_le_eabi_balanced.a(fileops.o): in function `putchar’:”
修改”Library I/O” (under Project options >> Code >> Library) from “None” to “RTT”
首先加载CrossPlatformInput资产,将其中Prefabs下面的MobileSingleStickControl添加到游戏场景上。

然后将玩家脚本中的坐标轴获取方法
float x = Input.GetAxisRaw(“Horizontal”);
float y = Input.GetAxisRaw(“Vertical”);
修改如下:
float x = CrossPlatformInputManager.GetAxisRaw(“Horizontal”);
float y = CrossPlatformInputManager.GetAxisRaw(“Vertical”);

解决方法:关掉网络或使用VPN
Just go to App bundle explorer and remove the needed abb. You can do it with these steps:
Keep in mind that you need to detach the specific APK/Bundle from any draft releases and save it. Otherwise, the delete option will not be available.
git submodule update –init –recursive
出错信息:
can not find github.com port 9418
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Connection timed out
fatal: clone of ‘git://github.com/mapsme/Alohalytics.git’ into submodule path ‘/root/omim/3party/Alohalytics’ failed
解决方法如下:
git config –global url.”https://github.com/”.insteadOf git://github.com/