自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 Ubuntu 12.04 忘记登录密码,或者登录成功后闪退

1. Recover Login Password of Ubuntu 12.04After my first installation of Ubuntu 12.04, I forgot my login password and need to recover it.To recover it you need to follow these steps...

2012-06-29 22:18:15 177

原创 Magento for Developers

for the more visually oriented Magento_MVC.pdf.Code Organized in ModulesMagento organizes its code into individual Modules. In a typical PHP Model-View-Controller (MVC) application, all the Cont...

2012-06-29 11:37:30 149

原创 Magento Helper简介

正如许多其他的PHP MVC系统一样,Magento也有帮助类(Helper Classes)。这些类用来提供一些不适合放在模型,视图或者控制器中的功能。Magento的帮助类也是采用分组类名的机制。也就是说我们可以覆盖默认的帮助类,同时我们需要在config.xml中指定帮助类的基类名。 Magento系统默认模块有一个默认的帮助类。正如我们上面的异常显示,我们的Helloworl...

2012-06-29 11:33:51 149

原创 ubuntu ftp 基本FTP命令 Basic FTP Commands

You can use FTP to transfer files from your Mac OS X Snow Leopard computer with an FTP server by using the command-line interface (CLI); to use the CLI, open a Terminal, or shell, session. To us...

2012-06-29 02:53:44 355

原创 创建桌面快捷方式 Add items to Ubuntu 12.04 Unity Launcher (quicklaunch)

Add items to Ubuntu 12.04 Unity Launcher (quicklaunch)The recent upgrade to Ubuntu 12.04 Precise Pangolin left me somewhat hanging when it comes to creating launchers on the desktop, and also in...

2012-06-28 03:06:31 113

原创 ubuntu进程管理方法

ubuntu进程管理方法 1. Terminal ps 显示当前进程 ps -l 显示详细信息 ps -u 以用户的格式显示 相关字段说明 F 进程状态标志 S 进程状态代码 UID 进程执行者ID PPID 父进程标识(parent process ID) PRI 进程执行的优先级(priority) NI 进程执行优先...

2012-06-27 05:18:55 112

原创 Gnome快捷键

GNOME快捷键通用快捷键Alt + F1 类似Windows下的Win键,在GNOME中打开"应用程序"菜单(Applications)Alt + F2 类似Windows下的Win + R组合键,在GNOME中运行应用程序Ctrl + Alt + L 类似Windows下的Win + L 组合键,锁定桌面,不同在于同时启动屏幕保护程序Ctrl + Alt + D组合...

2012-06-21 03:04:15 290

原创 Linux/ubuntu下安装LAMP (开启重写模块apache rewrite) How-to Install LAMP Server

Linux LAMP servers are also popular, flexible and reliable as WAMP server. The installation of both servers are very easy and differ from each other. LAMP means L inux A pache M ysql P hp, and WAM...

2012-06-20 22:08:54 131

原创 Ubuntu 常用命令收集

所有命令按字母顺序排列,只介绍最常用参数,相信等你看完之后,就有能力man更详细的用法了。此前own也曾发表过几篇文章,详细的介绍了几个命令比如ls,sudo,chmod等等,看不懂man的,请自行查找:)apt-get:debian系系统的软件包管理程序(其图形化前端就是大名鼎鼎的新立得了),会自动帮你搞定依赖关系最常用参数:update        —-与你的软件源(在/et...

2012-06-20 22:00:11 76

原创 jQuery .tmpl() 用法

参考效果: DEMO  下载: jquery-tmpl-master 动态请求数据来更新页面是现在非常常用的方法,比如博客评论的分页动态加载,微博的滚动加载和定时请求加载等。 这些情况下,动态请求返回的数据一般不是已拼好的 HTML 就是 JSON 或 XML,总之不在浏览器端拼数据就在服务器端拼数据。不过,从传输量方面来看,返回 HTML 不划算,而在 web 传输方面,现在...

2012-06-06 22:40:41 203

原创 PHP stdClass to Array and Array to stdClass – stdClass Object

stdClass 和 Array 互换 方法一:function array2object($array) { if (is_array($array)) { $obj = new StdClass(); foreach ($array as $key => $val){ $obj->$ke...

2012-06-05 03:45:20 189

原创 Disqus API 用法 How to get your Disqus API keys

I’m working on importing my comments into the otherwise excellent Disqus commenting system, but getting ahold ofyour API keys can be rather difficult, so I’ll just document the processhere for l...

2012-06-05 02:22:20 378

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除