WordPress - Output User Description
To display your description under user profile instead of blog description, add the following to your template
< ?php echo(get_usermeta(1,'description')); ? >
Comments Off Permalink
To display your description under user profile instead of blog description, add the following to your template
< ?php echo(get_usermeta(1,'description')); ? >
Comments Off Permalink
Google has just launched Google Web Toolkit. It is intended to make creating AJAX applications much easier. Here’s what they had to say about it.
read more | digg story
Must read if you are a new or pro programmer.
read more | digg story
Updated .gvimrc - one of the best light-weight editor out there.
“.gvimrc
” Arthur Kao
” 20051213
syntax on
filetype on
colorscheme desert
set guifont=Terminal:h10:cANSI
set nocompatible “vim not vi
set lines=50
set columns=125
set textwidth=0 “no wordwrap
set tabstop=4
set showmatch
set autoindent
set shiftwidth=4 “indent 4 spaces
set expandtab
set nomh “don’t hide the mouse
set nobackup “no backup ~
set nu “line number
set showmode “show current mode
“Search Options
set ignorecase
set smartcase
set incsearch
set history=500 “command line [...]
Jeff Barr from syndic8.com implemented this simple yet effective measure against comment spam in WordPress.
Maybe I’ll implement this today after work, comment spam is getting worse.
Tutorial:
HERE
Single-User Subversion by Rafael Garcia-Suarez — Revision control isn’t just for distributed, multi-developer teams. Rafael Garcia-Suarez introduces Subversion and explains how to use it for personal projects.
Created a RedFlagDeals.com latest deals widget for Konfabulator (free, thanks to Yahoo!). It based on RSS widget by Chris Longhurst.
Screenshot
Download
Update 2007-07-29: After several server migration, I lost the file. It’s probably in my backups but I haven’t had time to go through them.
Comments Off Permalink
A Simpler Ajax Path by Matthew Eernisse — After years of hacks, tricks, and workarounds, there’s finally a cross-browser, cross-platform way to communicate between client and server in web applications. Matthew Eernisse demonstrates how to send and receive structured data with XMLHttpRequest and shows off some tricks to make debugging and error handling easier.
After upgrade to SP2, internet explorer was unable to display XBM image files. After some digging, found the answer below, just need to add a registry key under
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Security]
“BlockXBM”=dword:00000000
Source:
Delphij.net