移动平台
搭建Homebrigde链接: https://blog.csdn.net/u010708922/article/details/80130483 https://www.feng.com/post/10857822?shareForumUrl=1&from=groupmessage&isappin ...
Django有俩个 app ,假设 app1 和 app2 在 app1 的models.py中: from app02.models import Couponclass Account: pass 在app2的models.py中: from app01.models import Accoun ...
aixos基础用法 <div> <button onclick="testGet()">GET请求</button> <button onclick="testPost()">POST请求</button> <button onclick="testPut()">PUT请求</button> <bu ...
from PIL import Image import numpy as np import tensorflow as tf import matplotlib.pyplot as plt model_save_path = "./checkpoint/mnist.ckpt" model = t ...
''' 创建三个进程,让三个进程分别执行功能,关闭进程 Pool 创建 ,apply执行 , close,join 关闭进程 ''' from multiprocessing import Pool import os,time,random def worker(msg): # 创建一个函数,用来 ...
1 var checkEmail = (rule,valur,cb) => { 2 // 验证邮箱的正则表达式 3 const regEmail = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0- 4 9]+\.([a-zA-Z]{2,4})$/; 5 if(ragEmai ...
官网:http://www.axios-js.com/zh-cn/docs/ 什么是 axios? Axios 是一个基于 promise 的 HTTP 库,可以用在浏览器和 node.js 中。 特性 从浏览器中创建 XMLHttpRequests 从 node.js 创建 http 请求 支持 ...
import axios from 'axios' const isDev = process.env.NODE_ENV 'development'//判断是否为生产环境 const service = axios.create({ baseURL: isDev ? 'http://rap2.tao ...
// for (NSString *fontFamilyName in [UIFont familyNames]) { // NSLog(@"family: '%@'", fontFamilyName); // for (NSString *fontName in [UIFont fontNames ...