上周由于开始了新的项目,和新的公司,新的团队合作,比较忙,所以没有更新 blog。当然最主要的原因是自己太懒,好好检讨一下。自从离职在家以来,一直都以休息为由,天天睡懒觉,工作也不那么努力,时间一长,整个人变得越来越懒,好像迷失了方向一样。本来想着宝宝不在身边,可以有更多的时间工作,做自己一直想做的事情,但事实上却走向相反的方向,想想都觉得很愧疚,觉得很对不起宝宝。
现在,我非常想宝宝,希望他能在身边,希望能教他东西,希望早上早起带他到花园散步。下午我们就要坐上火车前往河南了,相信他再次见到我们的时候,又会兴高采烈地跑过来,牵着我俩的手,不停地冲着我笑。上次见到他时就是这样,让我觉得很心酸。我是一个非常坚强的人,连爷爷去世时都没流过一滴眼泪,但看到宝宝这个样子,真的很心酸。所以考虑很久之后,我俩决定把他带回北京,待在我们身边。
有了宝宝之后,想法变了很多,以前觉得衣食无忧就够了,现在想为了他去创造财富,这可能跟人到三十也有关系吧
。我不知道这种想法是对是错,但这是内心很真实的想法,为了宝宝,我要更加努力去工作才对,少睡懒觉,多些时间陪他,多些时间工作。
很多朋友问我为什么我的 blog 访问不了了,我用的是网通 ADSL,可以正常访问,不能访问的基本都是电信的。应该是他们把这个 blog 所在服务器的 IP 给封了。没办法,我只好将其从 dreamhost 移回到国内。
今晚去小西天中影那边看了《变形金刚》,超炫的效果,声效也很不错,震耳欲聋。擎天柱看着相当华丽,哈哈。建议大家去看看,当然最好是原音配中文字幕的那种,配音的感觉会差很多。
JavaScript Image Cropper UI,一个用 JavaScript 实现的超酷的图片裁剪器,基于 Prototype 和 script.aculo.us 实现的,效果很不错,也很使用。看看 DEMO 吧,呵呵。
Features:
- Un-obtrusive
- Based on Prototype and script.aculo.us
- Image editing package styling & functionality, the crop area functions and looks like those found in popular image editing software
- Dynamic inclusion of required styles
- Drag to draw areas
- Shift drag to draw/resize areas as squares
- Selection area can be moved
- Selection area can be resized using resize handles
- Allows dimension ratio limited crop areas
- Allows minimum dimension crop areas
- Allows maximum dimensions crop areas, if both min & max set as the same value then we'll get a fixed cropper size on the axes as appropriate and the resize handles will not be displayed as appropriate
- Allows dynamic preview of resultant crop (if minimum width & height are provided), this is implemented as a subclass so can be removed if not required
- Movement of selection area by arrow keys (shift + arrow key will move selection area by 10 pixels)
- All operations stay within bounds of image
- All functionality & display compatible with most popular browsers supported by Prototype, tested in:
- PC: IE 6 & 5.5, Firefox 1.5, Opera 8.5 (see known issues) & 9.0b
- MAC: Camino 1.0, Firefox 1.5, Safari 2.0
不知不觉时间已经速度到了 shxll 和我的结婚 5 周年纪念日。我俩也乘机找机会出去腐败了一回,哈哈。