#djangobb之views  show_forum(request, forum_id, full=True)

    default
16.00 ms (21 queries including 15 duplicates ) Query Timeline Time (ms) Action
-
SELECT
"djangobb_forum_forum"."id",
"djangobb_forum_forum"."category_id",
"djangobb_forum_forum"."name",
"djangobb_forum_forum"."position",
"djangobb_forum_forum"."description",
"djangobb_forum_forum"."updated",
"djangobb_forum_forum"."post_count",
"djangobb_forum_forum"."topic_count",
"djangobb_forum_forum"."last_post_id",
"djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."id" = ''
#查找id=1的forum Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(338)
forum = get_object_or_404(Forum, pk=forum_id) -
SELECT
"djangobb_forum_category"."id",
"djangobb_forum_category"."name",
"djangobb_forum_category"."position"
FROM "djangobb_forum_category" WHERE "djangobb_forum_category"."id" = ''
#查找id=1的类别 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(339)
if not forum.category.has_access(request.user): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(339)
if not forum.category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT
"auth_user"."id",
"auth_user"."password",
"auth_user"."last_login",
"auth_user"."is_superuser",
"auth_user"."username",
"auth_user"."first_name",
"auth_user"."last_name",
"auth_user"."email",
"auth_user"."is_staff",
"auth_user"."is_active",
"auth_user"."date_joined"
FROM "auth_user" INNER JOIN "djangobb_forum_forum_moderators" ON ("auth_user"."id" = "djangobb_forum_forum_moderators"."user_id") WHERE "djangobb_forum_forum_moderators"."forum_id" = ''
#查找出该版块的所有版主 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(343)
request.user in forum.moderators.all() -
SELECT "djangobb_forum_category"."id",
"djangobb_forum_category"."name",
"djangobb_forum_category"."position"
FROM "djangobb_forum_category" ORDER BY "djangobb_forum_category"."position" ASC Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(346)
for category in Category.objects.all(): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1
Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(347)
if category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1
Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(347)
if category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1
Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(347)
if category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT COUNT(*) AS "__count" FROM "djangobb_forum_topic" WHERE "djangobb_forum_topic"."forum_id" = '' Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(354)
'topics_page': get_page(topics, request, forum_settings.FORUM_PAGE_SIZE),
C:\djbb\mybb\djangobb_forum/util.py in get_page(40)
return Paginator(objects, size).page(request.GET.get('page', 1)) -
SELECT "djangobb_forum_topic"."id",
"djangobb_forum_topic"."forum_id",
"djangobb_forum_topic"."name",
"djangobb_forum_topic"."created",
"djangobb_forum_topic"."updated",
"djangobb_forum_topic"."user_id",
"djangobb_forum_topic"."views",
"djangobb_forum_topic"."sticky",
"djangobb_forum_topic"."closed",
"djangobb_forum_topic"."post_count",
"djangobb_forum_topic"."last_post_id",
"djangobb_forum_forum"."id",
"djangobb_forum_forum"."category_id",
"djangobb_forum_forum"."name",
"djangobb_forum_forum"."position",
"djangobb_forum_forum"."description",
"djangobb_forum_forum"."updated",
"djangobb_forum_forum"."post_count",
"djangobb_forum_forum"."topic_count",
"djangobb_forum_forum"."last_post_id",
"djangobb_forum_forum"."forum_logo",
"djangobb_forum_category"."id",
"djangobb_forum_category"."name",
"djangobb_forum_category"."position",
"auth_user"."id",
"auth_user"."password",
"auth_user"."last_login",
"auth_user"."is_superuser",
"auth_user"."username",
"auth_user"."first_name",
"auth_user"."last_name",
"auth_user"."email",
"auth_user"."is_staff",
"auth_user"."is_active",
"auth_user"."date_joined" FROM "djangobb_forum_topic" INNER JOIN "djangobb_forum_forum" ON ("djangobb_forum_topic"."forum_id" = "djangobb_forum_forum"."id") INNER JOIN "djangobb_forum_category" ON ("djangobb_forum_forum"."category_id" = "djangobb_forum_category"."id") INNER JOIN "auth_user" ON ("djangobb_forum_topic"."user_id" = "auth_user"."id") WHERE "djangobb_forum_topic"."forum_id" = '' ORDER BY "djangobb_forum_topic"."sticky" DESC, "djangobb_forum_topic"."updated" DESC LIMIT 4 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 34
{% for topic in topics_page %}
35
<tr>
36
<td class="tcl">
37
<div class="intd">
38
<div {% if topic.sticky %}class="sticky"{% else %}{% if topic.closed %}class="closed"{% else %}{% if topic|has_unreads:user %}class="inew"{% else %}class="icon"{% endif %}{% endif %}{% endif %}><div class="nosize"><!-- --></div></div> C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id",
"djangobb_forum_post"."topic_id",
"djangobb_forum_post"."user_id",
"djangobb_forum_post"."created",
"djangobb_forum_post"."updated",
"djangobb_forum_post"."updated_by_id",
"djangobb_forum_post"."markup",
"djangobb_forum_post"."body",
"djangobb_forum_post"."body_html",
"djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times. Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id",
"auth_user"."password",
"auth_user"."last_login",
"auth_user"."is_superuser",
"auth_user"."username",
"auth_user"."first_name",
"auth_user"."last_name",
"auth_user"."email",
"auth_user"."is_staff",
"auth_user"."is_active",
"auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id", "djangobb_forum_post"."topic_id", "djangobb_forum_post"."user_id", "djangobb_forum_post"."created", "djangobb_forum_post"."updated", "djangobb_forum_post"."updated_by_id", "djangobb_forum_post"."markup", "djangobb_forum_post"."body", "djangobb_forum_post"."body_html", "djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id", "djangobb_forum_post"."topic_id", "djangobb_forum_post"."user_id", "djangobb_forum_post"."created", "djangobb_forum_post"."updated", "djangobb_forum_post"."updated_by_id", "djangobb_forum_post"."markup", "djangobb_forum_post"."body", "djangobb_forum_post"."body_html", "djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id", "djangobb_forum_post"."topic_id", "djangobb_forum_post"."user_id", "djangobb_forum_post"."created", "djangobb_forum_post"."updated", "djangobb_forum_post"."updated_by_id", "djangobb_forum_post"."markup", "djangobb_forum_post"."body", "djangobb_forum_post"."body_html", "djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_forum"."id", "djangobb_forum_forum"."category_id", "djangobb_forum_forum"."name", "djangobb_forum_forum"."position", "djangobb_forum_forum"."description", "djangobb_forum_forum"."updated", "djangobb_forum_forum"."post_count", "djangobb_forum_forum"."topic_count", "djangobb_forum_forum"."last_post_id", "djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."category_id" = '' ORDER BY "djangobb_forum_forum"."position" ASC
Duplicated 3 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 79
<select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)">
80
{% for category in categories %}
81
<optgroup label="{{ category }}">
82
{% for forum in category.forums.all %}
83
<option value="{{ forum.id }}">{{ forum.name }}</option>
84
{% endfor %}
85
</optgroup>
86
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_forum"."id", "djangobb_forum_forum"."category_id", "djangobb_forum_forum"."name", "djangobb_forum_forum"."position", "djangobb_forum_forum"."description", "djangobb_forum_forum"."updated", "djangobb_forum_forum"."post_count", "djangobb_forum_forum"."topic_count", "djangobb_forum_forum"."last_post_id", "djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."category_id" = '' ORDER BY "djangobb_forum_forum"."position" ASC
Duplicated 3 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 79
<select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)">
80
{% for category in categories %}
81
<optgroup label="{{ category }}">
82
{% for forum in category.forums.all %}
83
<option value="{{ forum.id }}">{{ forum.name }}</option>
84
{% endfor %}
85
</optgroup>
86
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_forum"."id", "djangobb_forum_forum"."category_id", "djangobb_forum_forum"."name", "djangobb_forum_forum"."position", "djangobb_forum_forum"."description", "djangobb_forum_forum"."updated", "djangobb_forum_forum"."post_count", "djangobb_forum_forum"."topic_count", "djangobb_forum_forum"."last_post_id", "djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."category_id" = '' ORDER BY "djangobb_forum_forum"."position" ASC
Duplicated 3 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 79
<select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)">
80
{% for category in categories %}
81
<optgroup label="{{ category }}">
82
{% for forum in category.forums.all %}
83
<option value="{{ forum.id }}">{{ forum.name }}</option>
84
{% endfor %}
85
</optgroup>
86
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html

