自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

空空如也

[patch] Gracefully disable restricted plugin options in 'python setup.py test'

2020-11-28

Discovery problems on smbfs

2020-11-28

Doctests plugin fails in Python 3.1

2020-11-28

use abstract syntax trees to discover tests instead of importing modules

2020-11-28

Classes with __metaclass__ are never considered as test candidates

2020-11-28

make Skip Test errors behave like they did in 0.9 (not raise an error)

2020-11-28

xunit testcase name attribute not correct

2020-11-28

xunit output mangled when generator produced arguments contain a "."

2020-11-28

Nose follows namespace packages __path__

2020-11-28

Jython compatibility

2020-11-28

case sensitive file path comparison in Importer.sameModule() can cause modules to be loaded twice on Windows

2020-11-28

Feature request: Attribute to determine order of test execution for a test class

2020-11-28

Patch for doctest runner to not overwrite "_"

2020-11-28

Tests run by nose.collector in setup.py don't support nose.SkipTest

2020-11-28

Leaks 0-byte temp files (windows only)

2020-11-28

Nose 1.1.2: Running nose with the coverage option results in Error

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

[patch] Mysterious import problems with namespace packages

2020-11-28

Add possibility to run selected code from a temporary file instead of passing code in args

2020-12-28

Updated return of matching TF and RID instructions

2020-12-26

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

ImportError: cannot import name _TextTestResult

2020-11-28

upstream change in python 2.6.3 breaks nose.TestProgram

2020-11-28

Problems with i18n , gettext and the "_" function

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

Nose Keeps Bailing out due to ContextSuite has no attribute id (caught in addError)

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

Confusing output encountered on 10.3 with Python 2.4.5 when exception caught in

2020-11-28

multiprocess fails on windows

2020-11-28

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除