1. 安装 UFW
sudo apt update
sudo apt install ufw
sudo apt update
sudo apt install ufw
SET allow_experimental_object_type=1;
CREATE table rc_field_json(fieldData JSON,event String, timestamp DATETIME64) ENGINE = MergeTree ORDER BY (event, timestamp)
飞书实现 @ 人操作
第一步
自建应用获取 tenant_access_token (可以缓存2个小时)
https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal
说明: app_access_token 的最大有效期是 2 小时。如果在有效期小于 30 分钟的情况下,调用本接口,会返回一个新的 app_access_token,这会同时存在两个有效的 app_access_token。
官方文档:https://developer.apple.com/documentation/storekit/in-app_purchase/
IAP 配置流程:https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/overview-for-configuring-in-app-purchases
此外,每个应用可以创建多达10,000个内购产品,每个内购必须关联一个应用,且可以在多个平台版本(iOS、macOS、tvOS)间共享,但不能跨不同应用共享。实现应用内购需要在你的应用服务器和苹果的服务器之间进行配置,并在App Store Connect中进行设置和管理。
项目地址:https://github.com/qkqpttgf/OneManager-php
前段时间七牛的域名没了,图床没了,博客图片没地方放。只好再找个地方安置我的博客图片。
对图片存储,我有以下需求:
看了一遍,选择了 OneManager + herokuapp 的方案。图片链接用nginx反代 迁移过去。
步骤:
Maven是一个项目管理工具,它包含了一个项目对象模型 ,一组标准集合,一个项目生命周期,一个依赖管理系统,和用来运行定义在生命周期阶段(phase)中插件(plugin)目标(goal)的逻辑
Maven可以管理:
思想:约定优先于配置,例如Maven的项目有默认的项目结构,默认在特定的位置查找文件。还有Maven的父pom包含一系列默认设置。
到目前为止,tensorflow 仍未支持Python3.7,因为Archlinux自带的Python 已经是3.7了,所以不得不编译安装一个旧的Python。 参考 https://github.com/tensorflow/tensorflow/issues/17022#issuecomment-422899533
wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz
tar -xvf Python-3.6.6.tar.xz
cd Python-3.6.6
./configure
sudo make altinstall
激活安装在CrossOver上的Office简直是难过登天,我爬贴无数,翻了好多资料,才发现有用的办法居然就贴在 CrossOver 官网的Tips & Tricks上,晕死。
Activation I've never been able to get regular internet activation to work with Office 2007 and now with Office 2010. I've always had to use the telephone activation, which is rather annoying. I finally stumbled across a solution that worked for me. You'll need close down any running office applications, then in Crossover select the Office 2010 bottle, hold down the Option key, and choose the Open Shell menu item that appears under the Bottle menu. wine ./windows/system32/cscript.exe ./Program\ Files/Microsoft\ Office/Office14/OSPP.VBS /inpkey: In Crossover Linux skip the Open Shell thing and in a terminal just run: /opt/cxoffice/bin/wine ~/.cxoffice/(Office 2010 bottle name)/drive_c/windows/system32/cscript.exe ./Program\ Files/Microsoft\ Office/Office14/OSPP.VBS /inpkey: Then open up any office application and follow the activation prompts. This time it should work instead of giving you the "An unspecified error has occured 0xC002001C" error."
新年第一次作死 无意间听说可以在腾讯云上安装Archlinux,兴趣大增,因为Archlinux上安装软件很方便,而且最近想弄一个备份服务器。
不管机器是Linux还是Windows,思路基本上差不多。 首先查看网络配置,因为腾讯云不使用DHCP,获取到网络配置(IP地址,网关,掩码,DNS服务器)以方便后序安装。
都是利用grub引导Archlinux进行安装。 需要划出一个分区,因为安装时会格式化分区,把Archlinux相关文件解压到根目录。卷标根据iso改成ARCH_XXXXXX的形式。 然后Grub 引导,即可顺利进入Archlinux安装
博客已经许久没有更新,现在更新下 使用了 新的vps,启用ssl http2 。
那么久不更新博客,主要是懒了, 平时学的东西习惯记到纸上,很少会想起有个博客可以记些东西。
我的VPS是debian9 的系统
添加nginx的官方源
deb http://nginx.org/packages/debian/ stretch nginx
deb-src http://nginx.org/packages/debian/ stretch nginx