上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: 1、 使用shell把“12306用户名和密码库-不要使用记事本打开会卡死-解压后可使用word或ultraedit打开.rar”中的所有记录成生sql语句,然后把sql导入数据库,成一个uPwd_12306表。字段自己定义。扩展:请分析一下“12306用户名和密码库”中密码的形成特点并总结。2、复 阅读全文
posted @ 2016-10-20 20:14 于光远 阅读(203) 评论(1) 推荐(0) 编辑
摘要: 题目描述 将一个字符串转换成一个整数,要求不能使用字符串转换整数的库函数。 数值为0或者字符串不是一个合法的数值则返回0 输入描述: 输入一个字符串,包括数字字母符号,可以为空 输出描述: 如果是合法的数值表达则返回该数字,否则返回0 输入例子: +2147483647 1a33 输出例子: 214 阅读全文
posted @ 2016-10-20 15:52 于光远 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 一个整型数组里除了两个数字之外,其他的数字都出现了两次。请写程序找出这两个只出现一次的数字。 思路:1.任何数亦或自己等于0, a^a == 0; 2.遍历数组,亦或一遍,得到2个出现一次数字亦或的值。 3. 找到这2个数字二进制数不同的那一位。将数组分成2组,这样每个子数组就变成了:有n个数出现2 阅读全文
posted @ 2016-10-20 15:41 于光远 阅读(193) 评论(0) 推荐(0) 编辑
摘要: [root@yu ~]# find / -name vimrc/etc/vimrc [root@yu ~]# vim /etc/vimrc set fileencodings=utf-8,gb2312,gbk,gb18030,ucs-bom,cp936,big5,euc-jp,euc-kr,lati 阅读全文
posted @ 2016-10-19 19:49 于光远 阅读(846) 评论(2) 推荐(0) 编辑
摘要: 1.null mysql> create table worker(id int not null,name varchar(8) not null,pass varchar(20) not null); mysql> insert into worker values(1,'HA','123456 阅读全文
posted @ 2016-10-19 17:28 于光远 阅读(3581) 评论(0) 推荐(0) 编辑
摘要: mysql> show databases; mysql> show databases \G #以行的方式显示 -e 常用与shell脚本。 [root@server01 ~]# mysql -e 'show databases' -usystem -p123456 mysql> create d 阅读全文
posted @ 2016-10-19 17:28 于光远 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 使用xftp传到虚拟机。解压[root@ygy130 ~]# unzip -o -d ./Ucenter_1.6 UCenter_1.6.0_SC_UTF8.zip [root@ygy130 ~]# cd Ucenter_1.6/[root@ygy130 Ucenter_1.6]# cp uploa 阅读全文
posted @ 2016-10-18 00:21 于光远 阅读(644) 评论(0) 推荐(0) 编辑
摘要: [root@yu ~]# yum install httpd php php-mysql mysql-server mysql -y 安装php [root@yu ~]# service httpd start [root@yu ~]# chkconfig httpd on [root@yu ~]# 阅读全文
posted @ 2016-10-17 17:52 于光远 阅读(451) 评论(0) 推荐(0) 编辑
摘要: [root@yu ~]# tar -xf mysql-5.5.32.tar.gz 添加用户 [root@yu mysql-5.5.32]# useradd -u 8001 -s /sbin/nologin mysql [root@yu mysql-5.5.32]# mkdir /data 安装依赖包 阅读全文
posted @ 2016-10-17 17:40 于光远 阅读(221) 评论(2) 推荐(0) 编辑
摘要: http://shushanyegui.duapp.com/?p=731 在描述内存映射文件之前 我们先来写一个系统通过I/O来读写磁盘文件的小程序 #include "stdafx.h" #include <stdlib.h> #include <windows.h> char* Read(LPC 阅读全文
posted @ 2016-10-13 15:01 于光远 阅读(1252) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页