自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ReZero's Blog

窥万物晓其理, 尽人欲之所在.

  • 博客(143)
  • 资源 (6)
  • 收藏
  • 关注

原创 博客更址 https://qqtim.club

https://qqtim.clubhttps://trickmaster.cn

2017-08-01 17:55:45 517

原创 关系型DB存储 如何优化树形结构的查询? MPTT

预排序树实现代码

2022-12-06 18:19:18 535 1

原创 saas化调研

saas 化方案调研

2022-10-28 22:06:39 1240

原创 Mac m1 clion docker 远程debug redis

https://qqtim.club/2021/07/17/gdb-debug-remote/

2021-07-17 16:49:46 381

原创 how to implement an easy git

ZIT development logThanks for the great tutorial: https://www.leshenko.net/p/ugitThanks again Nikita!ResourceI found some good reference material, and I put them under the ./doc directory.Besides, the follow links maybe help you too.Nick Butler this

2021-02-23 15:45:58 138

原创 sql打印的一种暴力解决方式

这里写自定义目录标题Sql log 失效Java 类加载优先级Sql的执行方法具体方案Sql log 失效以 MyBatis 为例,因为其他辅助框架的不同,或者某些条件限制,导致日志按照官网配置后可能出现仍然无法打印的情况,这时候可能就会想到写sql拦截器自己拦截生成sql填充参数,但可能需要一定的开发时间。本文直接挑明一种暴力打印的方式,不清楚是否广泛可用,但有兴趣的老哥们可以试一下。Java 类加载优先级会按照 classpath 的顺序去加载,遇到 全限定名相同的类 时只会加载第一个,而 c

2021-01-23 14:38:53 1011

原创 Git-myers-diff 笔记

https://qqtim.club/2020/06/14/git-myers-diff/Git Myers diff 笔记参考文章链接:Myers diff paperMyers diff algorithm blogDiff Usage:尚未提交时可以检查 单个commit 节点的变更merge 前比较两个分支的不同可选择性地打 patch: merge 时通常会使用两个及以上的变更历史(往往是针对同一文件)进行调和来生成新的 tree (git的Bolb 和 tree 对象),这就意

2020-06-19 15:47:05 291

原创 Spring 多线程事务管理

https://github.com/ReZeroS/zerobox/blob/feature-resource-0405/src/main/java/club/qqtim/multi/transaction/MultiBatchProcessor.java发出来求个援,不知道咋调一下合理

2020-06-02 19:14:17 444

原创 Hexo & (GithubActions | Travis CI)

原文地址基本概念仓库: 就是项目文件存放的位置,如果只完成第一步,不需要私有仓库,因为现在私有仓库免费了,所以考虑用私有仓库作为你的博客内容文件,用来存一些你觉着可能会用到但是又不希望别人看到的文件.仓库的名字可以随便取,但有一个名字是有特殊含义的,就是 UserName.github.io, 这个往往用来作为博客域名,并且你可以为其申请免费 httpsCNAME: 当你不喜欢上面那个域名,...

2019-09-18 10:38:08 969 1

原创 Weekly Note

executeUpdate return the rows found or match instead of affected rows, if u wanna to get the suppose answer, u could use the UseAffectedRows args to make it.<setting name="mapUnderscoreToCamelCas...

2018-05-25 10:29:28 324

原创 LL(1) Parser

LLonegithub: https://github.com/ReZeroS/LLoneA LL parser is a top-down parser for a subset of context-free languages. It parses the input from Left to right, performing Leftmost derivation of the ...

2018-05-08 22:08:54 865

原创 Win useful tools

Markdown edit - Typora - Atom - VS codeIDE - Idea - Pycharm - Android Studio - CodeBlocks, VS, Clion - RacketScreen Shot - Snipaste - Screen2GifBrowser - Firefox devel...

2018-04-04 22:06:37 241

转载 ArchLinux change gdm background

Link https://superuser.com/a/1292700/695553#!/bin/bashif [ -z "$1" ]; then echo "Usage: ./chgdm-bg <path/to/picture.png> [y/n]" exit 1fiecho MAKE SURE YOUR PICTURE IS THE SAME RESOLUT...

2018-02-20 21:44:56 561

原创 Arch enable tcp_bbr

Requests:kernel 4.9+What:https://github.com/google/bbrOne Command:sudo modprobe tcp_bbrTurn on:# echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf# echo "net.ipv4.tcp_congest...

2018-02-20 14:20:56 1141

原创 Custom ClassLoader

