Transfer Projects to GitHub

Transfer Projects to GitHubWordPress Theme Development standard had got stricter and stricter, since I began developing my own WordPress theme projects. With no choices, much code written for feature functionality was prematurely dead because of these hard standards.

Moved projects to GitHub was not a decision going with the times. After stopping submitting updates to WordPress Theme Directory, I packed each version of my project codes and upload them to my website server for my users to download (via HTTP). But limited by files management inconvenience and website speed, I transfered everything to GitHub at last, and publish the new version of my WP themes today: Nest 1.1.8 and Concerto 1.0.5.

» Read more …

Safari 前端开发调试 iOS 完美解决方案(iPhone/iTouch 等)

Safari 前端开发测试调试 iOS 完美解决方案(iPhone、iTouch、iPad 等)  在日趋现代化的 Web 网络中,各种现代浏览器和移动终端设备的用户百分比越来越高。对于我们 Web 前端开发者来说,运行 iOS Safari 浏览器的苹果移动设备对我们来说更是不容忽视的。然而当我们需要对前端页面进行测试调试时,桌面版 Safari 的表现并不是与移动版 Safari 一模一样的(主要缘起 CSS 中 device-width 的判断),因此我们只能直接在 iOS 设备上对 Safari 进行测试与调试。

  本文主要介绍由苹果官方提供的 iOS 设备上 Safari 浏览器的前端调试解决方案的详细操作方法。笔者采用的是:运行在 iOS 6.0.1 上的移动版 Safari 和运行在 OS X Mountain Lion 上的桌面版 Safari(Windows 版本的 Safari 暂无此功能)。理论上对 iPhone、iTouch、iPad 等苹果移动设备上的移动版 Safari 浏览器均可行。

» Read more …

VMware 虚拟机安装 Mac OS X Mountain Lion 苹果系统

VMware 虚拟机安装 Mac OS X Mountain Lion 苹果系统  苹果桌面操作系统 Mac OS X Mountain Lion(版本号为 Mac OS X v10.8)已于今年 7 月 21 日通过 Mac App Store 发布。未能上手 MacBook / iMac 的用户亦可通过一定的方法在普通电脑上安装 Mac OS X 并获得极佳的体验。

  本文将详细介绍如何在 VMware Workstation 8/9 下安装并使用 Mac OS X。VMware Workstation 是非常优秀的一款桌面虚拟化软件,不仅硬件兼容性高,功能也非常丰富,并能在普通家用电脑上实现很好的虚拟机操作使用体验,可以说并不亚于真实 Mac 机。(笔者在 2011 年 6 月份曾发表过一篇《普通 PC 电脑上安装苹果雪豹 Mac OS X Snow Leopard 教程》,但为避免及其繁琐的前期工作和应对驱动程序疑难,特撰写本文。)

  如果读者的机器配置在主流上下,那么完全可以抛弃传统的真实机分区安装法,而采用本文介绍的虚拟机法,不仅碰到的问题疑难大大减少,而且在使用 Mac OS X 得到的体验也是极佳的。(本教程对配置的需求:支持硬件虚拟化技术(Virtualization)的 CPU。目前主流的 Intel Core 系列和 AMD Athlon 系列的 CPU 均支持虚拟化技术,名称分别为 Intel VT-x 和 AMD-V。)

» Read more …

ReadyFor4GB 突破 32 位 Windows 7/Vista 内存 4G 限制

  ReadyFor4GB 工具协助你修改 32 位的 Windows 7/Vista 系统内存限制信息,在使用此工具破解后,32 位的 Windows 也可以像 64 位的一样,支持 2G 以上的大内存,最大可支持 128GB。

ReadyFor4GB 工具使用

  此工具协助您检查当前系统所认可的最大内存容量,并通过修改 Windows PAE 内核文件 ntkrnlpa.exe,绕过 ZwQueryLicenseValue API 函数的许可限制,使得工作站版本 32 位的 Windows 7/Vista 系统支持超过 2GB 以上的物理内存,最高支持 128GB。

» Read more …

WordPress 插件 qTranslate 开发经验总结与核心功能详解

  qTranslate 是由华人秦谦开发的一款 WordPress 多语言插件。其主要功能是通过处理 WordPress 前台/后台的过程,实现多语言数据分开编辑、共同存储于数据库中,达到真正的多语言 WordPress,并可随意切换。在各种 WordPress 多语言插件中,qTranslate 是非常棒的一款,尤其适合大家做深层次的二次开发。

  本文总结笔者在此前折腾 qTranslate 插件的经验,并详解 qTranslate 部分底层功能,方便读者对 WordPress 结合 qTranslate 插件进行二次开发,以免去在开发过程中不必要的麻烦。

» Read more …

不要嫁给程序员的若干个理由

  之前看过好几篇《嫁给程序员的×个理由》的文章,也都说得很在理,很符合自身的情况..然后也妄自得意。而后接连看了几篇来自技术社区&博客的文章,发现,接近完全客观地分析现实情况,远不是网友们所说的那样美好的。

  以下笔者随手列举了几点,但没有什么华丽的调侃词眼。欢迎补充。

» Read more …

WordPress 3.3 中加载脚本与样式表的新途径

  WordPress 版本 3.3 发布已有一个星期了,前些天有朋友问到 WP 主题在加载脚本与样式表时报错的问题,报错内容如下(需开启 WP_DEBUG 模式):

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.)

» Read more …

Coming soon: Nest Theme 1.1

Nest Theme 1.1.1 ScreenshotAccording to all the comments about Nest Theme from the users, I’ve corrected the errors, and made the theme more useful and customizable. Thanks to everyone who does experience my works!

Version 1.1.1 has some new features:

  • Selective effect of multi-level navigation menu
  • Using JavaScript (jQuery): Multi-level navigation menu
  • Modifiable website info string ( replaces the default copyright string )
  • Arrow marks of parent menu items containing sub-menu
  • Fixed CSS compatibility in IE6 and IE7

v1.1.1 :?: Does it mean singles?? We all know the Singles’ Day of the century (2011-11-11) is actually coming too! :razz:

Theme Demo: http://www.ychong.com/demo/wordpress/

» Read more …