自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1224)
  • 收藏
  • 关注

翻译 perl regex是什么_如何在Perl单行代码中使用Regex匹配多行

perl regex是什么Perl one-liners with perl’s regular expression statement can be a very powerful text processing tools used as commands in a terminal or a script. By default, the input to the perl one-lin...

2020-07-29 15:09:25 1819

翻译 如何在Hyperledger Fabric 2.0中按ID查询事务

Querying transaction content out from a blockchain network is a common practice used by common scenarios like exploring the blockchain history or verifying the blockchain transaction content from a kn...

2020-07-29 14:59:01 3028

翻译 .htaccess 重定向_如何使用.htaccess将Feed链接重定向到follow.it

.htaccess 重定向Feedburner used to a powerful tool for RSS feeds publishing and subscriber management. However, feedburner will unlikely leave its maintenance mode because there has been no new features ...

2020-07-29 14:49:34 1627

翻译 如何在Ubuntu 20.04中将Grub2引导到较早的内核版本

在Linux系统中,我们可能安装了多个内核。 通常,它是最新的内核,如果没有手动选择内核,它将被配置为系统引导加载程序在自动引导期间将使用的默认内核。 在许多情况下,例如尚未为较新内核中的某些设备准备好驱动程序,我们可能会选择使用安装到系统中的较旧版本的内核。 在本文中,我们将逐步完成使系统引导加载程序grub(版本2)引导在Ubuntu 20.04上引导安装到系统的旧内核的步骤。 ...

2020-07-29 14:40:17 2222

翻译 gcc对if里面调用的函数_GCC可能会“保存”您一些递归函数调用:对函数调用堆栈长度示例的分析

gcc对if里面调用的函数 我们知道像gcc这样的编译器可以做很多聪明的优化,以使程序运行更快 。 关于函数调用优化,gcc可以执行尾部调用消除以节省分配新堆栈帧的成本,而尾部消除可以将递归函数转换为非递归迭代函数。 gcc甚至可以将一些不是尾递归的递归函数转换为尾递归函数,以便编译器可以执行尾递归消除。 但是,如果由于函数体内的某些非安全操作而无法使用尾部递归消除来优化函数,将会发生什么? 在...

2020-07-29 14:30:25 331

翻译 Bash学习资料

Bash(GNU Bourne-Again SHell)是许多Linux发行版的默认外壳。 在Linux中编写脚本语言非常普遍。 Bash易于编写简单的小型工具。 但是,作为大多数工具,它的语法如果使用不正确,很容易导致错误。 在这里,我为初学者和高级Bash脚本开发人员总结了一份不错的Bash学习材料清单。 必须阅读:bash手册 从我的角度来看, bash手册对于任何...

2020-07-29 14:21:13 170

翻译 bash脚本添加头注释_如何在Bash脚本中为多行命令添加行内注释

bash脚本添加头注释In Bash script, it is common that multiple small commands run together connected by pipes (|) and the whole command is quite long. For clarity, we may write the command in multiple lines. H...

2020-07-29 14:11:05 736

翻译 centos 安装wine_如何在CentOS 8上安装Wine 32位

centos 安装wine 从版本7开始,RHEL和CentOS仅具有64位版本。 由于某些原因,最好在32位Wine下运行许多Windows应用程序。 与如何在CentOS 7上安装Wine 32位一样 ,这篇文章介绍了如何在CentOS 8上安装32位Wine。 大多数机制相似,但有所不同。 想法是按照64位-> 32位-> 64位的特定顺序从源包中构建64位和32位...

2020-07-29 14:00:37 4554

翻译 ib_insync_如何使用Insync在Linux中同步OneDrive和OneDrive for Business文件

ib_insyncOneDrive is one of the good cloud storage services available and there is a business version called OneDrive for Business. Microsoft’s Office 365 plan is widely used including Exchange Email ...

2020-07-29 13:39:08 906

翻译 linux 删除grep行_如何在Linux中使用grep来Grep 2行?

linux 删除grep行 grep非常适合在命令行或脚本中匹配STDOUT /文本文件中的模式。 方便 有时,我们的问题比从文件中找到关键字更复杂。 乍一想,使用grep解决如此复杂的问题似乎是不可能的。 但是grep可能比我们想象的强大。 今天,让我们来看一个例子。 grep的问题 问题如下。 我们要检查~/.bashrc文件是否包含2个连续的行(可以假设它们不在文件的开头)...

2020-07-29 13:18:59 1699

翻译 如何使用计算机管理在Windows 10上更改Windows用户名

The Windows user name can be changed according to the user’s needs and requirement. The Windows 10 Windows Settings tool interface keeps changing after updates. It is a little hard to find out the too...

2020-07-29 13:08:23 507

翻译 tar:归档文件中的异常_如何将文本文件从tar归档中删除而不用将其提取?

