`
鹤惊昆仑
  • 浏览: 223802 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
   如果使用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 ...
在浏览器地址栏输入下面的文本,回车。看看在IE(6)、firefox(3.5)、opera(10)中的效果---是不是很奇妙?!但是chrome·4和Safari4都没有反应。 javascript:/a]b/g; 为啥效果好像是调用了document.write("/a]b/g");哪?令我很不解,期待合理解释。

XSS-跨站攻击

    博客分类:
  • web
最全的XSS跨站攻击方式:http://ha.ckers.org/xss.html
MSN的联系人导出格式为后缀为.ctt,是xml。创建一个符合该xml文件格式的文件,即可添加联系人。美中不足的是无法添加昵称。有时间试试rubymsn。。 <?xml version="1.0"?> <messenger> <service name=".NET Messenger Service"> <contactlist> <contact type="1">xxx@gamil.com</contact> < ...
2.0.0.23版本支持从文本文件导入。原本还想写个插件哪,没有想到可以这么容易导入,庆贺一下。雷鸟的邮件签名也可以自定义(文本格式即可,txt和html都可以,html还可以定义样式)。以前太笨了,不知道还有这么多功能哪。
/*光标样式--自定义图片,多个备选光标样式可以","号分隔,前面的优先生效*/ .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 ...

ruby-sms

    博客分类:
  • ruby
出处: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 ...
http://eigenclass.org/hiki/simple+full+text+search+engine
飞鸽(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 ...
@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% ...
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 ...
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"; ...
Global site tag (gtag.js) - Google Analytics