Default

Blog

View archive →
Cover illustration for Arrays and dict in bash
shell

Arrays and dict in bash

Most languages will have builtin data structures such as array(list) or dict(hashtable). Is it interesting that whether bash has similar choices?

Cover illustration for Build a menubar macos App using PyQt5 and PyInstaller
python

Build a menubar macos App using PyQt5 and PyInstaller

PyQt is a python package that can be used to develop GUI applications even complex applications. In this blog, we will develop a menubar note appli...

Cover illustration for Partially render in Jinja
python

Partially render in Jinja

A Jinja template can be rendered. Sometimes the data we need can not be collected in just one place. It will be helpful if we can render a template...

Cover illustration for Linux split
tools

Linux split

Linux 中有很多易用的命令行工具。split 就是其中之一。介绍实际中使用的几个比较常用的分割文件的方法。

Cover illustration for std::transform not working with std::toupper
cpp

std::transform not working with std::toupper

ctype 中定义了一些比较实用的函数,例如 toupper, tolower, isalpha 等等。在 C++ 中如何实用这些函数呢?使用 cctype,然后就可以在 std 的命名空间中使用这些函数。

Cover illustration for python pickle
python

python pickle

torch.save 和 torch.load 默认使用的 pickle 模块进行序列化和反序列化。在调用 torch.load 时偶尔会遇到缺失类的问题。这篇文章仔细分析了 pickle 的源码,并且对于 缺失类也提供了一些解决方案。

Cover illustration for Python Jinja2
python

Python Jinja2

Jinja2 is a fast, expressive, extensible templating engine. This blog records the problems or requirements I met during my development.

Cover illustration for How tornado starts?
python

How tornado starts?

项目中的服务使用 tornado 来搭建,但是对于 tornado 如何启动还没有仔细研究过。 在某次问题排查时,仔细研究了 tornado 是如何启动的。

Cover illustration for Kubernetes python package
python

Kubernetes python package

在项目中使用比较多的 kubernetes。主要使用相应的 python kubernetes 库包来进行各种部署的管理。 国内很多讲解 kubernetes 原理,但是对于这个库各种使用看起来比较少。

Cover illustration for iptables in linux
tools

iptables in linux

An email sent from bwg told me that my service had been banned due to a DDoS attack.

Looking for something specific? Browse every article by year, category, or topic.
Explore the archive

© chunyang. Some rights reserved.

Using the Chirpy theme for Jekyll.

stats counter unique visitors since April 2019