- 博客(18)
- 收藏
- 关注
原创 测试重写模块是否开启 How To Test Check If Mod_rewrite Is Enabled
Webune customer benefit from apache's mod_rewrite. Every customer being hosted by our shared services has automatically mod_rewrite enabled. However, if you are still not sure whether you have this f...
2013-12-25 02:50:19 176
原创 jquery jeditable 多选插件 (checkbox or select)
实例:<script type="text/javascript" src="jquery.js"></script><script type="text/javascript" src="jquery.jeditable.mini.js"></script><!-- mul
2013-12-24 07:32:42 292
原创 jquery 获取checkbox 或 select 的选中值(一组和单个)
使用 jquery 获取一组或者单个 checkbox 的选中状态的值。下面通过一个示例进行说明,假设现有一页面有一组 checkbox 的 name 的值为 id ,那么获取这组 name=id 的checkbox的值的方法如下:var id_array=new Array();$('input[name="id"]:checked').each(function(){ id_a...
2013-12-24 07:13:50 636
原创 Linux shell中的那些小把戏
我日常使用Linux shell(Bash),但是我经常忘记一些有用的命令或者shell技巧。是的,我能记住一些命令,但是肯定不会只在特定的任务上使用一次,所以我就开 始在我的Dropbox账号里用文本文件写下这些Linux shell的小技巧,现在我决定共享它给你。这个表我以后还会更新。记住,这里的一些贴士需要在你的Linux发行版上安装额外的软件。 在bash中检查远程端口是否...
2013-12-21 02:41:04 78
原创 PHP数组显示 phpinfo, ini, extensions等信息
1. phpinfo to arrayfunction phpinfo_array($return=false){ ob_start(); phpinfo(-1); $pi = preg_replace( array('#^.*<body>(.*)</body>.*$#ms', '#<h2>PHP License</...
2013-12-19 03:03:03 205
原创 使用纯javascript通过className来获取元素 (getElementsByClassName Speed Comparison)
Mark Finkle suggested that I do some speed testing, now that a native implementation of getElementsByClassName has landed in the Mozilla trunk (destined for Firefox 3). So I went around and du...
2013-12-17 02:35:54 229
原创 如何在Linux上制作一个屏幕录像视频教程
一图胜千言,一个精心设计的指导视频更是能给你带来良好体验。Linux上有你需要的制作有用且高质量教学视频的所有工具。我们将用强大的 kdenlive视频编辑器和Audacity音频录制器和编辑器制作一个简单的屏幕录像,并学习如何在YouTube上分享精彩的屏幕录像。一台安装了Kdenlive和Audacit软件的Linux系统PC,一个质量好的麦克风或耳机,和一个YouTube的帐号就是...
2013-12-12 06:26:40 406
原创 Linux安装Photoshop CS6 Install Photoshop CS6 on Linux Ubuntu 13.04
In this post, I will show you how to install Adobe Photoshop CS6 on a Linux machine, in this case Im using Ubuntu 13.04 I have been using Ubuntu 12.04 LTS, but faced lots of issues in i...
2013-12-07 09:10:51 628
原创 linux 机器之间 zssh, rz, sz互相传输 ( How to install zssh in Ubuntu 13.10 (Saucy))
zssh 用法是: 像用ssh命令一样用zssh登录主机; 在命令输入状态中按下ctrl+2(@键)进入zssh状态; $sz 本地文件名 [可选参数-be:二进制方式] 上传文件完成(我在用时输出了一些乱码,但没影响上传) 下载是反出来的,先sz文件再ctrl+2再输入rz 更新:在archlinux上安装zssh须在AUR中找包,安装时依赖没有解决好,还需要安装lrzsz,否则在下...
2013-12-06 05:07:49 603
原创 SSH: connect to host localhost or ip addr port 22: Connection refused
Solution: One possible reason is that because the ssh server daemon, or sshd, is not loaded and running on localhost, so any attempt to ssh connect to localhost would fail. I check to see wheth...
2013-12-06 01:29:31 152
原创 11个Linux基础面试问题
Q.1: Linux 操作系统的核心是什么?ShellKernelCommandScriptTerminal答: 内核(Kernel)是Linux 操作系统的核心。Shell是一个命令行解释器,命令(Command)是针对计算机的指令,脚本(Script)是存储在文件中的命令的集合,终端(Termial)是命令行接口。 Q.2: Linus Torv...
2013-12-05 06:11:51 85
原创 Recoll:Unix和Linux桌面的文本搜索工具
Recoll是一个Unix和Linux桌面的文本搜索工具。Recoll可以搜索文件名和文件内的关键字。 Recoll可以为你做到以下这些。 它可以搜索任何格式的文件支持通配符可以依据文件的作者、类型、大小和格式等条件进行搜索可以搜索存储在任何位置的文件,例如文件、归档文件、邮件附件等支持桌面和网站集成具备火狐插件,可索引web页的历史点击一下搜索结果就可...
2013-12-05 06:07:12 550
原创 Mac 无线热点 How to Setup a Wifi Hotspot on Your Mac.
Sharing your internet connection with others through wifi, is easy. follow the steps and your Mac will emit a wifi signal. Step 1: Open System Preferences. Step 2: Open Sharing, ...
2013-12-05 01:38:10 291
原创 PHP type comparison tables
The PHP Documentation Group has now added the Appendix K. PHP type comparison tables to the official PHP manual. Empty() & Co, Special Values gettype()is_null()isSet()(bool)$x...
2013-12-04 06:04:59 66
原创 建立手机无线热点Set Up Personal HotSpot (iphone, Android, Windows Phone)
'Personal Hotspot' (also known as Tethering) is a feature that enables some Postpaid phones to work as a mobile broadband modem to connect your PC or up to 3 devices to the internet. Personal Wi...
2013-12-04 02:38:39 1303
原创 Ubuntu 无线热点 Set Up A Wireless Hotspot (Access Point Mode) That Supports Android
A wireless hotspot enables a computer to serve as a router over Wi-Fi. Ubuntu lets you easily create a wireless hotspot by using the Network Manager, but it uses an ad hoc network and most Android a...
2013-12-04 02:27:03 249
原创 Linux:终端获取页面内容 (curl,lynx,wget,w3m) Bash: Display Web Page Content In Terminal
How can I fetch HTML web page content from bash and display on screen using shell utilities? You can use any one of the following tool or combination of all of them to get the contents of a webpage ...
2013-12-01 22:12:56 1153
原创 在shell中如何判断一个变量是否为空
在shell中如何判断一个变量是否为空判断一个脚本中的变量是否为空,我写了一个这样的shell脚本: #!/bin/sh#filename: test.shpara1=if [ ! -n $para1 ]; then echo "IS NULL"else echo "NOT NULL"fi 然后把该脚本:test.sh通过chmod +x...
2013-12-01 08:23:53 3136
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人