• what is $$

    From Advanced Bash-Scripting Guide: $$ is the process ID (PID) of the script itself. $BASHPID is the process ID of the current instance of Bash. This is not the same...

  • 抽筋了

    踢完球,晚上睡觉抽筋有感。 不爱可以,没啥,不爱就不爱。但请不要不爱还说爱。

  • Hung Up Quickly

    前天从苏州团建回来,晚上给赛赛拨视频。他正在看电视,也不正眼看我,姥姥让他说啥,他就复述一下。我说你看电视吧,然后他火速把视频给挂了~ :)

  • 团建归来

    苏州团建,自驾,30人左右,周四出发,周六下午回来。周经理安排的很妥当,自己就完全不用操心。完美。 民宿也不错,空间挺大,10个人狼人杀,七八个人德州,中间还有人可以打桌球。 中间还吃了日料~

  • Lazy Log In Python

    import logging def bad_call_with_problem(): try: logging.error("haha %d" % None) except: print("Raised an error.") raise print("-" * 10) def good_call_with_problem(): try: logging.error("haha %d", None) except: print("This will never be raised.") raise...

  • Memory

    时间从来不是治愈的良药,人才是。#甜蜜蜜#

  • shell bomb

    https://www.cyberciti.biz/faq/understanding-bash-fork-bomb/

  • vim中自动补全的颜色调整

    exec “hi PMenu “ . “ guifg=#” . a:fg . “ ctermfg=” . a:fg exec “hi PMenu” . “ guibg=#” . a:bg . “ ctermbg=” . a:bg exec “hi PMenu”...

  • Unshare

    https://man7.org/linux/man-pages/man1/unshare.1.html The unshare command creates new namespaces (as specified by the command-line options described below) and then executes the specified program. If program is not given, then “${SHELL}” is run...

  • 逃避

    当问题不能逃避时,解决问题才是必要的。 如果能逃避的话,逃避多简单啊,逃避本身就是解决问题。