tar:归档文件中的异常How to cat a text file out from a compressed tar archive package without having to extracting the whole package? 如何从压缩的tar存档程序包中提取文本文件,而不必提取整个程序包? For example, I have a pkg.tar.gz wh...

2020-07-29 12:57:49 311

翻译 aws ec2流量限制_如何限制共享的AWS EC2帐户访问权限以查看和启动所有VM但仅停止某些VM

aws ec2流量限制If a team with many accounts share and manages the virtual machines under that same AWS accounts, it is a common practice to limit AWS EC2 accounts’ access to view or start all VMs yet stop...

2020-07-29 12:47:36 1193

翻译 如何在Linux中的命令行中列出和启动VirtualBox VM?

VirtualBox is a nice open source virtual machine software. It works nicely on Linux and is supported by many Linux distros like Ubuntu in their official package repositories, so it is quite easy to se...

2020-07-29 12:37:16 1794

翻译 中海达activesync_如何使用ActiveSync将Thunderbird日历和通讯簿与Office365 Exchange Online同步

中海达activesyncThunderbird is a nice email client available on Linux and Windows. With the Lightning plugin, Thunderbird can support calendar functions well. Exchange is a widely used email and calendar...

2020-07-29 12:28:13 1032

翻译 vm扩展linux分区大小_如何在运行时扩大云Linux VM的根分区和文件系统大小而不重启Linux

vm扩展linux分区大小It is common that the root disk space is not enough when running a Virtual Machine in the cloud such as Amazon Web Service (AWS). The cloud storage usually provides tools or facilities to...

2020-07-29 12:18:04 276

翻译 fio stonewall_C ++中的StoneWall解决方案

fio stonewallStoneWall is an interesting problem that requires some brain cycles yet not too complex. It is good software engineer interview question. StoneWall是一个有趣的问题,需要一些大脑周期,但又不太复杂。 是好的软件工程师面试问题。 ...

2020-07-29 12:08:13 375

翻译 如何在Thunderbird中添加Gmail SMTP

Gmail’s authentication is secured by rejecting access from less secure apps. By default, adding Gmail SMTP in Thunderbird with your Google account password as SMTP authentication password will not wor...

2020-07-29 11:58:06 3073

翻译 xen vm安装_Xen:VM无法启动

xen vm安装Question: Hello, 题: 你好, I am using Xen on Centos 7 and it was working fine from last 3 years. After I reboot the VM I am getting below error: 我在Centos 7上使用Xen,从最近3年开始运行良好。 重新启动虚拟机后,出现以下错误 :...

2020-07-29 11:47:39 411

翻译 ios13查找iphone_如何使用iOS 13更快地制作iPhone

ios13查找iphoneAfter the recent iOS upgrading to version 13, many older iPhones such as iPhone 8 turn to be running slower, although there are many new features. New features and functions use more CPU/...

2020-07-29 11:27:10 482

翻译 如何在Ubuntu 18.04中安装Hyperledger Fabric 2.0

Hyperledger Fabric是联盟的区块链系统。 它的性能相对较好,并且其模块化体系结构使其可以在许多情况下使用。 Hyperledger Fabric本身具有丰富的文档和测试网络示例。 对于初学者而言,部署新网络进行尝试和测试仍然会花费相当多的时间。 在本文中,我们将提供一个脚本,专门用于在Ubuntu 18.04上部署Hyperledger Fabric 2.0.0。 目的是帮助初...

2020-07-29 11:17:09 1853

翻译 vfs.fs.inode_文件系统Inode标志:FS_IOC_GETFLAGS和FS_IOC_FSGETXATT之间的区别

vfs.fs.inodeWhat is the difference between FS_IOC_GETFLAGS and FS_IOC_FSGETXATTR ioctl commands? What flags do both return? FS_IOC_GETFLAGS和FS_IOC_FSGETXATTR ioctl命令之间有什么区别? 两者都返回什么标志? The comme...

2020-07-29 11:06:15 882

翻译 hadoop默认端口_Hadoop默认端口

hadoop默认端口Hadoop’s namenode and datanodes expose a bunch of TCP ports used by Hadoop’s daemons to communicate to each other or listen directly to users’ requests. These ports information are needed by...

2020-07-29 10:56:46 1194

翻译 本地主机上的端口转发

I am trying to forward UDP port 500 to 2500 on local host, but can’t get this to work – I have run: iptables -t nat -A PREROUTING -p udp -d 192.168.1.10 –dport 500 -j DNAT –to-destination 192.168.1.10...

2020-07-29 10:46:26 799

翻译 linux date 时区_如何从Linux的另一个时区使用date命令获取日期和时间?

linux date 时区date command on Linux gets the date and time in the system timezone. But how to get date and time using date command from another timezone in Linux? Linux上的date命令获取系统时区中的日期和时间。 但是如何从Linux...

2020-07-29 10:37:25 1027

翻译 ib_insync_如何使用Insync在Ubuntu / Debian / Mint Linux中同步Google Drive和Google Docs文件

