Apr
08
xargs vs exec
Published 10:04 Apr 08, 2018 by @ezra.
#Technology# There is a bit of a debate in some circles about using xargs vs. the -exec {} option that’s bu...
Apr
08
find exec vs find xargs
Published 10:04 Apr 08, 2018 by @ezra.
#Technology# If you want to search files by a pattern and then apply something to the results you have at least t...
Apr
08
Xargs Examples
Published 10:04 Apr 08, 2018 by @ezra.
#Technology# What is the xargs command in UNIX?
The xargs command in UNIX is a command line utility for building...
Apr
08
Sed Examples
Published 10:04 Apr 08, 2018 by @ezra.
#Technology# We use sed to work with text files like log files, configuration files, and other text files.
In th...
Apr
08
Awk Examples
Published 09:04 Apr 08, 2018 by @ezra.
#Technology# Sometimes you need something powerful, giving you more control to process data. This is where awk co...
Apr
07
Filesystem Hierarchy Standard
Published 16:04 Apr 07, 2017 by @ezra.
#Technology#
Filesystem Hierarchy Standard
Abbreviation
FHS
...
Mar
25
hosts
Published 12:03 Mar 25, 2017 by @ezra.
#Technology# Locations
Windows 7/8/8.1/10: C:\Windows\System32\Drivers\etc\hosts
macOS/iOS/Linux/Android: /etc/h...
Nov
23
系统基本配置概要
Published 12:11 Nov 23, 2016 by @ezra.
#Technology# 因为时不时会给自己或者被人的电脑💻重装系统, 装系统很简单, 但之后要配置的内容还是蛮多的, 这里列举一下吧。
重装系统
首先要从重装系统说起, 由于直接运行 .app 安装会保留原来的数据, 而很多...
Jun
24
CentOS: Install Clang
Published 12:06 Jun 24, 2016 by @ezra.
#Technology# 本文主要关于在 CentOS 中安装 Clang 的相关步骤。
(以 CentOS 7 为例)
安装 libstdc++
如果你正在使用 CentOS 7 及以上的版本,请直接跳过此步骤。
wget ...
Jun
24
Ubuntu: Using Swift
Published 12:06 Jun 24, 2016 by @ezra.
#Technology# 本文主要关于在 Ubuntu 中安装和使用 Swift 的相关步骤。
(以 Ubuntu 15.10 为例)
下载 Swift
在 Swift.org 找到并下载对应的 Swift 版本。
解压 Sw...
Mar
25
Load Balancing
Published 12:03 Mar 25, 2016 by @ezra.
#Technology# 开头先理解一下所谓的“均衡”
不能狭义地理解为分配给所有实际服务器一样多的工作量,因为多台服务器的承载能力各不相同,这可能体现在硬件配置、网络带宽的差异,也可能因为某台服务器身兼多职,我们所说的“均衡...
Mar
11
公钥与私钥
Published 12:03 Mar 11, 2016 by @ezra.
#Technology# 公钥(yuè)和私钥的概念并不是什么新鲜事物,鉴于不少小伙伴还是不明白,简单写个说明的文章吧。
介绍
公钥和私钥属于不对称加密方式,在网络通讯中很十分常用。
公钥,顾名思义,就是可供公众使用的密钥,你...