爱咋咋地
发布时间:2023-12-06 20:09:09
有两种方法:1. bash |tee ./tee_record.txt2.script -B ./script_record.txt -T ./script_timing.txt两种方法生成的文件中都包含有大量的控制字符,这种格式叫做 typescript使用第二种方法记录的话,可以用scriptreplay -B ./script_record.txt -T ./script_timing.txt来重新播放整个记录的过程。就像看一个动画。.........【阅读全文】
发布时间:2023-12-06 09:28:01
转自:h_t_t_p_s://gist.github.com/tuxfight3r/60051ac67c5f0445efeeBash ShortcutsMovingcommanddescriptionctrl + aGoto BEGINNING of command linectrl + eGoto END of command linectrl + bmove back one characterctrl + fmove forward one characteralt + fmove cursor FORWARD one wordalt + bmo.........【阅读全文】
发布时间:2023-11-27 10:35:43
简单的解决方法,在views.py中导入from django.views.decorators.csrf import csrf_exempt,csrf_protect然后在接收POST的方法前添加修饰@csrf_exempt 如下:@csrf_exemptdef save(request): return HttpResponse(content)......【阅读全文】
发布时间:2023-11-07 10:35:03
总是记不住,写一下吧Bashrc is executed each time you open a new terminal window, while bash_profile is executed only once when you log in to your account. ......【阅读全文】
发布时间:2023-11-05 01:54:20
今天发现系统空间不足,发现好几个目录过分的大在/var目录下面有:/var/spool/abrt/使用如下命令清理:systemctl stop abrtdsystemctl stop abrt-oopsabrt-cli rm /var/spool/abrt/*systemctl start abrtdsystemctl start abrt-oops/var/lib/flatpak使用如下命令清理:flatpak list查看安装的软件使用.........【阅读全文】