在入口文件index.php设置 error_reporting(E_ALL); ini_set('display_errors', 'On'); ...
分类:
其他好文 时间:
2020-05-02 10:13:38
阅读次数:
63
$CF\ 638\ (Div2)$ $A.$ 给定 $n$ 个数,分别为 $2^1,\ 2^2,\ ...,\ 2^n$,保证 $n$ 是偶数,是否可以将这些数分成两组,使得两组之间数字和的差最小,输出这个差值 注意到 $2^1 + 2^2 +.. + 2^{n 1} = 2^n 1$ 如果一组拿到 ...
分类:
其他好文 时间:
2020-05-02 09:55:41
阅读次数:
259
网上大部分文章比较老,最近这几年已经有新的接口了 简单一点 1。启动录音 #define DEVICE "default"int StartPCMRecording(AUDIO_RECORD *pAudioRecord) { int rc, size, dir; snd_pcm_t *handle; ...
分类:
其他好文 时间:
2020-05-02 00:04:25
阅读次数:
104
pavucontrol set config ...
分类:
系统相关 时间:
2020-05-02 00:01:29
阅读次数:
83
上一篇:Oracle入门学习一 学习视频:https://www.bilibili.com/video/BV1tJ411r7EC?p=15 算术运算符:+ - * / 逻辑运算符:and or not 比较运算符:“=”、“<”、“>”、“<=”、“>=”、“<>”、“!=”。注意“=”是等于的意思 ...
分类:
数据库 时间:
2020-05-01 22:28:24
阅读次数:
97
flex中align-self给指定的iitem(子元素)设置对齐方式 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, ...
分类:
其他好文 时间:
2020-05-01 20:47:21
阅读次数:
72
var str='rAnGe iS playING danGang'; //根据空格将字符串切割为数组 var arr=str.split( ' ' ); //遍历数组,得到每个单词 for(var i=0;i<arr.length;i++){ //找到数组的首字母,并转为大写 var a=(arr ...
分类:
其他好文 时间:
2020-05-01 20:36:11
阅读次数:
365
执行以下命令给容器root权限: docker exec -u 0 -it mycontainer bash 在容器里root用户的默认ID是0,所以指定root用户的ID即有root权限 或者直接些root 用户 docker exec -it --user root mycontainer ba ...
分类:
其他好文 时间:
2020-04-30 23:12:43
阅读次数:
186
A:https://codeforces.ml/contest/1337/problem/A x取b,y和z取c即一定可以构成三角形 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int main() 5 { 6 int t; cin > ...
分类:
其他好文 时间:
2020-04-30 21:34:46
阅读次数:
65
1.安装MongoDB 安装 配置环境变量 C:\Program Files\MongoDB\Server\3.2\bin 在c盘根目录 创建一个文件夹 data 在data中创建一个文件夹db 打开cmd命令行窗口 输入 mongod 启动mongodb服务器 32位注意: 启动服务器时,需要输入 ...
分类:
数据库 时间:
2020-04-30 17:15:00
阅读次数:
76