SQL 一.数据库 1.创建数据库 create database [if not exists] db_name [character set xxx] [collate xxx] *创建一个名称为mydb1的数据库。 create database mydb1; *创建一个使用utf8字符集的m ...
分类:
数据库 时间:
2019-10-10 19:55:25
阅读次数:
103
Difficulty:easy More:【目录】LeetCode Java实现 Description https://leetcode.com/problems/first-unique-character-in-a-string/ Given a string, find the first ...
分类:
其他好文 时间:
2019-10-10 10:39:39
阅读次数:
78
一、MySQL插入中文不乱码5中方法小结 方法一:登录mysql,先做“set names latin1;”,然后再执行更新语句或执行语句文件。 方法二:在aql文件中指定set names latin1; 然后登录mysql,通过如下命令执行。 方法三:在sql文件中指定set names lat ...
分类:
数据库 时间:
2019-10-08 22:15:07
阅读次数:
127
Xx_Introduction Character input and output is by more line character conpose of the text flow Define name common use capital letter,easy read. The Sta ...
分类:
其他好文 时间:
2019-10-07 23:18:06
阅读次数:
111
1. 乱码的本质原因就是客户端与服务端的字符集不一致导致 2. 解决乱码问题的方案:修改字符集设置保证服务端正确理解客户端的字符集 character_set_client:服务端接收客户端数据 character_set_connection:服务端内部连接使用 character_set_res ...
分类:
数据库 时间:
2019-10-07 21:14:54
阅读次数:
92
总结 Searches for strings in files. 在文件中寻找特定的字符串 官方文档 ...
分类:
其他好文 时间:
2019-10-07 14:48:33
阅读次数:
125
A. Equalize Prices Again 签到题; #include <bits/stdc++.h> using namespace std; typedef long long ll; const int MAXN=1e5+10; int a[MAXN]; int main(){ int ...
分类:
其他好文 时间:
2019-10-07 12:53:35
阅读次数:
74
第一步 :配置测试号,网页授权获取用户基本信息。 该授权回掉页面域名为ngrok 映射的域名,我的映射地址是127.0.0.1:8080。 到此微信配置完毕,接下来就是直接上代码了 2.用户同意授权 我是把这个url写在微信菜单下的,当进入这个页面的时候就让用户同意。注意:好像是静默授权的,用户不知 ...
分类:
微信 时间:
2019-10-06 22:07:17
阅读次数:
145
Java常见字符串方法 示例 1 : 获取字符 charAt(int index)获取指定位置的字符 package character; public class TestString { public static void main(String[] args) { String senten ...
分类:
编程语言 时间:
2019-10-05 16:38:15
阅读次数:
81
Let's call (yet again) a string good if its length is even, and every character in odd position of this string is different from the next character (t ...
分类:
其他好文 时间:
2019-10-04 11:09:08
阅读次数:
90