/etc/init.d/
and chmod a+x
for it.sudo service xxxxx start
sudo systemctl enable xxxxx
It’s too heavy to my VPS, even with cache plugin. Static page is much more faster!
See official doc: http://gohugo.io/
DO NOT use infinality to render fonts!
DO NOT use infinality to render fonts!
DO NOT use infinality to render fonts!
需要下几百G的文件,无奈家中只有小水管电信4M ADSL,最大速度仅为540 kb/s。
购买NetGear WNDR 4300路由器,刷“明月永在”的OpenWRT固件,通过USB挂载一块1T的移动硬盘。
R is so different from other languages. I spent TWO DAYS plotting this plot!
Introduction
GNU parallel is a shell tool for executing jobs in parallel using one or more computers.
If you use xargs and tee today you will find GNU parallel very easy to use as GNU parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel.
GNU parallel makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU parallel as input for other programs.
Simple one
parallel echo {}\; cat {} ::: *.txt
Reading arguments from stdin and run
ls *.csv | parallel -j 4 wc -l
multiprocessing.Pool
is cool to do parallel jobs in Python. But some tutorials only take Pool.map
for example, in which they used special cases of function accepting single argument.
There are four choices to mapping jobs to process. Here are the differences:
Multi-args Concurrence Blocking Ordered-results
map no yes yes yes
apply yes no yes no
map_async no yes no yes
apply_async yes yes no no