Page1 of 421 2 3 42
5 05 2014

codeigniter $_GET[] 不能用

#bigCat.PHP(" Comment.isNotBlank ")
$config['allow_get_array']      = TRUE;\n$signature = $this->input->get("signature",TRUE);\n

\n\n

要这样才行...默认屏蔽了$_GET[]

\n

11 04 2014

手机QQ Webview UserAgent

#bigCat.Apple, Android(" Comment.isBlank ")
exports.iOS = /(iPad|iPhone|iPod).*?QQ/g.test(ua);\nexports.android = /\bV1_AND_SQ_/.test(ua);\n

\n

13 03 2014

android:gravity 和 android:layout_gravity 区别

#bigCat.Android(" Comment.isBlank ")

android:gravity 定义子元素对齐方式类似于 css 里的 text-align\nandroid:layout_gravity 定义本身相对于父元素定位 类似于 css 里的 float

\n

17 12 2013

.htaccess fancyindexing

#bigCat.Linux(" Comment.isBlank ")

Options +Indexes\nIndexOptions +FancyIndexing +FoldersFirst +NameWidth=* Charset=UTF-8

\n\n

http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html

\n

17 10 2013

SSH 自动登陆输入密码脚本

#bigCat.Linux(" Comment.isBlank ")
#!/usr/bin/expect -f\n\nset port 22\nset user bigcat\nset host 10.20.30.40\nset password helloworld\nset timeout -1\n\nspawn ssh -p $port $user@$host\nexpect "*assword"\n\nsend "$password\r"\n\ninteract\n

\n

Page1 of 421 2 3 42
Host: (miao) | Word: Press | Code: HTML5