摘要: 还以为必然timeout 结果并没有 不过7秒多也惨不忍睹了 阅读全文
posted @ 2019-01-11 18:16 夜歌乘年少 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 分支类: Git branch 列出本地已存在的分支 *代表当前分支 -a 打印所有远端分支 Git branch<分支名>新建本地分支 -d/D 删除分支 Git checkout 切换分支 git checkout -b 本地分支名 origin/远程分支名 Git pull pull下当前分支 阅读全文
posted @ 2019-01-10 10:02 夜歌乘年少 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Input (stdin)Download 2 8 5 1 2 3 7 8 6 4 8 1 2 5 3 7 8 6 4 Input (stdin)Download Your Output (stdout) Too chaotic Too chaotic Your Output (stdout) Ex 阅读全文
posted @ 2019-01-09 18:01 夜歌乘年少 阅读(465) 评论(0) 推荐(0) 编辑
摘要: print('getcwd', os.getcwd()) print('sysargv', sys.argv) print('realpath', os.path.realpath(sys.argv[0])) print('realpath.split', os.path.split(os.path.realpath(sys.argv[0]))[0]) print('__file__', __... 阅读全文
posted @ 2019-01-07 17:09 夜歌乘年少 阅读(985) 评论(0) 推荐(0) 编辑
摘要: 1.使用rar2john找到md5 2.基于字典 hashcat -a 0 -m 12500 /root/Desktop/md5.txt /usr/share/wordlists/weakpass.txt 3.基于暴力的6-8位混合小写字母和数字: hashcat -a 3 -m 12500 /ro 阅读全文
posted @ 2018-12-30 22:37 夜歌乘年少 阅读(4148) 评论(0) 推荐(0) 编辑
摘要: 删除补丁KB3191566 重新安装: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6 阅读全文
posted @ 2018-12-28 16:39 夜歌乘年少 阅读(913) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Ewenwan/Mathematics 阅读全文
posted @ 2018-12-26 11:35 夜歌乘年少 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 实例:替换一个目录下所有的字幕文件从720p到1080p *需要替换部分不可存在于全路径中 不然PS会报错路径无法替换 *Filter目前无效,尚不明确原因 阅读全文
posted @ 2018-12-15 18:27 夜歌乘年少 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: 其他wheel账户下,执行: sudo pam_tally2 --user=username --reset 阅读全文
posted @ 2018-12-06 15:06 夜歌乘年少 阅读(2058) 评论(0) 推荐(0) 编辑
摘要: https://www.enginego.org/%E5%9F%BA%E7%A1%80/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/%E7%A8%8B%E5%BA%8F%E5%91%98%E5%9B%BD%E5%A4%96%E6%B1%82%E8%81%8C%E6%8C 阅读全文
posted @ 2018-11-30 14:42 夜歌乘年少 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 使用objdump -Sl 命令 阅读全文
posted @ 2018-11-29 16:06 夜歌乘年少 阅读(825) 评论(1) 推荐(0) 编辑
摘要: 问题如下: https://answers.microsoft.com/zh-hans/windows/forum/windows_8-performance/win8%E6%97%A0%E6%B3%95%E8%BF%9C%E7%A8%8B%E5%8F%97/766109b9-ed1c-4b1b-b 阅读全文
posted @ 2018-11-28 21:23 夜歌乘年少 阅读(474) 评论(0) 推荐(0) 编辑
摘要: https://www.v2ex.com/t/510732#; 感谢已发送 4 感谢已发送 白天上班这么久,对该领域的东西感到疲惫很正常,导致下班学不动。但编程外的也有很多东西值得学。所以早起先学一会编程的东西再上班,下班后学编程外的完全不同领域的东西,自然会学得动。 阅读全文
posted @ 2018-11-24 10:01 夜歌乘年少 阅读(305) 评论(0) 推荐(0) 编辑
摘要: https://answers.microsoft.com/zh-hans/msoffice/forum/all/%E6%8C%87%E5%AE%9A%E4%BA%A7%E5%93%81%E5%AF%86/63b60d91-5c43-4ce0-be22-948983836c4c https://su 阅读全文
posted @ 2018-11-23 23:26 夜歌乘年少 阅读(4580) 评论(0) 推荐(0) 编辑
摘要: du -h --max-depth=1 阅读全文
posted @ 2018-11-22 20:21 夜歌乘年少 阅读(1664) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html 阅读全文
posted @ 2018-11-15 09:56 夜歌乘年少 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 官方:https://www.amd.com/en/support/kb/faq/gpu-kb1603 其实把更改的文档 下载 音乐等默认目录恢复到C盘(或任意一个可访问的路径),就可以正常安装了。 阅读全文
posted @ 2018-11-13 23:25 夜歌乘年少 阅读(8492) 评论(0) 推荐(0) 编辑
摘要: 硬链接: 一般情况下,文件名和inode号码是"一一对应"关系,每个inode号码对应一个文件名。但是,Unix/Linux系统允许,多个文件名指向同一个inode号码。 这意味着,可以用不同的文件名访问同样的内容;对文件内容进行修改,会影响到所有文件名;但是,删除一个文件名,不影响另一个文件名的访 阅读全文
posted @ 2018-11-08 17:26 夜歌乘年少 阅读(952) 评论(0) 推荐(0) 编辑
摘要: https://www.submarinecablemap.com/ 阅读全文
posted @ 2018-11-05 14:51 夜歌乘年少 阅读(181) 评论(0) 推荐(0) 编辑
摘要: out of date: TCP:nmap.exe -sC -sS -sV -p 1-65535 -A -v -v -oX filename.xml ip UDP:nmap.exe -sC -sU -p 1-65535 -v -v -oX filename.xml -Pn ip now: TCP: 阅读全文
posted @ 2018-11-03 11:07 夜歌乘年少 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Vladimir Smitka :https://smitka.me/ 阅读全文
posted @ 2018-10-29 19:47 夜歌乘年少 阅读(128) 评论(0) 推荐(0) 编辑
摘要: " 我们雇用新毕业的工程师时,会派给他们很多琐碎的工作,使他们饱和。他们会逐渐忘记大学里学到的课程,全部注意力都集中在手头的工作。很多人倾向于通过忙碌程度来评价自己,我相信这是一个死亡陷阱。" http://www.ruanyifeng.com/blog/2018/09/weekly-issue-2 阅读全文
posted @ 2018-10-29 11:09 夜歌乘年少 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.ruanyifeng.com/blog/2018/10/weekly-issue-28.html 在软件开发中,技术变化如此之快,你花费了大量时间学习技术和工具,一旦这些技术被取代,你的知识将变得毫无价值,因为它们大部分都是实施的细节。 我最近总是在想这段话,软件开发算不 阅读全文
posted @ 2018-10-29 10:34 夜歌乘年少 阅读(576) 评论(1) 推荐(0) 编辑
摘要: 原文:https://github.com/alex/what-happens-when/blob/master/README.rst 一个版本的翻译: https://github.com/skyline75489/what-happens-when-zh_CN#id9 另一个版本的翻译:http 阅读全文
posted @ 2018-10-27 15:07 夜歌乘年少 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 1.加密协议:苏联的密码本如果不被发现,至今也不会超级计算机破解。(私有的加密协议安全性在于其协议的随机性和不公开,无法应用在网络安全领域) 2.协议: 协议是一系列步骤,它包括两方或多方,设计它的目的是要完成一项任务。这个定义很重要 :“一系列步骤”意味着协议是从开始到结束的一个序列,每一步必须依 阅读全文
posted @ 2018-10-23 15:42 夜歌乘年少 阅读(326) 评论(0) 推荐(0) 编辑
摘要: https://www.sysgeek.cn/remove-old-kernels-ubuntu-16-04/ 阅读全文
posted @ 2018-10-18 19:56 夜歌乘年少 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1.测试网络连通性请务必使用相同的系统进行测试,存在一根网线只能通windows不能通linux的情况。请使用linux主机测试。(最后从交换机上拉了跟飞线就通了) 阅读全文
posted @ 2018-10-18 17:44 夜歌乘年少 阅读(153) 评论(0) 推荐(0) 编辑
摘要: win+Q certmgr.msc 阅读全文
posted @ 2018-10-18 11:24 夜歌乘年少 阅读(447) 评论(0) 推荐(0) 编辑
摘要: lrzsz随手传文件还是挺方便的。 1.apt install lrzsz 2.rz 3.右键 或者control右键选择 send file useing Z-modem 选择文件上传 接收同理 阅读全文
posted @ 2018-10-18 10:03 夜歌乘年少 阅读(3280) 评论(0) 推荐(0) 编辑
摘要: 1.跨站脚本攻击分类不包括以下哪种?(B) A DOM型xss B 跨站伪造请求csrf C 存储型xss D反射型xss 注:XSS就三种 存储反射 DOM 阅读全文
posted @ 2018-10-17 15:24 夜歌乘年少 阅读(244) 评论(0) 推荐(0) 编辑
摘要: deb: 添加默认路由:route add default gw 8.46.192.1 添加网段路由:route add -net 8.46.0.0/19 gw 8.46.192.1 删除路由:把 add 改为 del rpm: sudo ip route add (default|8.46.0.0 阅读全文
posted @ 2018-10-17 10:14 夜歌乘年少 阅读(183) 评论(0) 推荐(0) 编辑
摘要: rpm: 1.IP a 查看网卡名 ens256 2.uuidgen ens256 生成UUID 3./etc/sysconfig/network-scripts add ifcfg-ens256 4.sudo vim ifcfg -ens256 4.重启网络服务:systemctl restart 阅读全文
posted @ 2018-10-17 10:06 夜歌乘年少 阅读(415) 评论(0) 推荐(0) 编辑
摘要: set nocompatible 阅读全文
posted @ 2018-10-17 09:52 夜歌乘年少 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1.安装matplotlib pip3 install matplotlib sudo apt install python3-tk 2.分段函数 3. 阅读全文
posted @ 2018-10-15 17:49 夜歌乘年少 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 1.入侵后拉高出货(hack, pump and dump 2.黑客群体发生了一个值得注意的转变,他们不再只把黑客行为看成一种乐趣,而是看作一个职业。现如今,可能有数百万台电脑已经被某些黑客控制着的僵尸程序(bot)感染了。 获取肉鸡。 3.zero-day attack 阅读全文
posted @ 2018-10-13 17:13 夜歌乘年少 阅读(262) 评论(0) 推荐(0) 编辑
摘要: is 对比 地址 == 对比 值 阅读全文
posted @ 2018-10-13 16:59 夜歌乘年少 阅读(149) 评论(0) 推荐(0) 编辑
摘要: https://www.oschina.net/translate/pythons-hardest-problem 事实上,这个问题被问得如此频繁以至于Python的专家们精心制作了一个标准答案:”不要使用多线程,请使用多进程。“ 阅读全文
posted @ 2018-10-12 11:32 夜歌乘年少 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 直接赋值 传引用 copy 浅拷贝 list传值 值是引用 deepcopy list传值 值是值 阅读全文
posted @ 2018-10-12 11:24 夜歌乘年少 阅读(112) 评论(0) 推荐(0) 编辑
摘要: arr = [[a],[b]] set(arr) output: Traceback (most recent call last): File "<stdin>", line 1, in <module>TypeError: unhashable type: 'list' arr =[1,2] s 阅读全文
posted @ 2018-10-10 22:04 夜歌乘年少 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: https://yuchengkai.cn/docs/zh/frontend/#%E5%86%85%E7%BD%AE%E7%B1%BB%E5%9E%8B https://github.com/taizilongxu/interview_python#19-%E5%8D%8F%E7%A8%8B 阅读全文
posted @ 2018-10-10 15:22 夜歌乘年少 阅读(191) 评论(0) 推荐(0) 编辑