摘要: scimsudo gedit /etc/X11/Xsession.d/95xinput 输入内容 export XMODIFIERS=@im=SCIM export GTK_IM_MODULE=scim export QT_IM_MODULE=scim(如果没有QT程序可以不加) scim -d ===================================================... 阅读全文
posted @ 2008-03-22 15:30 Liren 阅读(1102) 评论(4) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#!/usr/bin/envruby23classMegaGreeter4attr_accessor:names //设置属性,自动产生两个方法(name,name=)用来访问@name的值 //想知道... 阅读全文
posted @ 2008-03-14 22:54 Liren 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 体验Android个人所得税计算器 含源码http://files.cnblogs.com/mobile/ptc.rar 阅读全文
posted @ 2007-11-15 11:49 Liren 阅读(952) 评论(2) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1 bytecrc8(byte[]buffer,intlen)2{3bytecrc,i,j;4crc=0;56for(j=0;j<len;j++)7{8for(i=0x01;i!=0;i<&l... 阅读全文
posted @ 2007-08-09 10:18 Liren 阅读(1804) 评论(0) 推荐(0) 编辑
摘要: RoR:Web Service 3 分发模式1:程序结构2、控制器 阅读全文
posted @ 2007-05-14 15:02 Liren 阅读(754) 评论(3) 推荐(0) 编辑
摘要: 使用before_invocation进行验证调用权限APICode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classBlogApi<ActionWebService::API::Baseapi_method:hello_world,:expec... 阅读全文
posted @ 2007-05-14 10:33 Liren 阅读(608) 评论(1) 推荐(0) 编辑
摘要: 不知道有没有人想我一样,刚开始的是怎么都不成功,原来是css文件要编译成swf文件 :(惭愧啊。 右键选择css文件,编译为swf;或者使用mxmlc aaa.css就可以了, 下面的就是用StyleManager.loadStyleDeclarations('aqua.swf',true)来切换你的css了。 阅读全文
posted @ 2007-02-02 13:34 Liren 阅读(1381) 评论(2) 推荐(0) 编辑
摘要: 1.NET中撰写需要使用SoapHeader验证的Web Service 代码1:WebService.cs using System.Web.Services;using System.Web.Services.Protocols; [WebService(Namespace = "http://www.microsoft.com/")] //名字空间,注意FLEX中调用的时候要手工填写[We... 阅读全文
posted @ 2007-02-01 13:33 Liren 阅读(1838) 评论(2) 推荐(0) 编辑
摘要: LoginEvent.as package events{ import flash.events.Event; import datas.UserInfo; public class LoginEvent extends Event { public function LoginEvent(user:UserInfo,type:String){ ... 阅读全文
posted @ 2007-02-01 11:38 Liren 阅读(2327) 评论(2) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2007-01-24 20:14 Liren 阅读(2926) 评论(1) 推荐(0) 编辑