第一届pmcaff产品经理峰会视频
作者:sluke 发布时间:December 20, 2010 分类:资源资料
上半场:
下半场
不得不说参与的嘉宾和pm们都很给力!!!作为主持人,哥很搓。
再次感谢KU6大力支持
作者:sluke 发布时间:December 20, 2010 分类:资源资料
上半场:
下半场
不得不说参与的嘉宾和pm们都很给力!!!作为主持人,哥很搓。
再次感谢KU6大力支持
作者:sluke 发布时间:November 10, 2010 分类:资源资料
要感谢gtalkgroups这个开源项目,作者及详细说明看http://io43.com/io43.GtalkGroup/
1、从http://code.google.com/p/gtalkgroups/downloads/list下载gtalkgroup_release.tar.gz
2、解压之后有两个文件需要修改
m2ggg_config.py
root_gmail='your.mail.@gmail.com'protect_key1='key1' protect_key2='key2'
app.yaml
application: your_app_name
- url: /chatbridge
- url: /chatbridgecgdsgfsgdh
3、将这个应用上传到google app engine,添加my_gtalk_groups@appspot.com就可以了(你自己的appspot地址)。如何上传看http://code.google.com/appengine/docs/python/gettingstarted/uploading.html
需要注意的是,google app engine sdk是python2.x的,所以请安装python2.5或2.6
群应用及管理的命令如下:
UserCmd (普通用户指令)
//online
用途:显示在线人员名单
//nick
用途:设置昵称
示例://nick 你好
说明:如果群里有其他人使用相同昵称则该昵称不能设置
//setid
用途:设置FID
示例://setid hello
说明:如果群里有其他人使用相同FID则该昵称不能设置。FID只能设置一次,重设无效。
//block
用途:屏蔽某人的消息
示例://block hello
说明:后面所跟的参数为FID。上面示例所的执行结果是屏蔽了FID为hello的用户的消息。
//unblock
用途:取消屏蔽某人的消息
示例://unblock hello
说明:后面所跟的参数为FID。上面示例所的执行结果是取消屏蔽FID为hello的用户的消息。
//m
用途:给某人发送私密消息
示例://m hello helloworld
说明:后面所跟的参数为FID和内容。上面示例所的执行结果是把私密消息helloworld发送到FID为hello的这个用户。发送成功会显示OK的。目前不能发送消息给形如@***||*** 这样的外连接用户。
//showinfo
用途:显示某人的基本信息
示例://showinfo hello
说明:后面所跟的参数为FID。上面示例所的执行结果是输出FID为hello的用户的基本资料。
//stop
用途:马上停止接收群内消息,直到若干秒后恢复
示例://stop 3600
说明:后面所跟的参数为秒数。上面示例所的执行结果是在一小时(3600秒)内不接收群内消息。如果重复输入此命令,时间不会叠加,以最后的一次执行为准。如果执行//stop -1,则取消屏蔽,马上显示消息。
//continue
用途:停止屏蔽群内消息,作用等同于//stop -1
//help
用途:输出帮助内容——指令的简单说明。
AdminCmd(管理员指令)
//whois
用途:查看某人消息
示例://whois hello
说明:参数必须为FID。使用whois可以获取用户的电邮,以供后面的其他指令作为参数用。
//blacklist
用途:将某人加入群黑名单
示例://blacklist somebody.you.want.to.disable@gmail.com
说明:参数为用户email
//pass
用途:把某人从黑名单上移除
示例://pass remove.from.blacklist@gmail.com
说明:参数为用户email
//admin
用途:设置某人为管理员
示例://admin admin.of.group@gmail.com
说明:参数为用户email
//unadmin
用途:解除某人的管理员身份
示例://unadmin not.a.admin.of.group@gmail.com
说明:参数为用户email
//add
用途:增加一个成员
示例://add new.member@gmail.com
说明:填写email,若email为已有成员,则执行指令后用户资料会被重新初始化。
//addrouterecv
用途:创建HTTP消息接收通道。
示例://addrouterecv mychannel2 hello.mypassword2 mychannel1
说明:后跟3个参数,分别是名字、密码和回路禁止。示例的执行结果是:创建一个外挂消息接收点,名字叫mychannel2,密码是hello.mypassword2,收到的消息不用重新转发给mychannel1
//addroutesend
用途:创建HTTP消息发送通道
示例://addroutesend mychannel1 hello.mypassword1 http://some.of.mychannel1.some.appspot.program
说明:后跟3个参数,分别是名字、密码和接收消息的地址。示例的执行结果是:建一个外挂消息发送器,名字叫mychannel1,密码是hello.mypassword1,消息发送到http://some.of.mychannel1.some.appspot.program上。若在服务器http://some.of.mychannel1.some.appspot.program创建同样的名字和密码(mychannel1和hello.mypassword1)的接收点,并禁止回路mychannel2,则对方会收到此聊天群发出的消息,并且不回送。
//allok
用途:通过所有没有进入群的用户
//listuser
保留,原意是提供用户列表,但是GAE后台能显示,所以没有加上
作者:sluke 发布时间:November 1, 2010 分类:资源资料
这是一个中文的scite定制项目,地址是:
http://code.google.com/p/scite-for-php/
重新编译修改项:
增强PHP代码高亮颜色;
增加项目管理文件树, 对项目管理更加方便;
增加二级菜单支持,工具栏、Tab右键菜单、编辑区右键菜单均支持二级菜单;
增强Snippets功能,编写代码效率可以变得更加高效;
修改状态栏,增加部件显示而不用去点击切换,状态栏增加实时显示文件编码;
内置UTF8编码自动判断而非通过lua实现,打开文件速度更快内存占用更低了;
新增OnMenuCommand事件,方便在执行菜单命令行调用lua代码;
新增OnStatusBarClick事件,单击状态栏相应part可以处理不同事件;
新增save.convert.indent属性,可以设置保存时是否统一(已设置的)缩进格式;
新增margin.click.bookmark属性,可以配置单击左边空白区域是否增加书签;
新增sidebar.dock属性,可以配置是否自动隐藏侧边栏。

