views.py from . import models # Create your views here. def welcome(request): s = '你好哇,李银河' return HttpResponse(s) def user_info(request): username = ...
分类:
其他好文 时间:
2020-08-27 13:02:58
阅读次数:
46
Shell 变量 定义变量时,变量名不加美元符号($,PHP语言中变量需要),如: your_name="runoob.com" 注意,变量名和等号之间不能有空格,这可能和你熟悉的所有编程语言都不一样。同时,变量名的命名须遵循如下规则: 命名只能使用英文字母,数字和下划线,首个字符不能以数字开头。 ...
分类:
系统相关 时间:
2020-08-25 16:03:17
阅读次数:
154
#!/bin/bash # Fred Denis -- Jan 2016 -- http://unknowndba.blogspot.com -- fred.denis3@gmail.com # # Quickly shows a status of all running instances ac ...
分类:
其他好文 时间:
2020-08-18 14:03:36
阅读次数:
69
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n ...
分类:
其他好文 时间:
2020-08-13 12:42:41
阅读次数:
61
public class MinStack { /** initialize your data structure here. */ Stack<Integer> stack = new Stack<>(); private int min = Integer.MIN_VALUE; List<In ...
分类:
其他好文 时间:
2020-08-10 22:08:46
阅读次数:
86
字符串创建 字符串是 Python 中最常用的数据类型。我们可以使用引号('或")来创建字符串。 创建字符串很简单,只要为变量分配个值即可。 单引号和双引号 在 Python 中我们都知道单引号和双引号都可以用来表示个字符串,比如 print("What's your name?") 结果: 好好学 ...
分类:
编程语言 时间:
2020-08-10 21:00:39
阅读次数:
74
最近收到很多用户反馈说收不到简历投递的邮件,国外用户居多。刚开始以为线路或者其它方面的问题,查看用户退信邮件日志都出现下面的错误,都是在正常连接到对方的服务器之后对方抛出的错误。从而排除了线路的问题。Remote_host_said:_450_4.7.1_Client_host_rejected:_cannot_find_your_reverse_hostname,_[61.129.48.xx]R
分类:
其他好文 时间:
2020-08-06 20:49:58
阅读次数:
97
命令行 Ctrl+Shift+P # 选择 Configure User Snippets # 选择 Vue.json 原始的Vue.json { // Place your snippets for vue here. Each snippet is defined under a snippet ...
分类:
其他好文 时间:
2020-07-30 01:09:52
阅读次数:
97
CF 1374A. Required Remainder You are given three integers x,y and n. Your task is to find the maximum integer k such that 0≤k≤n that kmodx=y, where mo ...
分类:
其他好文 时间:
2020-07-29 10:29:20
阅读次数:
63
0xE0434352 is the exception code for all .NET exceptions so that won't tell you much. How did you got this exception code? The event log? Your best be ...
分类:
其他好文 时间:
2020-07-28 16:56:56
阅读次数:
69