码迷,mamicode.com
首页 >  
搜索关键字:linux find 命令    ( 278839个结果
MySQL学习笔记(一)
命令行中的取消操作如果你决定不想执行正在输入过程中的一个命令,输入\c取消它:mysql> SELECT-> USER()-> \cmysql>这里也要注意提示符,在你输入\c以后,它切换回到mysql>,提供反馈以表明mysql准备接受一个新命令。使用SHOW语句找出服务器上当前存在什么数据库:m...
分类:数据库   时间:2014-07-22 23:17:15    阅读次数:386
Y460 安装ubuntu 12.04系统黑屏,登录界面黑屏
ubuntu 12.04系统黑屏,登录界面黑屏,但是命令行界面可以登录,也可以正常使用,当时在装CVS,装完重启就这样了,可能是因为前一天装更新时,突然断电导致图形界面损坏,参考他人方法,终于修复,总结如下: 1.硬件环境 Intel? Core? i3-2400 CPU @ 3.10GHz × ....
分类:其他好文   时间:2014-07-22 23:17:14    阅读次数:607
Ubuntu启动到字符终端模式
方法1,使用tengcy的方法,永远启动到字符终端模式要修改"/etc/init/gdm.conf"将第13行:"stop on runlevel [016]"修改为:"stop on runlevel [0126]"这样就永远启动到字符终端模式,如果想用Xwindow,则在登录后,使用startx...
分类:其他好文   时间:2014-07-22 23:16:34    阅读次数:656
memcached在windows7上的安装问题
memcached在windows7上的安装问题错误:通过cmd命令行进入到C:\memcached(下载后的解压目录)运行 memcached.exe -d install报错“ failed to install service or service already installed”解决方法...
分类:Windows程序   时间:2014-07-22 23:16:33    阅读次数:588
oracle 与sql serve 获取随机行数的数据
Oracle 随机获取N条数据 当我们获取数据时,可能会有这样的需求,即每次从表中获取数据时,是随机获取一定的记录,而不是每次都获取一样的数据,这时我们可以采取Oracle内部一些函数,来达到这样的目的1) select * from (select * from tablename order b...
分类:数据库   时间:2014-07-22 23:16:15    阅读次数:434
【HDOJ】3560 Graph’s Cycle Component
并查集的路径压缩。 1 #include 2 #include 3 4 #define MAXNUM 100005 5 6 int deg[MAXNUM], bin[MAXNUM]; 7 char isCycle[MAXNUM]; 8 9 int find(int x) {10 i...
分类:其他好文   时间:2014-04-29 17:22:46    阅读次数:308
在window cmd中设置字符集后,mysql的测试
之前测试过,在centos下,所有字符集全部设为utf8,可以同时满足命令行和网页的需求。在windows下,由于默认字符集为gbk,所以在命令行操作mysql时,需要设置set character_set_client = gbk;今天发现,其实是要设置set character_set_resu...
分类:数据库   时间:2014-04-29 17:22:46    阅读次数:630
six solutions to a single symmetrical problem
Problem description:given a string, find the longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start and end of the substring...
分类:其他好文   时间:2014-04-29 17:22:46    阅读次数:308
LINUX 双网卡绑定
cd /etc/sysconfig/network-scriptscp ifcfg-eth0 bak.ifcfg-eth0cp ifcfg-eth1 bak.ifcfg-eth1vi ifcfg-bond0DEVICE=bond0BROADCAST=192.168.8.255IPADDR=192.1...
分类:系统相关   时间:2014-04-29 17:17:47    阅读次数:639
VC6微软正则表达式greta使用案例
#include#include"regexpr2.h"usingnamespacestd;usingnamespaceregex;//greta库的命名空间//若链接出错,设置MFC静态链接//查找匹配串//返回结果匹配串(CStringArray数组指针类型)CStringArray*Find(...
分类:其他好文   时间:2014-04-29 17:15:48    阅读次数:363
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!