第一次登录mysql,使用任何命令都报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

 问题:使用临时密码登录成功后,使用任何myql命令,例如show databases;都提示下面的报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
1次阅读

在MVC里面使用Response.Redirect方法后记得返回EmptyResult

在ASP.NET MVC中我们很多时候都会在拦截器和Controller中直接使用Response.Redirect方法做跳转,但是实际上Response.Redirect方法执行后ASP.NET并不会立即结束当前请求的执行,而是要过一段时间才会终止当前请求的执行,然后命令客户端浏览器去访问Resp
2次阅读

[ES2016] Check if an array contains an item using Array.prototype.includes

We often want to check if an array includes a specific item. It's been common to do this with the Array.prototype.indexOf method, but now we
2次阅读

NorFlash、NandFlash、eMMC比较区别【转】

本文转载自:http://www.veryarm.com/1200.html快闪存储器(英语:Flash Memory),是一种电子式可清除程序化只读存储器的形式,允许在操作中被多次擦或写的存储器。这种科技主要用于一般性数据存储,以及在电脑与其他数字产品间交换传输数据,如储存卡与U盘。闪存是非易失性
2次阅读

D. Artsem and Saunders

Artsem has a friend Saunders from University of Chicago. Saunders presented him with the following problem.Let [n] denote the set {1, ...,&thin
7次阅读

[LeetCode] Teemo Attacking 提莫攻击

 In LLP world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking&
10次阅读

EMS_PM_STORAGE

/*Navicat MySQL Data TransferSource Server : 10.62.102.118Source Server Version : 50712Source Host : 10.62.102.118:3306Source Databa
4次阅读

EMS_PM_STORAGE

/*Navicat MySQL Data TransferSource Server : 10.62.102.118Source Server Version : 50712Source Host : 10.62.102.118:3306Source Databa
2次阅读

BZOJ 2039 employ人员雇佣

最小割。#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>#include<queue>#define maxv 2050#define maxe 3
4次阅读

Swift 带有动画效果的TabBarItem

额...貌似挺长时间没有总结新知识了,最近在看swift,之前swift刚出来的时候大体看了一遍,后来时间长了没看加之swift2.0做了比较大的调整,公司项目也不是用swift写的,也就没怎么看了,谁成想忘的差不多了,趁公司最近项目不忙,有抽时间看了一丢丢,感觉这知识真是看一遍有一遍的收获,最近看
3次阅读