码迷,mamicode.com
首页 >  
搜索关键字:read    ( 19693个结果
file标签之act=read(只需一行代码读出文件内容)
功能: · 读文件的内容 用法: 相对路径的文件名 · act=read:读操作 · id:返回的书包名(可选,默认为标签名file) · enc:文件内容的字符编码(可选,默认为平台文件存储编码@{sys:file.enc}) · method:目前的版本仅有str,即字符...
分类:其他好文   时间:2015-02-26 14:58:18    阅读次数:172
shell程序
例一:helloworld#!/bin/sh -xmessage="hello"read nameecho "$message ,$name"例二:选择性程序#!/bin/shmenu=("Apple" "Grape" "Orange")PS3="喜欢哪个"select item in ${menu...
分类:系统相关   时间:2015-02-26 09:53:10    阅读次数:174
oracle的环境配置-实现oracle sqlplus的上下翻页
安装rlwrap-0.37.tar.gz工具--实现SQLPLUS中记忆和上下翻页功能在rpm10g32这个路径中1、解压缩[root@oracle3~]#cd/u01/rpm10g32[root@oracle3rpm10g32]#tar-zxvfrlwrap-0.37.tar.gz2、安装[root@oracle3rpm10g32]#cdrlwrap-0.37--root下安装,安装的时候可能会缺包,read-line..
分类:数据库   时间:2015-02-26 00:07:14    阅读次数:248
Python删除同一个文件夹下的重复文件
#!/usr/bin/env?python #coding:?utf-8 import?md5 import?os from?time?import?clock?as?now def?getmd5(filename): ????file_txt?=?open(filename,?‘rb‘).read() ????m?=?md5.new(f...
分类:编程语言   时间:2015-02-25 22:27:09    阅读次数:403
SQL Server 之 事务隔离级别
SET TRANSACTION ISOLATION LEVEL xxx --每次设置只针对当前事务块xxx 取值:READ UNCOMMITTEDREAD COMMITTEDREPEATABLE READSNAPSHOTSERIALIZABLEtest1表数据如下: 现在对 Name 为 aaaa....
分类:数据库   时间:2015-02-25 15:36:27    阅读次数:181
difference between char *s and char s[ ]
The difference here is that : char *s = "hello,world!";will place hello,world in read-only part of the memmory and makes s a pointer to that. makin...
分类:其他好文   时间:2015-02-24 22:13:31    阅读次数:231
极度简约--两个文件实现小型cms
None CMS v1.0 index.php: read()) { //echo $file.""; if($file!='index.php'&&$file!='.'&&$file!='..'&&$file!='ctrl')$times[filemtime($file)]=$...
分类:其他好文   时间:2015-02-24 09:08:31    阅读次数:209
HOJ2544
最长上升子序列(LIS)的nlogn算法。 用dp[i]来表示长度为i的LIS末尾数字的最小值。每输入一个数,就把它插到dp数组合适的位置,而dp[]一定是有序的(因为每一步更新的保证),因此可以二分,用logn的复杂度就可以完成插入(准确地说是更新)。这个链接里讲得比较清楚:http://www.felix021.com/blog/read.php?1587 #include...
分类:其他好文   时间:2015-02-23 09:43:12    阅读次数:134
CodeChef 3-Palindromes(Manacher)
3-PalindromesProblem code: PALIN3SubmitAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin Chinese and ...
分类:其他好文   时间:2015-02-22 13:22:57    阅读次数:124
CodeChef Mahesh and his lost array
Mahesh and his lost arrayProblem code: ANUMLASubmitAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin ...
分类:其他好文   时间:2015-02-22 12:13:33    阅读次数:122
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!