- 浏览: 233140 次
- 性别:
- 来自: 北京
-
最新评论
-
jj7jj7jj:
容我来补一刀~1,function(){ ...
执行JS匿名函数的N种方式 -
duwu:
根本就不能用,试了好多天,一次都没发送成功,发了根本就没有任何 ...
邮件发新浪微博 -
ganky:
终于搞定了,我郁闷啊……我是用JAVA写的,在登录成功后使用g ...
基于web飞信接口的飞信应答机器人 -
ganky:
之前也有搞了一下,只实现了登录,因为一直找不到webim_se ...
基于web飞信接口的飞信应答机器人 -
kewin:
现在127行了哦
基于web飞信接口的飞信应答机器人
文章列表
如果使用wubi之类的工具在虚拟硬盘上安装了ubuntu,则可以使用LVPM把它迁移到真正的硬盘分区上。
由于新系统的menu.lst(/boot/grub/menu.lst)和旧系统一样,所以必须在grub中编辑启动项:把root = ()/ubuntu/disks 改成迁移目标分区,如root = (hd0,5)
然后按b(boot)继续启动新系统。
启动以后必须编辑/boot/grub/menu.lst,修改以后再重启就可以正常启动新系统了。原有的旧系统也可以卸载了(考虑到迁移速度,使用wubi安装时可以最小化安装,如4G)。
公司分配的开发机器光驱坏了,a ...
import flash.external.ExternalInterface;
ExternalInterface.call("console.log",{a:11,b:22},"log var");
这种方式比使用trace的好处是不需要使用debugger版本的flash player;且firebug的强大能力也值得flash开发人员一试。
另外还有其他可供使用的log工具:
firebug的插件flashbughttp://blog.coursevector.com/flashbug
FlashTracer
thunderbolt ...
- 2009-10-11 16:23
- 浏览 2067
- 评论(0)
在浏览器地址栏输入下面的文本,回车。看看在IE(6)、firefox(3.5)、opera(10)中的效果---是不是很奇妙?!但是chrome·4和Safari4都没有反应。
javascript:/a]b/g;
为啥效果好像是调用了document.write("/a]b/g");哪?令我很不解,期待合理解释。
MSN的联系人导出格式为后缀为.ctt,是xml。创建一个符合该xml文件格式的文件,即可添加联系人。美中不足的是无法添加昵称。有时间试试rubymsn。。
<?xml version="1.0"?>
<messenger>
<service name=".NET Messenger Service">
<contactlist>
<contact type="1">xxx@gamil.com</contact>
< ...
- 2009-09-18 13:34
- 浏览 1666
- 评论(0)
2.0.0.23版本支持从文本文件导入。原本还想写个插件哪,没有想到可以这么容易导入,庆贺一下。雷鸟的邮件签名也可以自定义(文本格式即可,txt和html都可以,html还可以定义样式)。以前太笨了,不知道还有这么多功能哪。
- 2009-09-17 16:56
- 浏览 2570
- 评论(0)
/*光标样式--自定义图片,多个备选光标样式可以","号分隔,前面的优先生效*/
.imgBig{cursor:url(http://xxx.com/big.cur),-moz-zoom-in}
.imgSmall{cursor:url(http://xxx.com/small.cur),-moz-zoom-out}
firefox从1.0开始支持-moz-zoom-in 和-moz-zoom-out,即放大和缩小光标的样式https://developer.mozilla.org/en/CSS/-moz-zoom-out。
-moz-zoom-in
-moz ...
http://www.aflax.org/
引用Aflaxtm stands for Asynchronous Flash and XML. Defined simply, Aflax is a development methodology which combines Ajax and Flash to create more dynamic web based applications.
Developed by Paul Colton, the Aflax technology is available as a library that enables developers to us ...
- 2009-08-19 21:25
- 浏览 1055
- 评论(0)
出处:http://raa.ruby-lang.org/project/ruby-sms/
#!/usr/local/bin/ruby
require "serialport.so"
require "socket"
class SMSController
def initialize(bluetoothDevice,phoneNum,smsText)
@@bluetoothDevice = bluetoothDevice
@@phoneNum = phoneNum
@@smsText = s ...
- 2009-08-19 19:55
- 浏览 1199
- 评论(1)
http://eigenclass.org/hiki/simple+full+text+search+engine
- 2009-08-18 23:25
- 浏览 942
- 评论(0)
飞鸽(IPMSG)在企业局域网内应用还是非常广泛的,我本来想用ruby写个程序可以与之交互,网上一番搜索,发现一日本程序员已经实现了一个ruby版的,略改一下,测试效果不错(原文参见:http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/10343):
require "socket"
class IPMSG
IPMSG_PORT = 2425
VERSION = "1"
COMMAND = "32" #send msg ...
- 2009-08-18 21:51
- 浏览 1069
- 评论(0)
@echo off
set TEMPDIR=C:\temp
set REPOS=%1
set REV=%2
set RD=%RANDOM%
set SVNTOOL=C:\Program Files\Subversion\bin\svn.exe
set SVNLOOKTOOL=C:\Program Files\Subversion\bin\svnlook.exe
set SVNADMINTOOL=C:\Program Files\Subversion\bin\svnadmin.exe
svnlook info %REPOS% > %TEMPDIR%\INFO_%RD% ...
- 2009-08-17 19:18
- 浏览 1290
- 评论(0)
thunderbird -compose "to='newdongyuwei@gmail.com,test@test.com',subject='thunderbird cmd',body='test'"
还可以添加附件(attachment参数)
参见图1和图2:给checkbox设置高度(如height:13px)可以解决该问题。在firefox3和chrome3下均无该问题。这是IE特有的问题。另外可以参考一篇相关文章:http://robobruin.blogspot.com/2007/09/fixing-ie-checkbox-paddingmargin.html
引用INPUT type=checkbox 元素的 height 和 width 样式是在 Internet Explorer 5 中实现的。元素的大小设置基于由作者提供的值,除非给定的大小显然低于所需的最小值。大小的尺寸计算如下:
若 height 或 width ...
- 2009-08-17 19:03
- 浏览 5293
- 评论(0)
function dir(obj,name,initContainer){
var ul = initContainer ? initContainer : document.createElement("ul");
var li = document.createElement("li");
var span = document.createElement("span");
span.innerHTML = "+"
span.className = "plus";
...
- 2009-08-13 20:48
- 浏览 2154
- 评论(0)