码迷,mamicode.com
首页 >  
搜索关键字:shell Function    ( 82566个结果
Linux shell脚本中shift的用法说明
Linux shell脚本中shift的用法说明 shift命令用于对参数的移动(左移)。 示例1:依次读取输入的参数并打印参数个数: run.sh: #!/bin/bash while [ $# != 0 ];do echo "第一个参数为:$1,参数个数为:$#" shift done 输入如下命令运行:run.sh a b c d e...
分类:系统相关   时间:2014-05-01 22:06:54    阅读次数:475
Yii 丢失controller ID问题
用YII很久了今天看老代码发现了一个致命又气人的bug: “'SiteController cannot find the requested view "index". ” 在这个项目里对应的views/site/index.php文件都有,但是为什么还报了这个错呢, 于是开始看内核代码: public function getViewFile($viewName) { if(($t...
分类:其他好文   时间:2014-05-01 21:59:39    阅读次数:454
良精南方后台简单拿shell
良精南方后台简单拿shell作者:qxz_xp 发布:2013-11-02 00:51 分类:菜鸟入门,黑客技术,黑客攻防5条评论首先必须要先登入管理后台。进入后台管理后,在网站地址后面加上 admin/southidceditor/admin_style.asp 这是良精南方的远程编辑器路径。.....
分类:其他好文   时间:2014-05-01 08:42:50    阅读次数:409
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-05-01 08:35:40    阅读次数:443
linux学习:常用shell语句
一、正则表达式的使用 cd /usr/share/dict 1、找出words文件下所有以a开头t结尾的单词 egrep "^a.*t$" words 2、匹配以abcde开头,以at结尾的单词 egrep "\" words 3、以大写字母开头,以t结尾 egrep "^[[:upper:]]t$" words 二、管道的使用 egrep "^a.*t$" words|wc -...
分类:系统相关   时间:2014-04-30 22:32:38    阅读次数:372
CKEditor学习笔记4(CKEditor基本配置)
CKEDITOR.editorConfig = function( config ) { // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.filebrowserBrowseUrl = '/CKEditorAndCKFinder/ckfinder/ckfinder.html' ; config.fi...
分类:其他好文   时间:2014-04-30 22:21:39    阅读次数:366
js中由undefined说起
typeof()函数 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"、"function"、"undefined"   js中undefined,null,NaN的区别 1.类型分析: js中的数据类型有undefined,boolean,number,string,object等5种,前4种为原始类型,第5种为引用类型。 未定义的值...
分类:Web程序   时间:2014-04-29 13:45:21    阅读次数:414
SSH学习之一 OpenSSH基本使用
在Linux系统中,OpenSSH是目前最流行的远程系统登录与文件传输应用,也是传统Telenet、FTP和R系列等网络应用的换代产品。其中,ssh(Secure Shell)可以替代telnet、rlogin和rsh,scp(Secure Copy)与sftp(Secure FTP)能后替代ftp。...
分类:其他好文   时间:2014-04-29 13:28:21    阅读次数:357
Eclipse中Easy Shell插件配置PowerCmd
懒人配置一份...
分类:系统相关   时间:2014-04-29 13:22:21    阅读次数:452
php和js对数据库图片进行等比缩放
JS 对某图片的等比缩放 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 最新javascript自动按比例显示图片,按比例压缩图片显示 function AutoResizeImage(maxWidth,max...
分类:数据库   时间:2014-04-29 13:14:22    阅读次数:440
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!