归档

Posts

所有文章,按时间倒序。

oMLX

用外接 SSD 存放 oMLX 模型,并用 Kopia 定时备份

把 oMLX 的模型库迁移到 Mac mini 的外接 SSD 上,再用 Kopia 每小时做一次去重快照备份到第二块硬盘 —— 36 GB 的本地模型从「重新下载数小时」变成「几分钟内恢复」。

2 分钟阅读 2026-10-06
Claude Code

用 mem0 为 Claude Code 搭建自托管记忆

如何为 Claude Code 接入一套完全本地运行的记忆系统:oMLX 提供 LLM 与嵌入模型,pgvector 存储向量,开源的 mem0 MCP 服务器通过 SSE 把一切串联起来。

3 分钟阅读 2026-10-01
Hugo

20 分钟内在本地运行 Hugo 站点

一份务实的操作指南:安装 Hugo、搭建站点、撰写三篇文章,并构建一个可以在任何浏览器中打开的静态包。

1 分钟阅读 2026-09-01
git

使用git reflog恢复由于reset丢掉的commit

1. 首先,你必须没有跑过git的垃圾处理,"git gc"(这个我放心,估计我的同事连这个命令的存在都不知道),这样,所有那些于head脱离的处于悬吊状态(d…

1 分钟阅读 2015-05-31
News, Stories, Opinons and Reviews

My short marriage with eZ Systems

It turns out it was a totally bad experience. From the very beginning, they hide…

7 分钟阅读 2012-12-02
News, Stories, Opinons and Reviews

Reinvent

Those who do not understand Unix are condemned to reinvent it, poorly - Henry Spencer

0 分钟阅读 2012-09-09
php

Use 127.0.0.1 instead of localhost on Zend Server

When install some system on Zend Server locally, such as Magento, sometimes, you need change the database server name from "localhost" to "127.0.0.1". It is just a note written as a record for future reference.

0 分钟阅读 2012-08-27
Redis

Redis内核概念

在Redis里的每一个东西都是用字符串表示的。即使像列表,集合,有序集合和图都是字符串的组合。Redis定义了一个特殊的结构,它调用一个叫"简单动态字符串"(S…

1 分钟阅读 2012-07-09
Cloud

NoSql Notes

In NoSQL stores, the create and read operations are more important than the update and delete operations, so much so that sometimes those are the only operations.

0 分钟阅读 2012-07-06
javascript

Javascript embarrassment

Nowadays, we all write javascript code using various javascript frameworks, be it Jquery, YUI, prototype or many others. One reason we use this javascript frameworks is that they provide us rich features, easy understanding code, automatic browser compatibility and sometime, langauge extended features. Some of…

0 分钟阅读 2012-07-05
News, Stories, Opinons and Reviews

For those who think English is not important

Even on the small scale, when you look at any programming organization, the programmers with the most power and influence are the ones who can write and speak in English clearly, convincingly, and comfortably. Also it helps to be tall, but you can't do anything…

0 分钟阅读 2012-01-28
HTML5

HTML5的一个简单编码标准

这是一个简单的HTML5 编码标准: - 给<html>标签总是加上lang属性, 比如: <html lang="en-US"> - …

1 分钟阅读 2011-06-05
cms

Checking out Concretr5

Just read about a new CMS: Concrete5 at www.concrete5.org:-)

0 分钟阅读 2011-06-02
Management

Nicknames for types of your TMs

Do you know all what each of the following nickname mean? :) - The Attacker - The Complainer - The Comic - The Descerter - The Limelight Seeker - The Moonlighter - The Not-My-Jobber - The Bleeding Heart

0 分钟阅读 2011-05-30
Management

Building team spirit

In order to build a team spirit, the following five factors are essential: 1. Open communication 2. Empowerment 3. Clear roles and responsibilities 4. An effective leader 5. A reward and accountability system for both individual team members and the entire team. For effective leadership,…

0 分钟阅读 2011-05-18
News, Stories, Opinons and Reviews

What is the best system to set up and run a web site?

