Script Home
  • The method of using Vundle to manage Vim plug-ins in Linux

    +Read more
    Author:zyq / Release:2018-4-23 / category:perl / crowd0 views time+ / sofa /
    preface is beyond doubt, Vim is a powerful tool for text file processing, capable of managing system configuration files and writing code. Through plug-ins, Vim can be extended to different levels of functions. In general, all plug-ins and attached configuration files are stored in the ~/.vim ...
  • Detailed steps to install scrapy under Centos7 Python3

    +Read more
    Author:zyq / Release:2018-3-15 / category:css, perl, python / crowd0 views time+ / sofa /
    On the eve of 's bitter struggle, worked hard last night, and got to two o'clock in the evening. At last, she didn't install the scrapy framework under python3. After that, she broke the yum thing and couldn't find the order. This morning, he made a quick morning himself, and asked for help. H...
  • AjaxUpLoad.js implementation of file upload

    +Read more
    Author:zyq / Release:2018-3-5 / category:AJAX, perl / crowd0 views time+ / sofa /
    The code for the AjaxUpload.js file, for reference, the specific contents are as follows / * * * AJAX Upload (http://valums.com/ajax-upload/) * Copyright (c) Andris Valums Licensed under the MIT * license * Thanks (http://valums.com/mit-license/) to Gary Haran, David Mark, Corey Burns and othe...
  • AjaxUpLoad.js implement file upload function

    +Read more
    Author:zyq / Release:2018-3-2 / category:AJAX, css, perl / crowd0 views time+ / sofa /
    The use of AjaxUpLoad.js implements no refresh file upload, such as graph. 1 map file upload before 2 1 map file upload, create a page and write HTML : < upload documents; div> < span id= "Doc" > < input; type= "text" disabled= "disabled" /> < /span> < input ty...
  • JS implementation of Baidu search function

    +Read more
    Author:zyq / Release:2018-2-1 / category:css, perl / crowd0 views time+ / sofa /
    today we realize Baidu search function with JS, the following code: HTML : < DOCTYPE html> <!; html> < head> < meta charset= "UTF-8" > <! -- Baidu iocn icon --> link rel=; < "shortcut icon" rel= "external nofollow" type= "image/x-icon" /> < title> use B...
  • Django rest framework basic introduction and code examples

    +Read more
    Author:zyq / Release:2018-1-26 / category:perl / crowd0 views time+ / sofa /
    The main part of this paper is the related content of Django rest framework, sharing the example, as follows. The Django REST framework is a powerful and flexible toolkit for building Web API. you might want to use some of the reasons for the REST framework: Web browsing API is a huge availa...
  • Custom templates in the Django framework filter method

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Custom templates in the Django framework filter method /
    custom filters is one or two parameters of Python functions: The       (input) the value of the variable       The value of the parameter, can be a default value or completely blank , for example, the filter {{var | foo: "bar"}}, the filter will be introduce...
    Djangofilter
  • Perl basic array sorting method is introduced

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl basic array sorting method is introduced /
    in this paper, we study how to use Perl to string or number to sort an array. Perl has a built-in function called sort undoubtedly can sort an array. Its simplest form is an array, it returns an array of elements, after sorting. @sorted=sort @ the original. based on ASCII ordering code is...
    sort an array
  • Perl captured in the warning message, abnormal information and log explanation

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl captured in the warning message, abnormal information and log explanation /
    although advice in each Perl script and open the warning in the module, but you don't want to see the Perl users warning. on the one hand you want to use use warnings as your safety net in front of the code, on the other hand, usually warning appears on the screen. In most cases, customers don...
    captureunusualWarning

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security