ib_insyncGoogle Drive is a nice cloud storage service. It provides a suite of nice online document spreadsheet and slide editors Google Docs, Google Sheets and Google Slides. The collaborative editing...

2020-07-29 10:27:41 765

翻译 hadoop基准_Hadoop上的简单排序基准

hadoop基准After installing Hadoop, we usually run some benchmark programs to test whether the system works well. In the post of the Hadoop install tutorial, we show a very simple to grep strings from a...

2020-07-29 10:16:46 188

翻译 2016年云计算会议_云计算会议2012

2016年云计算会议This post lists important conferences on Cloud Computing in year 2012. 这篇文章列出了2012年有关云计算的重要会议。 OSDI 2012 (OSDI 2012)10th USENIX Symposium on Operating Systems Design and Implementation ...

2020-07-29 09:56:56 357

翻译 设置hadoop 本地环境_设置独立(本地)Hadoop

设置hadoop 本地环境Hadoop is designed to run on hundreds to thousands of computers inside cluster. However, Hadoop is configured to run things in a non-distributed mode as a single Java process by de...

2020-07-29 09:47:34 380

翻译 ocaml_如何静态链接OCaml程序

ocamlStatic linking is preferred for some cases although it has its own various problems. Static building/linking is not always possible for some languages on some platform. For OCaml, the answer to t...

2020-07-29 09:37:25 287

翻译 hadoop3.x教程_Hadoop安装教程(Hadoop 1.x)

hadoop3.x教程Update: If you are new to Hadoop and trying to install one. Please check the newer version: Hadoop Installation Tutorial (Hadoop 2.x). 更新:如果您不熟悉Hadoop并尝试安装它。 请检查较新的版本: Hadoop安装教程(Hadoop 2.x...

2020-07-29 09:26:51 484

翻译 git 配置gitosis_使用Gitosis设置Git服务器

git 配置gitosisUpdate: Since gitosis is not maintained and supported, please check out gitolite for setting up a new git server. (see the comment from Sitaram Chamarty, the gitolite author, the author o...

2020-07-29 09:17:50 620

翻译 如何检查给定路径的文件是否是Python中的块设备?

How to check and test whether a file of a given path is a block device in Python? This can be Linux specific. 如何在Python中检查和测试给定路径的文件是否为块设备? 这可能是特定于Linux的 。 You can use the os.stat() function to ...

2020-07-29 09:07:03 320

翻译 c ++文件读写_如果不存在,如何创建文件并在C ++中以读写模式打开文件?

c ++文件读写How to create a file if not exist and open it in read and write modes in C++? For example, I would like open a fstream on /tmp/cache to be able to read it and append to it. If the file does n...

2020-07-29 08:57:47 4422

翻译 路由器连接输入tender_如何在路由决策输入默认值之前转移连接或数据包

路由器连接输入tenderbefore the packets ports (443) entering the firewall i would like to divert incoming packet of server (443) to input chain goes to FORWARD chain<br> so thats the incoming packets 10...

2020-07-29 08:47:34 268

翻译 linux 稀疏文件_在Linux上处理稀疏文件

linux 稀疏文件Sparse files are common in Linux/Unix and are also supported by Windows (e.g. NTFS) and macOSes (e.g. HFS+). Sparse files uses storage efficiently when the files have a lot of holes (contigu...

2020-07-29 08:37:06 1751

翻译 kvm创建虚拟机硬盘大小_如何调整KVM虚拟磁盘的大小

kvm创建虚拟机硬盘大小I test it for qcow2 format. Other formats are TBA. 我测试它的qcow2格式。 其他格式为TBA。 qemu-img resize kvm1.qcow2 +20Gcp kvm1.qcow2 kvm1-orig.qcow2virt-resize --expand /dev/sda1 kvm1-orig.qco...

2020-07-29 08:26:47 1513

翻译 linux 添加交换区内存_如何为Linux添加基于文件的交换

linux 添加交换区内存We may want to add some swap space for a Linux box while only find that all disk space is partitioned and mounted. Some partition has large available free space. For such cases, we may no...

2020-07-29 08:17:44 533

翻译 url解码python_如何在Python中解码带引号的URL?

url解码pythonHow to decode a quoted URL in Python? For example, an quoted URL as follows 如何在Python中解码带引号的URL? 例如,带引号的网址如下 https://www.example.com/tag/%E9%93%B6%E8%A1%8C/should be decoded to 应该解码为 ...

2020-07-29 08:07:17 343

翻译 bzip2 gzip压缩率_如何在Linux中使用gzip,bzip2、7z,rar和zip压缩/解压缩文件

bzip2 gzip压缩率Compress/uncompress files are frequent operations. The normal tools for compressing/uncompressing in Linux is gzip, bzip2, 7z, rar and zip. This post introduces how to compress and uncomp...

2020-07-29 07:57:35 506

空空如也

空空如也

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

TA关注的人

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