05 2021 档案
摘要:服务器硬盘扩展设置: 1.在虚拟机界面上“硬盘”-“实用工具”-“扩展”,输入扩展后的值(不能大于当前物理盘大小) 2.扩展完成后,进入虚拟机centos系统,输入fdisk -l,查看到sda容量变大。 3.输入 fdisk /dev/sda 输入 m #列出帮助 输入 n #添加新分区 输入 p
阅读全文
摘要:实现同步识别和转语音的micro.py from win32com.client import constants as _constants import win32com.client import pythoncom import time from threading import Thre
阅读全文
摘要:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> void *myfunc1(void *arg); void *myfunc2(void *arg)
阅读全文
摘要:# -*- coding: utf-8 -*- import traceback import base64 import os # a = 'a' * 1024 * 1024 * 1000 # print 'len(a): %s' % len(a) def getfilebase64encode(
阅读全文
摘要:安装目录 /usr/local/bin/ffmpeg tar jxvf /usr/loca/bin/ffmpeg-4.3.2.tar.bz cd ./ffmpeg-4.3.2 ./configure --enable-shared --prefix=/usr/local/bin/ffmpeg --d
阅读全文
摘要:# test_table.py #-*- coding:utf-8 -*- import sys # from PyQt4.QtCore import Qt # from PyQt4.QtWidgets import QWidget, QApplication, QLabel, QTableWidg
阅读全文