Description:Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to t ...
分类:
其他好文 时间:
2021-03-18 14:37:13
阅读次数:
0
由于有好一段时间没做GStreamer相关项目了,早前的一些记录需要做下记录,以待需要的时候查阅。 还是分几个小节来介绍吧,这样思路清晰一点。(格式有点乱,没时间整理,读者自行脑补) 1. 播放视频、音频 音频:gst-launch-1.0 filesrc loaction=123.mp3 ! ma ...
分类:
其他好文 时间:
2021-03-18 14:33:51
阅读次数:
0
错误介绍 在django项目中,当你从非项目文件夹导包时,在终端运行该文件报无该模块时,是否很困惑,因为当你直接重编辑器pycharm运行又是正常的。 错误情况 from xxx import xx ModuleNotFoundError: No module named "xxx" 错误原因 直接 ...
分类:
其他好文 时间:
2021-03-18 14:29:59
阅读次数:
0
File "/usr/bin/yum-config-manager", line 135 except yum.Errors.RepoError, e: ^SyntaxError: invalid syntax vim /usr/bin/yum-config-manager #!/usr/bin/p ...
分类:
其他好文 时间:
2021-03-18 14:10:14
阅读次数:
0
<form:radiobuttons path="isInsuredCasualty" class="input-xxlarge" items="${fns:getDictList('yes_no')}" itemLabel="label" itemValue="value" htmlEscape= ...
分类:
Web程序 时间:
2021-03-18 14:02:48
阅读次数:
0
/** * * @param BASE64str bas64字符串 * @param path 存储地址 * @return 存储地址 */ public static String BASE64CodeToBeImage(String BASE64str,String path){ Buffere ...
分类:
其他好文 时间:
2021-03-18 13:59:41
阅读次数:
0
看看我 select (select '<>' from Table for xml path(''),TYPE).value('.','NVARCHAR(MAX)') ...
分类:
数据库 时间:
2021-03-17 15:10:52
阅读次数:
0
File类 创建一个file类(没有无参构造)的对象,并与文件进行关联 用File类来操作文件,代码如下: package com.bjsxt.test01; import java.io.File; public class Test { public static void main(Strin ...
分类:
其他好文 时间:
2021-03-17 14:53:21
阅读次数:
0
ACL ACL是为了解决某种特殊环境下的,用户权限需求。 setfacl : 设置acl权限 getfacl :查看ACL权限 acl权限归属 u : 指定用户 g : 指定组 o : 修改其他用户权限 m : 指定mask权限 注:默认情况下,ACL权限跟普通权限保持一致。 基本用法 修改属主的权 ...
分类:
其他好文 时间:
2021-03-17 14:46:44
阅读次数:
0
从tomcat官网上下载了apache-tomcat-5.5.36.zip,在window xp系统里面解压以后,直接放在了linux服务器上。 进入tomcat/bin目录,执行启动的时候出现如下错误: [root@test bin]# ./startup.shCannot find ./cata ...
分类:
其他好文 时间:
2021-03-17 14:39:49
阅读次数:
0