Posts
-
Decorator @property by example
@property is a Pythonic way to write the setter/getter for a member variable of a class.
-
A very simple decorator
A very simple decorator sample for future reference.
-
Test discovery and XUnit style setup/teardown in pytest
Here is a sample test file
test_file.py
to show how test discovery and setup/teardown work in pytest. -
How to use nvm?
nvm
is short for Node Version Manager, it can be used to manage multiple Node.js versions installed on a host. -
Parse command line options of Bash script with getopt
I write Bash utilities from time to time.
getopt
is a good tool to parse the command line options for Bash scripts. So I write a simple sample for future reference about its usage.
Page: 1 of 5
Next »
subscribe via RSS