-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall_2.html
executable file
·726 lines (459 loc) · 24.4 KB
/
all_2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
雪地
</title>
<link href="atom.xml" rel="alternate" title="雪地" type="application/atom+xml">
<link rel="stylesheet" href="asset/css/foundation.min.css" />
<link rel="stylesheet" href="asset/css/docs.css" />
<link rel="icon" href="asset/img/favicon.ico" />
<script src="asset/js/vendor/modernizr.js"></script>
<script src="asset/js/vendor/jquery.js"></script>
<script src="asset/highlightjs/highlight.pack.js"></script>
<link href="asset/highlightjs/styles/github.css" media="screen, projection" rel="stylesheet" type="text/css">
<script>hljs.initHighlightingOnLoad();</script>
<script type="text/javascript">
function before_search(){
var searchVal = 'site:yinzo.github.io ' + document.getElementById('search_input').value;
document.getElementById('search_q').value = searchVal;
return true;
}
</script>
</head>
<body class="antialiased hide-extras">
<div class="marketing off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<nav class="top-bar docs-bar hide-for-small" data-topbar>
<section class="top-bar-section">
<div class="row">
<div style="position: relative;width:100%;"><div style="position: absolute; width:100%;">
<ul id="main-menu" class="left">
<li id="menu_item_index"><a href="index.html">Blog</a></li>
<li id="menu_item_archives"><a href="archives.html">Archives</a></li>
<li id="menu_item_about"><a href="http://yinz.xyz/">Home</a></li>
</ul>
<ul class="right" id="search-wrap">
<li>
<form target="_blank" onsubmit="return before_search();" action="http://google.com/search" method="get">
<input type="hidden" id="search_q" name="q" value="" />
<input tabindex="1" type="search" id="search_input" placeholder="Search"/>
</form>
</li>
</ul>
</div></div>
</div>
</section>
</nav>
<nav class="tab-bar show-for-small">
<a href="javascript:void(0)" class="left-off-canvas-toggle menu-icon">
<span> 雪地</span>
</a>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li><a href="index.html">Blog</a></li>
<li><a href="archives.html">Archives</a></li>
<li><a href="http://yinz.xyz/">Home</a></li>
<li><label>Categories</label></li>
<li><a href="Security%20Info.html">Security Info</a></li>
<li><a href="Adversary%20Learning.html">Adversary Learning</a></li>
<li><a href="TCPIP.html">TCP/IP</a></li>
<li><a href="Pattern%20Recognition.html">Pattern Recognition</a></li>
<li><a href="Python.html">Python</a></li>
<li><a href="OS.html">OS</a></li>
<li><a href="Deep%20Learning.html">Deep Learning</a></li>
<li><a href="Machine%20Learning.html">Machine Learning</a></li>
</ul>
</aside>
<a class="exit-off-canvas" href="#"></a>
<section id="main-content" role="main" class="scroll-container">
<script type="text/javascript">
$(function(){
$('#menu_item_index').addClass('is_active');
});
</script>
<div class="row">
<div class="large-8 medium-8 columns">
<div class="markdown-body home-categories">
<div class="article">
<a class="clearlink" href="14608288508524.html">
<h1>Oracle注入速查表</h1>
<div class="a-content">
<div class="a-content-text">
<p><small>本文由Yinzo翻译,转载请保留署名。原文地址:<a href="http://pentestmonkey.net/cheat-sheet/sql-injection/oracle-sql-injection-cheat-sheet">http://pentestmonkey.net/cheat-sheet/sql-injection/oracle-sql-injection-cheat-sheet</a></small></p>
<p>注:下面的一部分查询只能由admin执行,我会在查询的末尾以"<strong><code>-priv</code></strong>“标注。</p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608288508524.html">Read more</a>
<span class="date">2015/8/28 17:30 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608288742293.html">
<h1>解决Python的pytesseract库执行时报错</h1>
<div class="a-content">
<div class="a-content-text">
<p>使用pytesseract库识别验证码时遇到以下报错</p>
<pre><code>AttributeError: 'NoneType' object has no attribute 'bands'
</code></pre>
<p>修改PIL库<code>site-packages/PIL/Image.py</code>1496行</p>
<pre><code>def split(self):
“Split image into bands”
if self.im.bands == 1:
</code></pre>
<p>为</p>
<pre><code>def split(self):
“Split image into bands”
self.load()
if self.im.bands == 1:
</code></pre>
<p>即可。</p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2015/8/23 1:42 上午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608288854459.html">
<h1>SQL注入速查表</h1>
<div class="a-content">
<div class="a-content-text">
<p><small><em>本文由Yinzo翻译,转载请保留署名。原文地址:<a href="http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/#Enablecmdshell">http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/#Enablecmdshell</a></em></small></p>
<p><small><em>文档版本:1.4</em></small></p>
<h2 id="toc_0">关于SQL注入速查表</h2>
<p>现在仅支持MySQL、Microsoft SQL Server,以及一部分ORACLE和PostgreSQL。大部分样例都不能保证每一个场景都适用。现实场景由于各种插入语、不同的代码环境以及各种不常见甚至奇特的SQL语句,而经常发生变化。</p>
<p>样例仅用于读者理解对于“可能出现的攻击(a potential attack)”的基础概念,并且几乎每一个部分都有一段简洁的概要</p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608288854459.html">Read more</a>
<span class="date">2015/8/10 17:30 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608289034158.html">
<h1>个人总结</h1>
<div class="a-content">
<div class="a-content-text">
<p><img src="http://ww2.sinaimg.cn/large/7d52f1ffgw1euglbmesppj217w0kkqbc.jpg" alt="技能树——2015.07.26"/>只有把自己的技能都列出来的时候才能发现自己是有多么的弱。希望以后能有一份拿得出手的技能树,就放在这张旧的旁边。</p>
<p>记录一下技能树里面的具体内容:</p>
<h2 id="toc_0">小学</h2>
<ul>
<li>瞎玩Flash</li>
</ul>
<h2 id="toc_1">初中</h2>
<ul>
<li>VB自学,初二——高一
<ul>
<li>当时在玩无损,写了个cue文件批量修改与格式化的小软件</li>
</ul></li>
</ul>
<h2 id="toc_2">高中</h2>
<ul>
<li>C#自学,高二——高三
<ul>
<li>高三用C#做出一个舒尔特表格的3×3与5×5版本</li>
</ul></li>
<li>入门Ubuntu</li>
</ul>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608289034158.html">Read more</a>
<span class="date">2015/7/26 23:55 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608289253115.html">
<h1>基于SmartQQ的Python QQ机器人框架</h1>
<div class="a-content">
<div class="a-content-text">
<p>项目地址:<a href="https://github.com/Yinzo/SmartQQBot">https://github.com/Yinzo/SmartQQBot</a></p>
<p>这是一个原本是自己在看到某一个QQ群中的机器人后,以娱乐的心态写的一个QQ机器人。登陆部分逻辑与代码参考了<a href="https://github.com/xqin/SmartQQ-for-Raspberry-Pi">原名:SmartQQ-for-Raspberry-Pi(PiWebQQV2)</a>这一项目,结合自己的需求写出来的一个以娱乐为主的小玩具。</p>
<p>习惯性地把自己写的小东西发布到Github,意外地发现受到了一定的支持。加上在进一步开发失物招领功能的时候发现代码逻辑有点混乱,于是决定进行一次完全的重构,希望能够开发出一个便于二次开发的QQ机器人框架。</p>
<p>以下为没有重构之前的机器人的README,但是近期(两到三个星期)机器人就将重构,所以以下内容可能会马上过时。</p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608289253115.html">Read more</a>
<span class="date">2015/7/21 15:44 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608289652972.html">
<h1>煎蛋无聊图排行生成器</h1>
<div class="a-content">
<div class="a-content-text">
<p>这个生成器实际上挺久之前就做了的,但是一直都是拿来自己用的,所以代码规范和易用性也是比较差的。这次放出来是因为之前煎蛋民众纷纷表示想看历年汇总,于是乎自己用这个生成器+PS做了个排行榜,收到的响应也是蛮好的,虽说字体放得有点小了;_;<br/>
<img src="http://ww3.sinaimg.cn/large/7d52f1ffjw1eo96odzrf3j20ho0ieta5.jpg" alt="无聊图排行"/><br/>
最终到今天为止收到了1329个赞XD,也是蛮开心<br/>
然后,些许提升了下易用性与生成网页的外观就放到了Github上啦</p>
<p><a href="https://github.com/Yinzo/Jandan_pic_ranker" target="_blank">Github点这里</a></p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608289652972.html">Read more</a>
<span class="date">2015/1/14 17:41 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608290105708.html">
<h1>给你的 Django1.7 添加 favicon</h1>
<div class="a-content">
<div class="a-content-text">
<p>为了给 Blog 加上图标,我翻了好多地方,都是用的旧版Django的方法,在urls.py中加入以下语句,现在已被取代:</p>
<pre><code>url(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/images/favicon.ico'}),
</code></pre>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608290105708.html">Read more</a>
<span class="date">2014/12/16 20:51 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608289727774.html">
<h1>通过 CSS 修改 webkit 浏览器滚动条样式</h1>
<div class="a-content">
<div class="a-content-text">
<p>webkit 内核的浏览器关于滚动条,主要有下面7个属性</p>
<ol>
<li><code>::-webkit-scrollbar </code>滚动条整体部分,可以设置宽度啥的</li>
<li><code>::-webkit-scrollbar-button </code>滚动条两端的按钮</li>
<li><code>::-webkit-scrollbar-track </code>外层轨道</li>
<li><code>::-webkit-scrollbar-track-piece </code>内层滚动槽</li>
<li><code>::-webkit-scrollbar-thumb </code>滚动的滑块</li>
<li><code>::-webkit-scrollbar-corner </code>边角</li>
<li><code>::-webkit-resizer </code>定义右下角拖动块的样式</li>
</ol>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608289727774.html">Read more</a>
<span class="date">2014/12/15 21:1 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608290498124.html">
<h1>为你的 Django 博客添加 Disqus 评论系统</h1>
<div class="a-content">
<div class="a-content-text">
<p>首先,先去 <a href="https://disqus.com/"> Disqus 官网</a>注册个账号啦.注册完账号之后去首页末尾<br/>
→API→Application,找到 DISQUS_API_KEY 一项,复制一下KEY,等下会用到。</p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608290498124.html">Read more</a>
<span class="date">2014/12/15 15:59 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="14608290582047.html">
<h1>Django自定义 Markdown 过滤器</h1>
<div class="a-content">
<div class="a-content-text">
<ol>
<li>在你 APP 目录下建立tamplatetags文件夹,手动建。文件夹和 APP 的 view.py 处于同一级</li>
<li>手动新建文件 __init__.py ,置空就好了,用于 Django 识别。</li>
<li>新建单独的 py 文件,文件名为过滤器调用时的名字,在其中输入你过滤器的代码。这里我使用的文件名是 my_markdown.py ,具体代码下附。</li>
<li>在模板文件中载入过滤器使用。<code>{% load my_markdown %}</code></li>
</ol>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<a href="14608290582047.html">Read more</a>
<span class="date">2014/12/15 14:5 下午</span>
</div>
<div class="more-right right">
<span class="comments">
</span>
</div>
</div>
</div><!-- article -->
<div class="row">
<div class="large-6 columns">
<p class="text-left" style="padding-top:25px;">
<a href="all_1.html">« Prev Page</a>
</p>
</div>
<div class="large-6 columns">
<p class="text-right" style="padding-top:25px;">
<a href="all_3.html">» Next Page</a>
</p>
</div>
</div>
</div>
</div><!-- large 8 -->
<div class="large-4 medium-4 columns">
<div class="hide-for-small">
<div id="sidebar" class="sidebar">
<div id="site-info" class="site-info">
<div class="site-a-logo"><img src="asset/img/3.png" /></div>
<h1>雪地</h1>
<div class="site-des"></div>
<div class="social">
<a class="github" target="_blank" href="https://github.com/Yinzo" title="GitHub">GitHub</a>
<a class="email" href="mailto:[email protected]" title="Email">Email</a>
<a class="rss" href="atom.xml" title="RSS">RSS</a>
</div>
</div>
<div id="site-categories" class="side-item ">
<div class="side-header">
<h2>Categories</h2>
</div>
<div class="side-content">
<p class="cat-list">
<a href="Security%20Info.html"><strong>Security Info</strong></a>
<a href="Adversary%20Learning.html"><strong>Adversary Learning</strong></a>
<a href="TCPIP.html"><strong>TCP/IP</strong></a>
<a href="Pattern%20Recognition.html"><strong>Pattern Recognition</strong></a>
<a href="Python.html"><strong>Python</strong></a>
<a href="OS.html"><strong>OS</strong></a>
<a href="Deep%20Learning.html"><strong>Deep Learning</strong></a>
<a href="Machine%20Learning.html"><strong>Machine Learning</strong></a>
</p>
</div>
</div>
<div id="site-categories" class="side-item">
<div class="side-header">
<h2>Recent Posts</h2>
</div>
<div class="side-content">
<ul class="posts-list">
<li class="post">
<a href="14968173531750.html">CS229 学习笔记 Part3</a>
</li>
<li class="post">
<a href="14965964854250.html">CS229 学习笔记 Part2</a>
</li>
<li class="post">
<a href="14946020792948.html">CS229 学习笔记 Part 1</a>
</li>
<li class="post">
<a href="14883590547961.html">原始模型优化笔记</a>
</li>
<li class="post">
<a href="14863637393852.html">低素质弹幕分类器的CNN实现</a>
</li>
</ul>
</div>
</div>
<div id="site-link" class="side-item">
<div class="side-header">
<h2>Link</h2>
</div>
<div class="side-content">
<p class="link-list">
<a href="http://blog.winkidney.com/">阿毛</a>
</p>
</div>
</div>
</div><!-- sidebar -->
</div><!-- hide for small -->
</div><!-- large 4 -->
</div><!-- row -->
<div class="page-bottom clearfix">
<div class="row">
<p class="copyright">Copyright © 2016
Powered by <a target="_blank" href="http://www.mweb.im">MWeb</a>,
Theme used <a target="_blank" href="http://github.com">GitHub CSS</a>.
Modified by <a target="_blank" href="http://yinz.xyz">Yinzo</a>.</p>
</div>
</div>
</section>
</div>
</div>
<script src="asset/js/foundation.min.js"></script>
<script>
$(document).foundation();
function fixSidebarHeight(){
var w1 = $('.markdown-body').height();
var w2 = $('#sidebar').height();
if (w1 > w2) { $('#sidebar').height(w1); };
}
$(function(){
fixSidebarHeight();
})
$(window).load(function(){
fixSidebarHeight();
});
</script>
<script src="asset/chart/all-min.js"></script><script type="text/javascript">$(function(){ var mwebii=0; var mwebChartEleId = 'mweb-chart-ele-'; $('pre>code').each(function(){ mwebii++; var eleiid = mwebChartEleId+mwebii; if($(this).hasClass('language-sequence')){ var ele = $(this).addClass('nohighlight').parent(); $('<div id="'+eleiid+'"></div>').insertAfter(ele); ele.hide(); var diagram = Diagram.parse($(this).text()); diagram.drawSVG(eleiid,{theme: 'simple'}); }else if($(this).hasClass('language-flow')){ var ele = $(this).addClass('nohighlight').parent(); $('<div id="'+eleiid+'"></div>').insertAfter(ele); ele.hide(); var diagram = flowchart.parse($(this).text()); diagram.drawSVG(eleiid); } });});</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({TeX: { equationNumbers: { autoNumber: "AMS" } }});</script>
<script src="asset/js/instantclick.min.js" data-no-instant></script>
<script data-no-instant>InstantClick.on('change', function() {
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
});</script>
<script data-no-instant>InstantClick.init();</script>
</body>
</html>