- 博客(13)
- 问答 (1500)
- 收藏
- 关注
转载 linux core文件乱码,.net core在linux下图片中文乱码
不得不吐槽一下,.net core 2.2的System.Drawing在linux有很多坑,又是依赖libgdiplus,又是依赖gdiplus,依赖解决了又来了个中文乱码,怎的一声哀叹这里做个笔记:因为.net core在linux的画图功能依赖于libgdiplus插件,所以需要安装CentOS:sudo yum install libgdiplus-develUBuntu:sudo apt...
2021-04-30 09:54:37 315
转载 linux输入命令对话框,Linux里命令的对话框whiptail
Linux里面可以在命令行里形成对话框,用光标上下,左右选择,一屏一屏的问答选择,填写。whiptail是Linux不需要另行安装,默认就有的,其它的比如dialog需要另行安装,很麻烦,虽然功能比较好些。帖一个写好的东西。#!/bin/bashtrap "" 2while truedoOPTION=$(whiptail --title "Email Manager" --nocancel --m...
2021-04-29 23:30:48 146
转载 Linux禁止ftp用户删除文件,vsftpd使用虚拟用户实现可上传、下载、不能删除
1、vsftpd安装ip:192.168.20.129 Centos 6.4-64系统)[root@localhost ~]# yum install -y vsftpd db4-utils2、配置vsftp[root@localhost ~]#mv /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.bak[root@localhost ~]# vim...
2021-04-29 11:51:45 1774
转载 迅雷 linux 命令行 版本号,在Linux系统下使用wine运行迅雷5的方法
一、下载ies4linux去 http://www.tatanka.com.br/ies4linux/page/Installation 下载ies4linux的文件包(目前版本为2.99),然后解压缩。注意:这个网站被大陆和谐了,需要跳墙。至于怎么跳,诸位就各显神通了:-)一些发行版的软件源里也会有ies4linux的包,比如Ubuntu、Arch。这时就只要apt-get或者pacman一下就...
2021-04-29 06:09:37 211
转载 mac系统下登录linux,macOS使用SSH Key登录Linux服务器
2、远程服务器ssh设置此时还是需要用用户名和密码登录远程Linux服务器。使用vi编辑 /etc/ssh/sshd_config 文件,先打开PubkeyAuthentication和PermitRootLogin,一般只要把这几个参数前面的#(注释符)删掉即可。PubkeyAuthentication yesPermitRootLogin yes重启ssh服务systemctl restart...
2021-04-28 23:47:41 566
转载 Linux把文件移动到容器外,linux – 如何将文件从dockerfile复制到主机?
构建时,您有机会将文件从主机复制到您正在构建的映像(使用COPY directive或ADD)您还可以使用docker cp将文件从容器(已运行docker的映像)复制到主机(通常,cp也可以从主机复制到容器)但是你无法复制“来自Dockerfile”:Dockerfile只是一个指定如何构建图像的配方.如果要将一些可能在构建期间生成的文件(例如calling a script generates...
2021-04-28 16:08:02 234
转载 oracle逐级汇总,求逐级汇总最优方案
http://www.itpub.net/thread-1063592-1-1.htmlSQL> with tab1 as(select '1.1.1' id,'x' nm,2 q from dual2union all select '1.1.2' id,'Y' nm,4 q from dual3union all select '1.2' id,'Z'nm,5 q from ...
2021-04-12 01:28:06 352
转载 写出oracle 进程结构,Oracle的进程结构介绍
Oracle的进程结构介绍1. 用户进程: 开始于数据库用户请求连接数据库2. 服务进程: 与 ORA 实例连接,开始于用户会话的建立。分为: 专用服务进程、共享服务进程性能专用更好。利用资源方面共享更好(网站方面)。3. 后台进程: 当 ORA 实例启动时启动后台进程包含:1.PMON 进程监视进程监视用户进程(客户端连接服务器的进程)到服务进程(在服务器端响应用户进程的进程)的连接。创建会话。...
2021-04-09 04:12:22 183
转载 oracle左侧缺省高位补1,ORACLE性能优化1
1. 选用适合的ORACLE优化器ORACLE的优化器共有3种:a. RULE (基于规则)b. COST (基于成本)c. CHOOSE (选择性)设置缺省的优化器,可以通过对init.ora文件中OPTIMIZER_MODE参数的各种声明,如RULE,COST,CHOOSE,ALL_ROWS,FIRST_ROWS . 你当然也在SQL句级或是会话(session)级对其进行覆盖.为了使用基于成...
2021-04-07 00:28:14 68
转载 php添加obj元素,有关取一个obj的值
有一物件如下:(xml格式)[altLineId] => SimpleXMLElement Object([0] => 651382441)前面略,都可取到,但这个难倒我了。对象下有一个数组里面有一个元素key值叫 altLineId现在我要取出 这个 651382441已试方式如下$a=$tmp1['altLineId']=$spreadV['altLineId'][0]; //空白...
2021-04-04 23:33:18 384
转载 怎么改php所有样式路劲,tp5.0:替换修改js、css等样式文件路径
首先,我们要知道,TP5已经不支持绝对路径访问样式文件啦!所以我们不必去花时间去找使用$_SERVER来获取手册位置:模板->内置标签->资源文件加载方法一:过程:1、首先在模块下添加config.php配置文件 2、例如,我们需要加载某css文件,该文件的位置为: 那么在模块下的自定义config.php中输入数据:dirname($_SERVER['SCRIPT_NAME']) 表...
2021-04-04 18:39:08 173
转载 oracle创建几何对象实例,Oracle spatial函数示例
Oracle spatial函数示例显示计算Oracle spatial 空间对象面积select mdsys.sdo_geom.sdo_area(shape,0.005) from jbnt_xzq;//根据面对象的坐标对计算面的几何对象面积/2003=面对象//srid=2359 投影Xian80 3d 35//CoorValueSet=35123456.123456,4312345.123...
2021-04-04 03:07:27 121
转载 oracle查看用户执行的sql,查询Oracle中正在执行和执行过的SQL语句
查询Oracle正在执行的sql语句及执行该语句的用户SELECT b.sid oracleID,b.username 登录Oracle用户名,b.serial#,spid 操作系统ID,paddr,sql_text 正在执行的SQL,b.machine 计算机名FROM v$process a, v$session b, v$sqlarea cWHERE a.addr = b.paddrAND ...
2021-04-03 08:21:28 326
空空如也
Discovery problems on smbfs
2020-11-28
Doctests plugin fails in Python 3.1
2020-11-28
xunit testcase name attribute not correct
2020-11-28
Nose follows namespace packages __path__
2020-11-28
Jython compatibility
2020-11-28
Leaks 0-byte temp files (windows only)
2020-11-28
The --with-coverage option doesn't ignore #pragma: no cover lines when determining coverage
2020-11-28
Allow configuration using .noserc file
2020-11-28
Generator functions bind too soon
2020-11-28
Add possibility to run selected code from a temporary file instead of passing code in args
2020-12-28
Safari compatibility
2020-12-26
Data on main context is not being saved
2020-12-02
Predominant color with PHP
2020-12-02
Add support for fixtures to doctest plugin
2020-12-01
Patch for: multiprocess "ran 0 tests"
2020-11-28
doc: raw wget endpoints
2020-11-28
plugin to capture test's logging output
2020-11-28
Cannot test an uninstalled instance of nose
2020-11-28
ContextSuite unhashable in Python2.6
2020-11-28
Test discovery errors crash nose
2020-11-28
Add support for loading tests from eggs
2020-11-28
Running tests in parallel (like make -j2)
2020-11-28
multiprocess fails on windows
2020-11-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人