djangobb之debug-toolbar查看其sql的更多相关文章

  1. 部署前准备--使用Mysql之Django Debug Toolbar安装以及配置

    python -c "import django ;print(django.__path__);" 查看python的全局配置 vi /usr/local/lib/python3 ...

  2. Django学习——图书相关表关系建立、基于双下划线的跨表查询、聚合查询、分组查询、F查询、Q查询、admin的使用、使用脚本调用Django、Django查看源生sql

    0 图书相关表关系建立 1.5个表 2.书籍表,作者表,作者详情表(垂直分表),出版社表,书籍和作者表(多对多关系) 一对一 多对多 本质都是一对多 外键关系 3.一对一的关系,关联字段可以写在任意一 ...

  3. 查询某库所有表的rows &查看当前sql的注册信息

    查询某库所有表的rows &查看当前sql的注册信息 1 2 3 4 5 6 7 select sobj.name,spar.rows FROM sys.objects sobj  INNER ...

  4. script:查看历史sql执行信息

    script:查看历史sql执行信息 SELECT *     FROM (SELECT '1.v$sql'||'实例号:'||GV$SQL.inst_id source,               ...

  5. SQLSERVER图片查看工具SQL Image Viewer5.5.0.156

    原文:SQLSERVER图片查看工具SQL Image Viewer5.5.0.156 SQLSERVER图片查看工具SQL Image Viewer5.5.0.156 在2013年某一次北京SQL ...

  6. MySQL - 查看慢SQL

    查看MySQL是否启用了查看慢SQL的日志文件 (1) 查看慢SQL日志是否启用 mysql> show variables like 'log_slow_queries'; +-------- ...

  7. Django之Django debug toolbar调试工具

    一.安装Django debug toolbar调试工具 pip3 install django-debug-toolbar 如果出错命令为 pip install django_debug_tool ...

  8. db2 性能查看top sql

    DB2 V10.3    查看top sql ,类似oracle 这篇文章是对之前有篇db2 v9的简化更新,总体还是觉得DB2TOP比较好用直观,不过需要导出SQL时,或自动化脚本时,还是建议执行S ...

  9. 查看慢sql语句

    查看慢sql语句 st.text AS SQL_Full --父级完整语句 ,) , ((CASE statement_end_offset THEN DATALENGTH(st.text) ELSE ...

  10. 【Django】Django Debug Toolbar调试工具配置

    正在发愁怎么调试Django,就遇到了Django Debug Toolbar这个利器. 先说遇到的问题: 网上也有教程,不过五花八门的,挨个尝试了一遍,也没有成功运行.最后终于找到问题所在: 从开发 ...

随机推荐

  1. 【java】之类加载机制

    类加载: 类加载机制是指.class文件加载到jvm,并形成Class对象的机制,之后的应用就可对Class对象进行实例化并调用,类加载机制可在运行时动态加载外部的类,远程网络下载过来的class文件 ...

  2. elasticsearch 口水篇(4)java客户端 - 原生esClient

    上一篇(elasticsearch 口水篇(3)java客户端 - Jest)Jest是第三方客户端,基于REST Api进行调用(httpClient),本篇简单介绍下elasticsearch原生 ...

  3. Qt QListWidget实现图片缩略图列表

    转载:v_xchen_v 目标: 将本机中的多张图片以缩略图的形式显示在列表中 环境: 我们已经做好了菜单栏和文件选择对话框.参考:http://blog.csdn.net/v_xchen_v/art ...

  4. vc++使用cookie登录网站

    以http://www.idc816.com为例 效果图: 1)先登录获取cookie,再使用cookie获取用户信息 2)记录cookie,关闭程序后重新运行程序,直接获取用户信息 使用Fiddle ...

  5. [转]一图读懂JVM架构解析

    每个Java开发人员都知道字节码经由JRE(Java运行时环境)执行.但他们或许不知道JRE其实是由Java虚拟机(JVM)实现,JVM分析字节码,解释并执行它.作为开发人员,了解JVM的架构是非常重 ...

  6. linux一些基本知识

    一.linux i386是32位的,amd64是64位(一般情况不限intel或者amd)       server是服务器版,desktop是桌面版 Desktop是社区开源版,拥有一些新功能新软件 ...

  7. tf.while_loop

    tf.while_loop(cond, body, loop_vars, shape_invariants=None, parallel_iterations=10, back_prop=True, ...

  8. POJ Lost Cows

    [题解] 参考https://blog.csdn.net/acmer_hades/article/details/46272605.设置数组pre_smaller,其中第i个元素即为输入的第i项,则显 ...

  9. Android:真机调试遇到的问题(You need to use a Theme.AppCompat theme (or descendant) with this activity)

    Android:真机调试遇到的问题(You need to use a Theme.AppCompat theme (or descendant) with this activity). 在调试&l ...

  10. 07 grep命令与正则表达式

    grep命令 首先我们知道grep命令是用来做文件内容过滤的!如果你要在文件中查找一些对应的内容,我们如何来过滤找到其中我们需要符合条件的内容呢?grep命令结合正则表达式就可以实现: grep.eg ...