On the archive page of typecho, I wrote the following output: {code...} but not paging. how can I paging? On the archive page of typecho, I wrote the following output:
widget('Widget_Contents_Post_Recent', 'pageSize=1000')->to($archives); $year=0; $i=0; $j=0; while($archives->next()): $year_tmp = date('Y',$
Typecho Archive page Article output I wrote it this way:
widget('Widget_Contents_Post_Recent', 'pageSize=1000')->to($archives); $year=0; $i=0; $j=0; while($archives->next()): $year_tmp = date('Y',$archives->created); $y=$year; if ($year != $year_tmp
We first propose such a simple requirement:Now to analyze the access log information of a Web site, the number of users from different IP visits, so that the GEO information to obtain access to the country region distribution. Here I take an example of the logging line on my site, as follows:
1
121.205.198.92--[21/feb/2014:00:00:07 +0800] "get/archives/417.html http/1.1 11465" http://shiyanjun.cn/
Popular handy compression tool, support mouse drag and drop and shell expansion, perfect support ZIP file, built-in program can unlock CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO and other types of compressed files; You can compress the file before the zip and RAR two kinds of compression tools in each of the three compression methods of the approximate compression rate; Has the history and the collection function, the compression rate is quite high, but the resource occupies relatively few,
The optimization of dedemsv3.1 HTML generation speed is due to version compatibility and other reasons. In fact, dedecms indexes are a bit messy. if the index is set appropriately, the generation speed of dedecmsHTML is affected, it is mainly used to obtain the list of articles not sorted by default. due to the need to re-sort the list, the speed of large data volumes is not ideal. you can perform the following steps to easily optimize the list:
1. go to phpmyadmin and delete the dedecms site
Due to version compatibility and other reasons, the index of dedecms is a bit messy. If the index is set appropriately, the generation speed of dedecmsHTML is affected, it is mainly used to obtain the list of articles not sorted by default. Due to the need to re-sort the list, the speed of large data volumes is not ideal. You can perform the following steps to easily optimize the list:1. Go to phpmyadmin and delete the dedecms site dede_archives except the index of the ID Primary Key;2. Use SQL
I have installed Ubuntu on multiple computers. Every computer needs to download updates from the source. Isn't it a waste of network resources? I accidentally found that all downloaded files are in/var/cache/apt/archives. On the updated PC, rsync-ru/var/cache/apt/archives // media/disk-1/archives // media/disk-1 is the installation of my mobile hard drive. point.
The instructions for using the 7z.exe in the cmd window are as follows:7-zip (A) 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06Usage:7za [A:add Files to archiveB:benchmarkD:delete Files from archiveE:extract files from archive (without using directory names)L:list contents of ArchiveT:test Integrity of ArchiveU:update Files to archiveX:extract files with full paths-ai[r[-|0]]{@listfile |! Wildcard}: Include Archives-ax[r[-|0]]{@listfile |! Wildca
Due to version compatibility and other reasons, the index of dedecms is a bit messy. If the index is set appropriately, the generation speed of dedecmshtml is affected, mainly because the index is not sorted by default.
ArticleThe speed of large data volumes is not ideal due to the need to re-sort the list. You can perform the following steps to easily optimize the list:
1. Go to phpMyAdmin and delete the dedecms site dede_archives except the index of the id Primary Key;
2. Use SQL to creat
step, must be able to go very far! Although we have made some achievements, but the site is also in the early stage, looking forward to every PHP enthusiasts, every programming enthusiast, every friend I love, help us promote, Phpthinking need you, we need all of us to make it grow up! I believe everyone will not object to a website that is really paying for PHP developers Welcome to follow us: php Development Learning Portal: http://www.phpthinking.com/ NBSP; Span style= "margin:0px
software packages in the Debian installation source used by the current system,These include installed and uninstalled software packages in the current system.
The/var/Cache/APT/archives directory is the temporary storage path of the software package when you use apt-Get install to install the software.
/Etc/APT/sources. list stores the software source site. When you execute sudo apt-Get install XXX, UBUNTU downloads the software package from these s
DedecmsV3.1: optimize the HTML generation speed. Due to version compatibility and other reasons, the index of dedecms is a bit messy. if the index is set appropriately, the generation speed of dedecmsHTML is affected, the main reason is that the index of dedecms is not updated by default due to version compatibility and other reasons. In fact, the index of dedecmsHTML is a bit messy. if the index is set appropriately, the generation speed of dedecmsHTML is affected, it is mainly used to obtain t
Suppose there is a document manager class user, and a document class archives. Where user and archives are one-to-many bidirectional associationsBehave as follows in the class (the set and get methods of the property are omitted here)The user class is defined as follows:public class user implements Serializable {/** definition ID */ private Long ID; /** Define User name */ private String username;
= '000000'; "border = 0>
Okay. the page is successfully paged, and no additional code is available. At this point, all the major code is complete.
The result is as follows:
Paging: analysis of the style of work of Party members and cadres
Non-paging: work plan of the Ministry of literature and art
Write a completed site rule:
The code is as follows:
{! -- Basic node information --}{Dede: item name = 'tianshui _ work plan _ 1 page'Imgurl = '/upimg' imgdir = '../upimg' language = 'gb2312 'type
we can use U, G, O to represent the attributes of the three groups! In addition, a represents all, that is, all three groups!
Example: chmod u = rwx, go = Rx. bashrc
Equivalent to the first chomod 755. bashrc
4. Understand the meaning of directory attributes
The attribute we mentioned above is basically a description of the characteristics of general archives. If it is for the directory, the R, W, X pairWhat is the significance of a directory?
allowed. Generally, the security level of the former is higher than that of the latter. In this way, attackers generally cannot attack you by executing malicious JavaScript scripts. However, if the server on the same Intranet has a cross-site scripting vulnerability, attackers can take advantage of it, because the server is located in the Intranet region.
Experiment 6: combined with other vulnerabilities, modify system settings, view system files, and execute system commandsBecause there are to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.