题目 A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic num ...
分类:
其他好文 时间:
2020-05-13 23:42:26
阅读次数:
103
一、汉字utf-8 转gbk排序 ORDER BY CONVERT(city_name USING gbk) 二、获取词语拼音首字母 创建函数 CREATE FUNCTION `firstPinyin`(P_NAME VARCHAR(255)) RETURNS varchar(255) CHARSE ...
分类:
数据库 时间:
2020-05-13 19:57:25
阅读次数:
135
ssh 无密码登录要使用公钥与私钥。linux下可以用用ssh-keygen生成公钥/私钥对,下面我以CentOS为例。有机器A(192.168.1.155),B(192.168.1.181)。现想A通过ssh免密码登录到B。首先以root账户登陆为例。 1.在A机下生成公钥/私钥对。 [root@ ...
分类:
系统相关 时间:
2020-05-11 12:52:14
阅读次数:
113
@app.route(404) def err_404_page(err): # 必须有个参数接收错误信息 1. 使用用元组,字典 响应体 状态码 响应头 return 'index page', 200, [('Itcast1','python'),('city','sz')] return 'i... ...
分类:
其他好文 时间:
2020-05-08 12:50:34
阅读次数:
174
<?php namespace app\index\controller; class City { public function _empty($name) { //把所有城市的操作解析到city方法 return $this->showCity($name); } //注意 showCity方 ...
分类:
其他好文 时间:
2020-05-08 09:39:51
阅读次数:
50
涉及到以下汇编指令: pushl: 入栈 ebp指向栈底 esp指向栈顶 入栈时只需要将esp下移, 将入栈的值放入esp指向的地址,如下图所示: popl: 出栈 先将栈顶的数据保存,再将esp上移 call:顾名思义,调用一个函数 调用一个函数需要将当前执行到的指令位置(eip寄存器的值)保存, ...
分类:
其他好文 时间:
2020-05-07 00:26:08
阅读次数:
72
题目描述 City C is really a nightmare of all drivers for its traffic jams. To solve the traffic problem, the mayor plans to build a RTQS (Real Time Query ...
分类:
其他好文 时间:
2020-05-06 19:43:30
阅读次数:
70
Find them, Catch them Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 62172 Accepted: 18837 Description The police office in Tadu City deci ...
分类:
其他好文 时间:
2020-05-05 20:30:04
阅读次数:
53
前言 嗨,说起探探想必各位程序汪都不陌生(毕竟妹子很多),能在上面丝滑的翻牌子,探探的的堆叠滑动组件起到了关键的作用,下面就来看看如何用vue写一个探探的堆叠组件 ? 一. 功能分析 简单使用下探探会发现,堆叠滑动的功能很简单,用一张图概括就是:简单归纳下里面包含的基本功能点: 图片的堆叠 图片第一 ...
分类:
其他好文 时间:
2020-05-03 15:05:31
阅读次数:
62
Traveler ZOJ - 4103 The famous traveler BaoBao is visiting the Dream Kingdom now. There are nn cities in Dream Kingdom, numbered from 11 to nn. The ci ...
分类:
其他好文 时间:
2020-05-03 00:57:04
阅读次数:
81