# MySQL-Front 5.1 (Build 2.7)
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE */;
/*!40101 SET SQL_MODE=‘‘ */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES */;
/*!40103 SET SQL_NOTES=‘ON‘ */;
# Host: localhos...
分类:
数据库 时间:
2015-03-13 12:51:59
阅读次数:
522
源代码:#include #include #include #include int main(){ int a = 0; int b = 0; int mode = 0;//0:加 1:减 2:乘 3:除 int i = 0; int c[5]={0,30...
分类:
编程语言 时间:
2015-03-13 00:17:58
阅读次数:
252
废话不多说,先上代码? https://git.oschina.net/alexgaoyh/AndriodTest 具体实现,网上有太多的教程了,下面仅仅说一下中间遇到的一些问题: 1: preferences = getSharedPreferences("launchCount",MODE_WO...
分类:
移动开发 时间:
2015-03-12 19:28:09
阅读次数:
201
通过下面的语句查询出锁表的SQL:
select l.session_id sid,
s.serial#,
l.locked_mode,
l.oracle_username,
s.user#,
l.os_user_name,
s.machine,
s.terminal,
...
分类:
数据库 时间:
2015-03-12 17:05:22
阅读次数:
345
1.出现Incorrectintegervalue:‘‘forcolumn‘id‘atrow1到mysqldmy.cnf修改修改成sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"2.Columncountdoesn‘tmatchvaluecountatrow1写的SQL语句里列的数目和后面的值的数目不一致insertinto表名(field1,field2,field3)values(‘a‘,..
分类:
数据库 时间:
2015-03-12 15:23:53
阅读次数:
193
查看selinux
[root@mode ~]# getenforce
Disabled
[root@mode ~]# /usr/sbin/sestatus -v
SELinux status: disabled
临时关闭selinux
[root@mode ~]# setenforce 0
setenforce: SELinux is disable...
分类:
系统相关 时间:
2015-03-12 15:10:38
阅读次数:
181
关于内存共享的几个函数 1.用来创建一个共享内存 int shmget(key_t key, size_t size, int shmflg); key:这个共享内存的段的名字 size:共享内存的大小 shmflg:由九个权限标志构成,它们的用法和穿件文件时使用的mode权限一样 成功返回非负整数...
分类:
其他好文 时间:
2015-03-12 14:56:56
阅读次数:
147
http://freeloda.blog.51cto.com/2033581/11890841.查看cpuinfo中是否有lm,如果有lm表示支持64位,lm的意思是long mode,具体命令如下:1#cat /proc/cpuinfo | grep flags 检查输出里面是否有 lm 字符 或...
分类:
系统相关 时间:
2015-03-12 14:34:56
阅读次数:
181
要做个手机端的轮播,研究了一下swiper.js中文网站:http://www.swiper.com.cn/英文网站:http://www.idangero.us/swiper/记录一下代码:var mySwiper = new Swiper('.swiper-container',{ mode: ...
分类:
Web程序 时间:
2015-03-12 11:08:05
阅读次数:
154
[root@mode tools]# echo 'export LC_ALL=C'>>/etc/profile
[root@mode tools]# tail -l /etc/profile
done
unset i
unset pathmunge
export PATH=$PATH:/usr/local/sersync/bin
export PATH=$PATH:/usr/local/mysq...
分类:
其他好文 时间:
2015-03-11 23:29:12
阅读次数:
155