package com.loader;import java.io.ByteArrayOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.InputStream;/*/Bootstrap Classloader -> rt.jar Extension Classload...

2018-02-11 20:43:47 349

原创 Messy code issue

Source: -homepage--social--weibo#N101F9”>https://www.ibm.com/developerworks/cn/java/analysis-and-summary-of-common-random-code-problems/index.html?cm_mmc=dwchina--homepage--social--weibo#N101F9Rea

2018-01-23 16:54:53 1296

原创 Linux note0x02

IpTables & Firewalldiptables PreRouting, Input, Output, Forward, PostRouting 参数 作用 -P 设置默认策略 -F 清空规则链 -L 查看规则链 -A 在规则链的末尾加入新规则 -I num 在规则链的头部加入新规则 -D num 删除某一条规则 -s 匹配来源

2017-12-24 22:46:04 247

原创 Linux note0x01

RAID & LVMRAIDRAIDRAID0RAID0 splits (“stripes”) data evenly across two or more disks, without parity information, redundancy, or fault tolerance.RAID1RAID 1 consists of an exact copy (or mirror) of

2017-12-24 14:29:58 263

原创 Linux note0x00

File x: get in dir. r: browse dir.File Special AuthorizationSUIDchmod u+s bin For binary file Equal: (tempUser) execute fileSGIDchmod g+s dirFor binary fileEqual: (tempGroup) execute fileIF u

2017-12-24 00:08:39 314

原创 VS Code 输出面板中文乱码

如题:VS Code 输出面板中文乱码解决:将系统默认语言改为英文,或者能改cmd的默认也可以改

2017-12-09 22:07:29 12559 2

原创 SICP lec1b: # Computing process

Computing processkinds of expressionsnumber symbolslambda definations conditionalscombinationsconditionif (define (+ x u) (if (= x 0) y (+ (-1 x) (1 y)) ) )Fibona

2017-12-03 22:14:36 200

转载 [Parser] Build: PL By: JS

origin: http://lisperator.net/pltut/InputStreamTokenStreamParseSummaryvar ast = parse(TokenStream(InputStream(code)));Writing a parser is, depending on the language, a moderately complex task. In e

2017-12-03 18:31:39 387

转载 [Initial] Build: PL By: JS

Origin: http://lisperator.net/pltut/This is a tutorial on how to implement a programming language.If you ever wrote an interpreter or a compiler, then there is probably nothing new for you here.But, if

2017-12-03 18:30:31 225

原创 SICP lec1a: # Lisp overview

origin link sicp 1Black box(module)(* x (+ a b))First scene: Every parentheses is a container called black box, we can take a and b as to varible, like number, electric signal, whatever, we add them,

2017-12-03 15:21:37 223

转载 INT 21 指令集

本文由 简悦 SimpRead 转码, 原文地址 http://www.cnblogs.com/ynwlgh/archive/2011/12/12/2285017.html 很多初学汇编语言的同学可能会对 INT 21H 这条指令感到困惑,不知道是什么意思,下面就以一段简单的程序为大家讲解: 例如:需要键盘输入,并且回显。 AH 的值需要查表取得,表在下面 指令:MOV AH,01 INT

2017-10-28 13:24:40 8774 1

转载 图片懒加载

原文链接原理:将页面中的img标签src指向一张小图片或者src为空,然后定义data-src(这个属性可以自定义命名,我才用data-src)属性指向真实的图片。src指向一张默认的图片,否则当src为空时也会向服务器发送一次请求。可以指向loading的地址。 注:图片要指定宽高<img src="default.jpg" data-src="http://ww4.sinaimg.cn/l

2017-10-15 16:11:58 541

原创 如何实现一个安全的Web登陆

综述:待 Update:QUIC, SSO, HSTS等协议研究,SHA-1 可破解总结: 没有绝对的安全,能不自己做就不自己做, 要么 openID(不了解), 要么OAuth(推荐QQ & Github)本文不考虑键盘记录器等养毒行为, 本文不考虑堆栈溢出, exploit, SQL注入等。 单纯谈论偏向登陆会话过程思维养成key: 时间, 信任无解问题: CSRF, 中间人攻击(有应对方案,但

2017-10-14 20:20:06 4617 1

翻译 Exploding Git Repositories

Origin fork: git exploding repogit clone https://github.com/Katee/git-bomb.git值得一试上面的命令。(最好不要用自己的工作物理机)如果你没有足够大的 RAM 和 storage, 那么通常来说你的 git 会被kill, 然后就是爆内存到逼你重启。 The secret is that git de-duplicate

2017-10-13 15:43:47 452

原创 win10 重置子系统ubuntu

这种方法会彻底重置子系统ubuntu, 从而导致home目录也会删除lxrun /uninstall /full如果想要保留home目录(也就是用户的folder目录)那么你就可以去掉 /full 参数来尝试一下lxrun /uninstall

2017-09-18 15:28:10 10077 3

原创 大型网站技术架构(Note)

整天就知道混,混了一个星期https://github.com/ReZeroS/SitesArchitecture/blob/master/AwesomeSite.md

2017-09-14 20:00:10 287

转载 并查集

本文由 简悦 SimpRead 转码, 原文地址 http://blog.csdn.net/dellaserss/article/details/7724401这个文章是几年前水 acm 的时候转的, 当时也不知道作者是谁, 要是有人知道的话说一下吧并查集是我暑假从高手那里学到的一招,觉得真是太精妙的设计了。以前我无法解决的一类问题竟然可以用如此简单高效的方法搞定。不分享出来真是对不起 party

2017-09-14 00:02:07 376

原创 Http Resources

Static content and more The Web was originally designed to serve documents, not to deliver applications. Even today, a large amount of the data presented on any web site is static content — images, HT

2017-09-09 10:29:46 401

原创 Java & Android 面试题整理

Java使用有向图的方式进行内存管理,可以消除引用循环的问题,例如有三个对象,相互引用,只要它们和根进程不可达的,那么GC也是可以回收它们的。这种方式的优点是管理内存的精度很高,但是效率较低。另外一种常用的内存管理技术是使用计数器,例如COM模型采用计数器方式管理构件,它与有向图相比,精度行低(很难处理循环引用的问题),但执行效率很高。为了更好理解 GC 的工作原理,我们可以将对象考虑为有向图的顶点

2017-09-08 14:35:10 299

转载 You Don't Need jQuery

本文摘自:https://github.com/oneuijs/You-Dont-Need-jQuery 内容有待参考研究。You Don’t Need jQuery 前端发展很快,现代浏览器原生 API 已经足够好用。我们并不需要为了操作 DOM、Event 等再学习一下 jQuery 的 API。同时由于 React、Angular、Vue 等框架的流行,直接操作 DOM 不再是好的模式,jQ

2017-09-03 12:10:17 395

原创 CSS Selector

https://flukeout.github.io/

2017-08-25 10:54:47 612

原创 FTP 服务安装

FTP service setupSetup vsftpd sudo apt-get install vsftpd -yStart vsftpdcheck whether the port 21 is working sudo netstat -nltp | grep 21if the above not start, you can do it manually sudo system

2017-08-21 14:57:50 251

转载 Vue.js vs React

这个页面无疑是最难编写的,但我们认为它也是非常重要的。或许你曾遇到了一些问题并且已经用其他的框架解决了。你来这里的目的是看看 Vue 是否有更好的解决方案。这也是我们在此想要回答的。客观来说,作为核心团队成员,显然我们会更偏爱 Vue,认为对于某些问题来讲用 Vue 解决会更好。如果没有这点信念,我们也就不会整天为此忙活了。但是在此,我们想尽可能地公平和准确地来描述一切。其他的框架也有显著的优点,例

2017-08-20 14:23:32 896

原创 Poi Player 500

Poi Player 播放失败,后台加载不出来歌单 前台console 报500 get.php解决方案:缺少curlsudo apt-get install php7.0-curl记录下调试过程: wordpress 插件debug最好先从后台开始 开启 wp-config.php 的debug模式后,检查后台插件设置的报错 因为这次是500 猜测是ajax请求失败 那么就可能是 a

2017-08-05 20:07:06 368

原创 Kali normal tools

WP ScanWPScan在Kali Linux中已经默认安装。它的语法格式如下所示: wpscan [选项] [测试]常用的选项如下所示:–update:更新到最新版本。–url|-u :指定扫描WordPress的URL(统一资源定位符)或域名。–force |-f:如果远程站点正运行WordPress,强制WPScan不检查。–enumerate |-e [option

2017-08-05 17:52:20 285

翻译 NSA tools

The shadowbrokertools标签: injection security python shadowbroker tool介绍去年八月,ShadowBroker 发布了一套从NSA那偷来的工具,一个GitHub库对此fork了一份: 工具库在这份文档中,我们将重点转移到ETERNALBLUE上(针对win和插件DOUBLEPULSAR)。为了使这波操作离开要命的敲代码。我们会使用FUZ

2017-07-19 00:27:38 1492

逆向工程权威指南 英文版

英文原版: Take a look on GitHub repository. For example, main_EN.tex for English, main_RU.tex for Russian, etc. So just find filename_EN.tex file you want to translate, copy to filename_XX.tex (where XX is your language) and replace English text by yours. No special TeX/LaTeX knowledge is needed. Then just send it to me. Or if you familiar with git and github, add your file to source tree and create pull request. How to find directories with *_EN.tex files? Look here. Please submit your work as early as possible: other translators will be aware of the piece of work already done. Korean, Chinese and Persian languages are reserved by publishers.

2017-10-29

逆向工程权威指南

本书目前只有翻译87章,尚在更新,需完整版可以去看看十积分的这个 http://download.csdn.net/download/qq_39419087/9977947 2014年3月,编辑和Dennis签订中文版授权出版协议 2014年6月,Archer经过认真的考虑,决定承担翻译本书的重任 2016年2月,Archer和安天提交最终译稿 2016年6月,编辑加工完毕,开始发稿 2016年10月,受Dennis委托,谈判中文翻译版出版事宜,最终失败 2017年2月,图书还在最后的编辑校对过程中,Archer成功做完手术 2017年4月,《逆向工程权威指南》付印

2017-10-29

Kali Revealed

kali revealed, 没有目录,google 一下找的,可以下载试看一下,感觉一下如何?kali revealed, 没有目录,google 一下找的,可以下载试看一下,感觉一下如何?

2017-09-15

ACM国际大学生程序设计竞赛 算法与实现 俞勇

2016-10-31

convertToutf8解决sublime乱码

解压下载文件得到ConvertToUTF8.... 复制ConvertToUTF8到C:\Users\用户名\AppData\Roaming\Sublime Text 3\Packages目录下 启动Sublime Text 3,打开乱码文件 按下ctrl+shift+c

2016-10-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除