摘要:
vi编辑器 目录常用命令pwd #显示工作路径 ll #显示目录详细内容 cat file1 #从第一个字节开始正向查看文件的内容 tree #显示文件和目录由根目录开始的树形结构(1) lstree #显示文件和目录由根目录开始的树形结构(2) cd /home #进入 '/ home' 目录' 阅读全文
摘要:
1、安装django pip install -i https://pypi.tuna.tsinghua.edu.cn/simple django 2、新建项目 django-admin startproject demo9 3、运行django项目(先进入项目目录) cd demo9python 阅读全文
摘要:
获取mac地址 import uuid def get_mac_address(): node = uuid.getnode() mac = uuid.UUID(int = node).hex[-12:] return mac axios对应的fastapi服务端中间件CORSMiddleware 阅读全文
摘要:
示例图: 下载完成后,将 zip 插件包拖入 IDE 界面中。 如果无法拖动安装,你可以在Settings/Preferences... -> Plugins 里手动安装插件(Install Plugin From Disk...): PS: macOS 系统可能会自动解压,然后把zip包丢进回收站 阅读全文
摘要:
// For应用 const todos = [ { id : 1, text : 'Take out trash', isCompleted : true }, { id : 2, text : 'Meeting with boss', isCompleted : true }, { id : 3 阅读全文
摘要:
*1、安装Node.js* *1.1官网下载安装* 地址https://nodejs.org/zh-cn/ *1.2安装完检查* Ctrl+r写入cmd出现命令提示行 然后打入: node -v查看node版本 npm -v查看npm版本 安装过程如果改动运行目录,比喻为:D:\nodejs *1. 阅读全文
摘要:
kivy中文文档https://github.com/nkiiiiid/Kivy-CNkivy打包环境虚拟机,kivy调试https://github.com/nkiiiiid/kivy-apkkivy打包环境搭建指南https://github.com/nkiiiiid/kivydev-notek 阅读全文
摘要:
gradle同步问题1、gradle properties文件中增加proxy:org.gradle.jvmargs=-Xmx1536m -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=10808 2、设置菜单中增加proxy 阅读全文
摘要:
kivydev64 v5.0打包说明 默认打包python3代码,python2没有测试,可以在buildozer.spec中修改。在项目目录下运行打包命令: kdpp go 等同于 buildozer android debug 第一次打包使用kdpp go生成我修改过的spec文件,之后可以用b 阅读全文
摘要:
android函数方法 广播可用代码import android droid = android.Android() #准备参数 activity = 'com.twofortyfouram.locale.intent.action.FIRE_SETTING' extras = {} extras[ 阅读全文