Quotes of Detachment

Albert Camus: And never have I felt so deeply at one and the same time so detached from myself and so present in the world.

Detachment

Quotes:

  • H: Most of the teachers here, at one point … they believed … that they could make a difference. You know, I know how important it is to have guidance and to have someone help understand the complexities of the world that we live in. I didn’t really have that growing up.

  • H: I’m money. I change hands like a dollar bill that’s been robbed by a lamp when a genie appeared and cried loudly, with volume. But the tears were all for myself. And that’s where it all went wrong.

Read More

Mount ntfs and start nfs

Mount and start NFS

If the type of disk is ntfs, you need to install ntfs-3g.

mount -t ntfs-3g /dev/??? /new_dir
#start the nfs server service.
service nfsserver start

Exporting Directories on the Server

Read More

Set decayed tracer for WRF

Because tracer_opt in WRF-Chem support more functions than WRF, we plan to clone and edit it for WRF (which is much quickier than WRF-Chem).

  1. Copy /chem/module_input_tracer_data.F and chem/module_input_tracer.F into /WRFV3/phys.

  2. After compile, I get an error about TRACER_TEST1 not found. It’s related to module_state_description.F

    module_state_description.F : ../Registry/$(REGISTRY)
                      ( cd .. ; tools/registry $(ARCHFLAGS) $(ENVCOMPDEFS) -DNEW_BDYS Registry/$(REGISTRY) ) ; 
    
  3. Registry/Registry.EM_COMMON

Read More

The cycle of download and move

Background

My cluster has two nodes:

​ node_1: Public IP, small disk space;

​ node_2: Private IP, large disk space;

So, I need to download files on node_1 and move all of them to node_2 at intervals.

Method

  1. After enough large files are downloaded, I just move them to node_2;

  2. Copy files’ attributes to node_1

    cp -r --attributes-only <node_1_directory> <ndoe_2_directory>
  3. Download again by -nc option on node_1:

    wget --no-check-certificate -nc -e robots=off -r -l inf -np -R .html,.tmp -nH --cut-dirs=3 https://ladsweb.modaps.eosdis.nasa.gov/archive/orders/501249136/ --header "Authorization: Bearer <APP_KEY>" -P ./
  4. Delete empty fiels:

    find . -type f -empty -delete
  5. Repeat 1-4……

迷失

临海村落,电闪雷鸣,雨落地而为火,似冥币之火。

憧憧电光,见一人影,原为村民。

老人欲携吾至海边,岸有一舟,舟长且窄,仅容两人。

舟行数时,但见两岛。

远观可容一族,近览仅容己身。

Install git and oh-my-zsh without root

Git

Check Installing from Source part of the guide.

What I do is a little different from it:

Curl

Since git depend on curl, I installed curl from source according to this guide.

Git

# Download git and uncompress
$ tar -zxf git-2.18.0.tar.gz
$ cd git-2.18.0
$ make configure
# Define CURLDIR=/public/home/zhangxin/softwares/curl if your curl header and library files are # in /public/home/zhangxin/softwares/curl/include and /public/home/zhangxin/softwares/curl/lib # directories.
$ ./configure CURLDIR=/public/home/zhangxin/softwares/curl --prefix=/public/home/zhangxin/softwares/git
# Since we don't need docs actually, just 'make'.
$ make CURLDIR=/public/home/zhangxin/softwares/curl
$ make install CURLDIR=/public/home/zhangxin/softwares/curl

Read More

酒醒

酒若适量,可达清醒之效。

有如一潭死水,扩展,激荡,

放浪形骸,然不越潭水之界。

比之烂醉如泥,一味消愁,而后昏醒,

此种酒醒,可达细微之角,可至无人或群拥之境。

酒醒,并非如烟散去,乃驾雾直上,悟死民难悟之理。

恍然之间,云开雾散,觉世事难觉之形。


Powered by Hexo and Hexo-theme-hiker

Copyright © 2013 - 2019 Dreambooker All Rights Reserved.

UV : | PV :