哦,不!你不小心把一个长篇文章中的空格、标点都删掉了,并且大写也弄成了小写。像句子"I reset the computer. It still didn’t boot!"已经变成了"iresetthecomputeritstilldidntboot"。在处理标点符号和大小写之前,你得先把它断成词语 ...
分类:
编程语言 时间:
2020-07-11 09:56:44
阅读次数:
52
package com.bi import java.sql.{Connection, DriverManager, Timestamp} import java.util.Calendar /** * Created by xxx on 2017/6/28. */ object MySqlConn ...
分类:
数据库 时间:
2020-07-10 23:50:33
阅读次数:
64
问题 数据库链接丢失异常 django.db.utils.OperationalError: (2013, 'Lost connection to MySQL server during query') 查询mysql全局变量SHOW GLOBAL VARIABLES;可以看到wait_timeou ...
分类:
其他好文 时间:
2020-07-10 16:53:23
阅读次数:
99
var mongooes=require("mongoose"); mongooes.connect("mongodb://localhost/my_test",{useMongoClient:true}) mongooes.connection.once("open",function(){ co ...
分类:
其他好文 时间:
2020-07-10 15:37:04
阅读次数:
64
Mac配置前端开发环境及遇到的问题与解决方案 MacOS版本:10.15.3 一,安装brew 问题:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的解决办法 解决方案:打不开 ...
分类:
系统相关 时间:
2020-07-10 15:09:17
阅读次数:
107
原文: https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack 需要两条命令来执行: /ip firewall filter add chain=forward action=fasttrack-connection connection-state=e ...
分类:
其他好文 时间:
2020-07-10 13:42:19
阅读次数:
173
pymysql.Connect()参数说明 host(str): MySQL服务器地址 port(int): MySQL服务器端口号 user(str): 用户名 passwd(str): 密码 db(str): 数据库名称 charset(str): 连接编码 connection对象支持的方法 ...
分类:
数据库 时间:
2020-07-10 13:30:04
阅读次数:
87
Git切换版本有三种方式: 1.基于哈希值切换 》基于哈希值切换(推荐),命令:git reset --hard 哈希值,哈希值从哪来,git reflog查看下就知道了,切换版本后,git reflog会发现有两个HEAD,别着急,这两个head指向的是同一个版本记录 2.使用^ 》^只能后退到过 ...
分类:
其他好文 时间:
2020-07-10 12:57:01
阅读次数:
136
import warnings from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver from .remote_connection import ChromeRemoteConnection fro ...
分类:
其他好文 时间:
2020-07-10 11:25:17
阅读次数:
76
package com.sjw.flink import java.sql.{Connection, DriverManager, PreparedStatement} import org.apache.flink.configuration.Configurationimport org.apa ...
分类:
数据库 时间:
2020-07-10 00:01:11
阅读次数:
81