码迷,mamicode.com
首页 >  
搜索关键字:txt    ( 16374个结果
python 备份脚本
import osimport timesource= r"out_res.txt"target_dir= r"F:\python\Doc"target=target_dir+time.strftime('%Y%m%d%H%M%S')+'.zip'zip_commond="makecab %s %....
分类:编程语言   时间:2014-07-23 12:39:46    阅读次数:236
批处理脚本一键重置mysql的root密码
一键重置mysql的root密码的实现脚本。@echo offtitle mysql::从注册表找到Mysql的安装路径写入文件mysql.txt reg query HKLM\SYSTEM\ControlSet001\Services\MySQL | find /I "ImagePath">C:\...
分类:数据库   时间:2014-07-23 12:03:16    阅读次数:280
UvaOJ 10167
暴力搜索 1 #include 2 3 struct node 4 { 5 int x; 6 int y; 7 }s[10000]; 8 int main() 9 {10 //freopen("input.txt","r",stdin);11 int a,b,n,n...
分类:其他好文   时间:2014-07-23 11:58:36    阅读次数:293
ZOJ 1259 Rails
stack的应用 1 #include 2 #include 3 #include 4 using namespace std; 5 int goal[1005]; 6 int d[1005]; 7 stacks; 8 int main() 9 {10 freopen("input.txt"...
分类:其他好文   时间:2014-07-23 11:57:56    阅读次数:220
hdu 1004 Let the Balloon Rise
map的应用 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 freopen("input.txt","r",stdin); 9 mapballoons;10 ...
分类:其他好文   时间:2014-07-23 11:57:26    阅读次数:205
hdu 2072 单词数
set的应用 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 freopen("input.txt","r",stdin); 9 string s,s1;10 ...
分类:其他好文   时间:2014-07-23 11:56:56    阅读次数:226
c#中表达式的返回值是啥?
今天在学javascript的时候发现它其中有一个语法是这样的(a="haha).length;这样也能够输出haha这个字符串的长度,然而我在使用c#的时候分行读取txt文本的时候也用这个表达式,以前很好理解这样的用法,但是现在确实觉得这样的语法很奇怪,很别扭,于是就给自己找了一个理由来解释。解释...
分类:其他好文   时间:2014-07-22 23:15:52    阅读次数:200
[转载] linux下打开windows txt文件中文乱码问题
[原文链接](http://blog.csdn.net/imyang2007/article/details/7448177)在linux操作系统下,我们有时打开在windows下的txt文件,发现在windows下能正常显示的txt文件出现了中文乱码。出现这种情况的原因为两种操作系统的中文压缩方式...
分类:Windows程序   时间:2014-07-22 22:49:12    阅读次数:239
linux上的常用命令
一、常用远程拷贝命令1、scpscp /etc/hosts/file.txt user@remoteIP:/remotepath2、rsyncrsync -vzrtopgu --progress /etc/hosts 192.168.2.38:/etc/hostsrsync对应的服务是:xinet....
分类:系统相关   时间:2014-07-22 22:39:32    阅读次数:208
mysql大量锁表,不重启的情况下处理办法
mysql-uroot-e"showprocesslist"|grep-i"Locked">>locklist.txt; forlineinawk‘{print$1}‘locklist.txt do echo"kill$line;">>lock_kill.sql done查看mysql数据库表大小#!/bin/bash database=cms user=root password=‘123456‘ mysql-u${user}-p${password}-e"use$d..
分类:数据库   时间:2014-07-22 18:15:42    阅读次数:334
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!