作者:sluke 发布时间:October 5, 2010 分类:资源资料
给上网本安装了Ubuntu Netbook Edition,发现无线网络经常掉线,实际上在安装其他发行版的时候也遇到了这个问题,一番搜索得知可能是network-manager造成的,解决方案是安装wicd来管理无线网络,步骤如下:
1、sudo apt-get install wicd
2、sudo apt-get autoremove network-manager
3、重启
记录一下方便下次查找。
PS:经过测试,依然会出现掉线的情况,不过没那么频繁,有其他方法请不吝赐教。
20101012补充:
进路由器更改信道会有效改善掉线情况,默认一般是6,可能在复杂无线环境中出现冲突,改成其他的会比较好
作者:sluke 发布时间:September 16, 2010 分类:资源资料
Google analytics与adsence整合的部分不太熟悉,不敢造次翻译,凑合看吧,有合适的翻译请留言告之,我修改本日志,方便大家查阅。
这个表说明了google analytics怎么通过gif传递统计信息,以及都能传递那些信息。
| 变量 | 描述 | 值示例 |
|---|---|---|
| utmac | 用于区别不同帐号的字串,所有请求中都有 | utmac=UA-2202604-2 |
| utmcc |
Cookie 值,这个请求参数发送所有的cookie请求 |
utmcc=__utma%3D117243.1695285.22%3B%2B __utmz%3D117945243.1202416366.21.10. utmcsr%3Db%7C utmccn%3D(referral)%7C utmcmd%3Dreferral%7C utmcct%3D%252Fissue%3B%2B |
| utmcn | Starts a new campaign session. Either utmcn or utmcr is present on any given request. Changes the campaign tracking data; but does not start a new session |
utmcn=1 |
| utmcr |
Indicates a repeat campaign visit. This is set when any subsequent clicks occur on the same link. Either utmcn or utmcr is present on any given request. |
utmcr=1 |
| utmcs |
浏览器的语言编码,某些浏览器不支持此项,在这种情况下会被社会设置为 "-" |
utmcs=ISO-8859-1 |
| utmdt |
页面标题,是一个URL-encoded 字串 | utmdt=analytics%20page%20test |
| utme | 扩展参数 | Value is encoded. Used for events and custom variables. |
| utmfl |
Flash 版本 | utmfl=9.0%20r48& |
| utmhn |
主机名,是一个URL-encoded 字串 | utmhn=x343.gmodules.com |
| utmipc |
产品码。这是一个特定产品SKU码 |
utmipc=989898ajssi |
| utmipn |
产品名称,是一个URL-encoded 字串 | utmipn=tee%20shirt |
| utmipr |
单品价格。仅美元格式 |
utmipr=17100.32 |
| utmiqt |
数量 | utmiqt=4 |
| utmiva |
Variations on an item. For example: large, medium, small, pink, white, black, green. String is URL-encoded. |
utmiva=red; |
| utmje |
浏览器是否启用java小程序,1 为真 | utmje=1 |
| utmn |
Unique ID generated for each GIF request to prevent caching of the GIF image. | utmn=1142651215 |
| utmp |
当前页面的页面请求 | utmp=/testDirectory/myPage.html |
| utmr |
完整的来源页面 | utmr=http://www.example.com/aboutUs/index.php?var=selected |
| utmsc |
屏幕的颜色质量 | utmsc=24-bit |
| utmsr |
屏幕分辨率 | utmsr=2400x1920& |
| utmt |
定义请求的类型,为其中之一:event、 transaction、item、custom variable。如果GIF请求中不包含这些值,则请求类型为page。 |
utmt=event |
| utmtci |
Billing City | utmtci=San%20Diego |
| utmtco |
Billing Country | utmtco=United%20Kingdom |
| utmtid |
Order ID, URL-encoded string. | utmtid=a2343898 |
| utmtrg |
Billing region, URL-encoded string. | utmtrg=New%20Brunswick |
| utmtsp |
Shipping cost. Values as for unit and price. | utmtsp=23.95 |
| utmtst |
Affiliation. Typically used for brick and mortar applications in ecommerce. | utmtst=google%20mtv%20store |
| utmtto |
总计 | utmtto=334.56 |
| utmttx |
税 | utmttx=29.16 |
| utmul |
浏览器语言 | utmul=pt-br |
| utmwv |
跟踪代码的版本 | utmwv=1 |
一个完整的google analytics gif请求
http://www.google-analytics.com/__utm.gif?utmwv=4&utmn=769876874&utmhn=example.com&utmcs=ISO-8859-1&utmsr=1280x1024&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r115&utmcn=1&utmdt=GATC012%20setting%20variables&utmhid=2059107202&utmr=0&utmp=/auto/GATC012.html?utm_source=www.gatc012.org&utm_campaign=campaign+gatc012&utm_term=keywords+gatc012&utm_content=content+gatc012&utm_medium=medium+gatc012&utmac=UA-30138-1&utmcc=__utma%3D97315849.1774621898.1207701397.1207701397.1207701397.1%3B...