Yesterday, I read a Javalobby News from dzon.com titled "5 reasons you don’t really want a jack-of-all-trades developer" (http://blog.rebeccamurphey.com/2008/08/02/web-developer-hiring-tips/). It made me think about this question again. I asked myself this question many times cause right now there are so many open source CMSes out…

0 分钟阅读 2010-03-26
ezpublish

Get Start a new eZ Publish project - Part II

In the part I (/posts/2009-11-29-get-start-a-new-ez-publish-project-part-i/), we started create the siteaccesses and set all the configuration values for the siteaccesses to work correctly. However, there are still other things to do, such as set up and configure the site design and svn version control tool for…

0 分钟阅读 2009-12-01
php

Get Start a new eZ Publish project - Part I

In the past, I wrote a post (/posts/2009-01-30-a-brief-summary-on-starting-an-ez-publish-projects-or-before-starting/) briefly introduced the eZ Publish CMS. In these two series post, I will get into the technical details on how to actually start a new eZ Publish project. We are going to set up a starting point…

0 分钟阅读 2009-11-29
News, Stories, Opinons and Reviews

Google Wave, got in

Recently, I received a friend's invitation to Google Wave. This means, I will have the opportunity to invite others too. So, if you are interested, just send me a message, I will put you in my Nomination List ( I have 5 spots left )…

0 分钟阅读 2009-11-27
News, Stories, Opinons and Reviews

KPMRS - A new SEO tool, pretty good

Is today’s analytical service becoming more complex with irrelevant data? Here comes the pertinent solution entitled KPMRS.com, which is accomplished with packaged data and allows for the fundamental analysis of the performance of any website. It is a very ideal, rapid and useful keyword monitoring…

0 分钟阅读 2009-09-09
Proxy

FreeGate, OpenVPN and Tor

For us in China these days, access internet is a tedious chore given the major web sites are blocked including Facebook, Twitter, Youtube and the popular Online TV network, TVU network. GFW (So called ""Great Fire Wall") and the possible "Green Dam" in the future,…

0 分钟阅读 2009-09-06
ideas

Define success, just to refresh your & my mind

Everybody want it, but few people actually get it. Sucess, is a such troublesome word: when it is ambiguous, it makes me frustration, just to image only after a long time of hard work, you suddenly start to doubt that what you were doing isn't…

0 分钟阅读 2009-06-07
Zend Framework

Review, php|architect's Guide to Programming with Zend Framework

The zend.com are initiating a beta certification program on Zend Framework. I received an email informed me that I could get a 50% discount on the exam fee and a free study guide if I schedule and attention the exam before the end of this…

0 分钟阅读 2008-07-27
blogging

Use Writer, the online Darkroom version!

As a blogger, you probably already knew Darkroom, a minimalist full-screen text editor( inspired by the WriteRoom a similar processor offer on Mac OS). What's good about Darkroom is that it forces your focus your writing content and nothing else. It has no window caption…

0 分钟阅读 2008-05-31
php

Learn to Design Web Themes and Templates with New Wiki

ThemesWiki.org is a new website designed to provide users with comprehensive, free guides for designing Web Themes and Templates. This site intends to ease the web design process by providing tutorials for a large number of systems at a common location. It is often difficult…

0 分钟阅读 2008-05-23
News, Stories, Opinons and Reviews

中国谷哥发布: 四川震区急需 260 万顶帐篷

借助网络的力量,让更多的人了解灾区的求助信息,协助灾区的同胞最大限度地得到帮助,是我们AdSense小组每一位成员最大的心愿和义不容辞的责任。为此,我们恳请广大…

1 分钟阅读 2008-05-17
WordPress

WordPress problem: Url encoding on Tag's slug.

When you define or assign tags in WordPress, here is what WordPress does: 1. Every tag must have a name. 2. Every tag must have a slug, the url of the tag. 3. By default, WordPress will automatically generate the tag slug based on the…

0 分钟阅读 2008-05-11
php

Curl better than simplexml_load_file when web screen scrapping

As in my previous post, I briefly introduced how you can use SimpleXML object to load various web services' API query urls, if you so choose to mashup a website with data provided by the various websites, such as YouTube and Amazon. Of course, the…

0 分钟阅读 2008-05-02
php

How to use SimpleXML parsing XML data with namespace and CDATA

There are many social network websites (e.g. YouTube) and big brand websites(e.g. Amazon, Yahoo) use REST or SOAP or even RSS web services to provide the enormous data for developers. Using these data, we can build a website virtually with no own database at all,…

0 分钟阅读 2008-04-19
php

Zend PHP5 认证考试研究之三:XML 和 Web Service

SimpleXML Parsing XML Documents The only restraint is that the XML document must be well-formed, or SimpleXML will emit warnings and fail to parse it. Also, while the W3C has published a recommended specification for XML1.1, SimpleXML supports only version 1.0 documents. Again, SimpleXML will…

0 分钟阅读 2008-01-08
php

Zend PHP5 认证考试研究之二:Streams 和 Network

Magic constants \_\_LINE\_\_ The current line number of the file. \_\_FILE\_\_ The full path and filename of the file. If used inside an include, the name of the included file is returned. Since PHP 4.0.2, \_\_FILE\_\_ always contains an absolute path whereas in older versions…

0 分钟阅读 2008-01-06
News, Stories, Opinons and Reviews

Google Reader 毁了家庭圣诞夜大餐

该文章说,Google“促成”了其自身的Facebook-Beaconesue灾难(最近,facebook.com有相似的用户隐私问题——它在公共领域共享用户的…

1 分钟阅读 2007-12-28
News, Stories, Opinons and Reviews

联系

如果您有任何关于本站的问题,非常欢迎发给我一份消息。我会尽我的能力回答您的问题。 %%wpcontactform%%

1 分钟阅读 2007-11-08
WordPress

更新带语言切换的WordPress到2.3版本:几个教训

实际上,更新的整个过程是非常简单的。但是,由于我是运行一个双语的WordPress,所以,除了根据官方的WordPress更新导向外,还有一些其它的事情需要提请…

1 分钟阅读 2007-10-28
News, Stories, Opinons and Reviews

Bittorrent 网络的强大共同体基础

这是我到目前为止所见到的最快的一个达到其目标的网络捐助。在过去几年中,尽管有the MPAA和RIAA在该领域不平常的意在减少版权侵犯的努力,但是,到目前为止,…

1 分钟阅读 2007-09-21
News, Stories, Opinons and Reviews

thepiratebay:Suprnova.org 归来!

任何人知晓BitTorrent也许会知道这个名字,suprnova;好吧,至少对于那些用BitTorrent有相对长一些历史的人来说,这个名字一定不陌生。在我看…

1 分钟阅读 2007-08-12
Safari 3

在windows上的Safari 3:在ebay上得到了警告

这是一个公共测试版,意味着每个人都可以下载并测试性地使用它,但是它不是100%的稳定。Apple声称Safari是运行在各个平台上的最快的网络浏览器。Safar…

1 分钟阅读 2007-06-22
E-commercial

10件或更少,Google怎样才能超越百度

我认为,Google的中心目标(soul purpose)是进入每个普通中国人的心中。要达到这样的目的,我认为有两个很重要的方面:市场推广和观念。我想Googl…

1 分钟阅读 2007-04-21
News, Stories, Opinons and Reviews

Windows Vista SP1?

我对微软的这款新的操作系统没有直接的使用经验。但是根据其他用户的报告,出除要求一个大的范围的用户升级他们的电脑的硬件以使它们达到Windows Vista的准备…

1 分钟阅读 2007-04-05
Bilingual Blog

创建一个双语博客I,一些想法

Ok,我似乎已经听到屏幕另一边传来的声音了:“什么?一个双语博客不就是提供用户两种不同的语言吗?这还有什么神秘的?” 是的,在一定程度上,你是对的,而且我同意关…

1 分钟阅读 2007-04-04
News, Stories, Opinons and Reviews

关于

我第一次接触英特网还是在21世纪刚开始的时候。我记得我用一个Web邮件的客户端发送我的第一封E-mail时,就在我发送之 前,我忘记按网页上的“保存”按钮。结果…

1 分钟阅读 2007-04-04