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...
Mar
05
Whiptail Cheatsheet
Published 15:03 Mar 05, 2018 by @ezra.
#Programming# Whiptail is a program that allows shell scripts to display dialog boxes to the user for informationa...
Mar
05
Swift: Codable not decoding properties with subclasses
Published 12:03 Mar 05, 2018 by @ezra.
#Programming# In this code, the groceries properties is not deserialised from JSON. The name property is, but not ...
Feb
24
Remove all macOS generated invisible files
Published 23:02 Feb 24, 2018 by @ezra.
#macOS# Remove all macOS generated invisible files in current folder: both .DS_Store and ._XXXX files.
find ...
Feb
10
RSYNC Cheatsheet
Published 15:02 Feb 10, 2018 by @ezra.
#macOS#
Commands
Description
rsync /path/to/file.ext /path/to/dest
简单的复制文件 file.ext 到 /path...
Jan
21
Tkinter Cheatsheet
Published 10:01 Jan 21, 2018 by @ezra.
#Programming# Hello World
We always need to follow two steps no matter how big the application is, there is always...
Jan
06
CSS Selectors Cheatsheet
Published 17:01 Jan 06, 2018 by @ezra.
#Programming#
Selector
Example
Example description
.class
.intro
Selects all elements with class="i...
Jan
05
Swift: Return instancetype
Published 12:01 Jan 05, 2018 by @ezra.
#Programming# To return instancetype in Swift, you can define a generic helper method which infers the type of sel...
Jan
03
CocoaPods: Encountered an unknown error (Pod::DSLError) during validation
Published 12:01 Jan 03, 2018 by @ezra.
#Programming# 在发布到 CocoaPods 是如果遇到下面的问题:
Validating podspec
-> UIMessageBar (1.0.0)
- ERROR | [iOS] unknow...