Log4think
[com.log4think]-[DEBUG] stay hungry, stay foolish
Browse: Home / wordpress

wordpress

利用google-code-prettify做网页内源码的语法高亮

由于HTML本身并不认空格,因此网页中如果要展现程序代码通常会用<pre>标签来保留缩进、空格等格式。作为程序员的Blog,对此的需求更是高很多。单单利用<pre>标签保留代码格式还不能让代码看起来很漂亮,通常在IDE中都会有语法高亮的特性,利用google-code-pre[......]

阅读全文

Posted in web, wordpress | Tagged google, syntax highlight, wordpress | Leave a response

修正auto-excerpt产生带格式的摘要

WordPress的正文通常都是显示全文,这样一来如果文章非常长的话,blog的首页的用户体验会很不好。网上有很多提到通过将index.php中的the_content改成the_excerpt来讲首页的文章内容显示为摘要的方法,但是这样的摘要要自己去写。
WordPress的plugin库里面有一[......]

阅读全文

Posted in wordpress | Tagged auto-excerpt, plugin, wordpress | Leave a response

搜索

  • About
  • CV

Categories

  • 极客&玩物(Geek&Gadget) (9)
  • 知(knowledge) (10)
  • 行(practice) (29)
    • 写代码(coding) (14)
      • android (5)
      • C/C++ (2)
      • debug (1)
      • others (1)
      • python (2)
      • web (1)
      • 算法(algorithm) (3)
    • 玩玩(Fun) (3)
      • WoW/Trinity (3)
    • 系统(system) (8)
      • git (1)
      • linux (4)
      • wordpress (2)
    • 读代码(code reading) (8)
  • 译(translation) (8)

RSS Log4think

  • 代码段速记 gist.github.com
  • A perl Data.Dumper clone for Python
  • The Nerd? Geek? or Dork? Test
  • 使用Gmail作为非加密认证SMTP服务器
  • 魔兽世界 3.3.5 13930 Trinity 认证补丁
  • 魔兽世界3.3.5 13930登录数据包分析
  • 魔兽世界私服Trinity,从源码开始
  • 统一业务模型(UBM) in ERP5
  • 制作ASCII字符动画
  • Ubuntu升级导致的udevd错误修复
  • 行列有序矩阵求第K个数
  • 字节按位逆序
  • 编程之美 1.2 中国相帅问题的一个简洁解法
  • 极客日志(2011-01)
  • 为Windows 7/Windows Server 2008添加IPX协议
  • How to debug with Android Logging
  • 极客日志(2010-10)
  • 利用google-code-prettify做网页内源码的语法高亮
  • 极客日志(2010-09)
  • 星际争霸2的大学专业?

android ANR ASCII AsyncTask auto-excerpt cpio debug eclipse erp5 flame Gadget geek git go google google voice graphics Intent Service interview ipkall iptel.org IPX java javascript karmic learning linode linux log model nimbuzz online painting plugin problem python sharpdevelop sip source Tools ubuntu wordpress wow 源码分析 魔兽世界

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Reference

  • Latex Command List

Tools

  • codemirror – In-browser code editor
  • codepad – Online Code Compiler
  • Kodingen – Cloud Development
  • Online JavaScript editor
  • Online VI editor

看过的书

My Plan

功能

  • 注册
  • 登录
  • 文章 RSS
  • 评论 RSS
  • WordPress.org

29
今日访问
独立IP
Powered By Google Analytics

Copyright © 2011 Log4think.

Powered by WordPress and Hybrid.