大纲一 前言二 for语句的基本用法三 for /f (delims、tokens、skip、eol、userbackq、变量延迟)四 for /r (递归遍历)五 for /d (遍历目录)六 for /l (计数循环)一、前言在批处理中,for是最为强大的命令语句,它的出现,使得解析文本内容、遍...
分类:
其他好文 时间:
2015-12-21 21:36:14
阅读次数:
136
sudo vi /etc/mysql/my.cnf添加在[mysqld]的段中加上一句:skip-grant-tables 例如: [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-grant-tablessu...
分类:
数据库 时间:
2015-12-19 21:46:56
阅读次数:
222
1. root登录不了:Access denied for user ''@'localhost' to database 'mysql'mysql进入安全模式: mysqld -nt --skip-grant-tables;在另一个dos窗口用空密码登陆mysql,把user表中的匿名用户删除注:...
分类:
数据库 时间:
2015-12-16 15:27:37
阅读次数:
245
There are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to...
分类:
其他好文 时间:
2015-12-16 12:24:36
阅读次数:
136
/etc/init.d/mysql stopmysqld_safe --user=mysql --skip-grant-tables --skip-networking &mysql -u root mysqlupdate user set authentication_string=passwor...
分类:
数据库 时间:
2015-12-14 23:05:00
阅读次数:
332
题目:You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 s...
分类:
其他好文 时间:
2015-12-13 08:32:26
阅读次数:
157
题目:You are playing the following Flip Game with your friend: Given a string that contains only these two characters:+and-, you and your friend take tu...
分类:
其他好文 时间:
2015-12-13 08:29:08
阅读次数:
259
/** The handler class is the interface for dynamically loadable storage engines. Do not add ifdefs and take care when adding or changing virtual fu...
分类:
其他好文 时间:
2015-12-12 00:04:12
阅读次数:
218
前段时间回趟老家(奶奶过世)所以,几天没更新...接下来继续.!Familiarize Yourself with Xcode Workspace 使自己熟悉Xcode的工作空间Before we move on to the coding part, let’s take a few minut....
分类:
移动开发 时间:
2015-12-11 20:45:11
阅读次数:
264
jdk有一个关于UTF-8的bug所以加了一句br.skip(1);bugID:http://bugs.java.com/view_bug.do?bug_id=4508058 1 publicstaticvoidmain(String[]args){ 2 StringBufferbuffer=new...
分类:
编程语言 时间:
2015-12-09 19:35:10
阅读次数:
212