Chinaunix首页 | 论坛 | 博客
  • 博客访问: 690281
  • 博文数量: 181
  • 博客积分: 2548
  • 博客等级: 少校
  • 技术积分: 1739
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-29 16:36
个人简介

爱咋咋地

文章分类

全部博文(181)

文章存档

2023年(17)

2022年(19)

2021年(3)

2020年(1)

2018年(1)

2017年(1)

2014年(1)

2013年(4)

2012年(11)

2011年(19)

2010年(22)

2009年(71)

2008年(5)

发布时间: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来重新播放整个记录的过程。就像看一个动画。.........【阅读全文】

阅读(55) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1) | 评论(0) | 转发(0)

发布时间: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)......【阅读全文】

阅读(303) | 评论(0) | 转发(0)

发布时间: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. ......【阅读全文】

阅读(97) | 评论(0) | 转发(0)

发布时间: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查看安装的软件使用.........【阅读全文】

阅读(620) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册