ERIKA是一款开源的、遵循OSEK/VDX标准的实时操作系统。 一、周期任务的实现(方式一:使用普通COUNTER,Alarm通过SetRelAlarm()函数手动启动和设置) (1)code.c /* ERIKA Enterprise. */ #include "ee.h" /* TASKs * ...
分类:
其他好文 时间:
2021-05-03 12:37:43
阅读次数:
0
Low 命令注入Low级别的,我们先看一下源码 <?php if( isset( $_POST[ 'Submit' ] ) ) { // Get input $target = $_REQUEST[ 'ip' ]; // Determine OS and execute the ping comma ...
分类:
其他好文 时间:
2021-05-03 12:31:22
阅读次数:
0
CUDA not support fork os.register_at_fork进行清理锁操作(需要拿到锁,因此一般为库的作者使用,提高库的多进程兼容性) Fork VS Spawn Spawn的缺点 Guess import sys import multiprocessing as mp de ...
分类:
编程语言 时间:
2021-05-03 12:10:27
阅读次数:
0
https://www.serverless.com/learn/comparisons/ Docker Docker packages software into standardized units (containers) to make it easier to manage applica ...
分类:
其他好文 时间:
2021-05-03 11:49:54
阅读次数:
0
OS:CentOS 7.3.1611 按照下述的单机MySQL 8.0安装完之后,将该机复制两台,分别修改IP为192.168.1.78,以及两台新机器配置文件/etc/my.cnf的server_id,还有要去数据路径下删掉auto.cnf不然配置不成。vim /etc/hosts192.168. ...
分类:
数据库 时间:
2021-04-29 12:13:13
阅读次数:
0
开发工具下载地址 https://q.qq.com/wiki/tools/devtool/#开发者工具下载 开发阅读文档 https://q.qq.com/wiki/develop/miniprogram/frame/ ...
分类:
微信 时间:
2021-04-29 11:47:56
阅读次数:
0
import tensorflow as tf import time import numpy as np import matplotlib.pyplot as plt import sys from tensorflow import keras import os from tensorfl ...
分类:
其他好文 时间:
2021-04-29 11:43:25
阅读次数:
0
def reverse_str(s): from functools import reduce res = s[::-1] # 切片 res = "".join(list(reversed(s))) # 反转函数 res = reduce(lambda x,y:y+x, s) # reduce p ...
分类:
其他好文 时间:
2021-04-28 12:06:36
阅读次数:
0
# #一、填写请求头 #二、配置程序延迟时间 #三、填写源IP文件 #四、经了解,该接口限制一分钟采集45个 # import requests import json import os from fake_useragent import UserAgent from xlwt import W ...
import pandas as pd import os import re path = "./files/" files = os.listdir(path) # 用于存放Excel,里面的每个元素类型为:pandas.core.frame.DataFrame list_excel = [] ...
分类:
编程语言 时间:
2021-04-27 14:43:38
阅读次数:
0