会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
alanxiong2003
博客园
首页
新随笔
联系
订阅
管理
2014年5月27日
erlang笔记
摘要: 1. erlang:module_info().2. erlang:fun_info(fun erlang:fun_info/1).
阅读全文
posted @ 2014-05-27 20:08 alanxiong2003
阅读(104)
评论(0)
推荐(0)
2014年5月21日
erlang消息
摘要: 1. erl -sname bar -setcookie test2. net_adm:ping('foo@mmpub').3. Pid = spawn(fun() -> F1 = fun(F) -> receive Res -> io:format("rec msg: ~w \n",[Res]) ...
阅读全文
posted @ 2014-05-21 23:34 alanxiong2003
阅读(93)
评论(0)
推荐(0)
2014年4月13日
给贼用的密码
摘要: 看电视电影里面绑架的桥段,我一直有个想法,为什么银行不开个业务 --给贼用的密码!给贼用的密码 功能很简单,除了正常的取钱功能外,就是自动在后台报警;这样银行给用户就是两个密码, 一个我们现在用的密码,另一个是 用户给贼用的密码,一旦用户被绑架,用户可以告诉贼为贼准备的密码,贼如果用这个密码取钱,就...
阅读全文
posted @ 2014-04-13 23:22 alanxiong2003
阅读(135)
评论(0)
推荐(0)
2014年3月27日
shell中script和scriptreplay使用
摘要: 1. #script -t 2 >timing.log -a output.session ; 进行操作录制; exit是退出录制;2. 回放: scriptreplay timing.log output.session
阅读全文
posted @ 2014-03-27 11:01 alanxiong2003
阅读(251)
评论(0)
推荐(0)
2014年3月20日
perl处理menu菜单项,把代码转成fbp文件格式
摘要: 1.手写菜单代码,保存成文件 code.txt view_menu->Append(ID_CreateText, _("Create Text Control")); view_menu->Append(ID_CreateHTML, _("Create HTML Control")); view_menu->Append(ID_CreateTree, _("Create Tree")); view_menu->Append(ID_CreateGrid, _("Create Grid"));
阅读全文
posted @ 2014-03-20 01:06 alanxiong2003
阅读(216)
评论(0)
推荐(0)
2014年3月19日
wxwidgets程序窗口图标问题
摘要: 以下内容均是在codelite上使用:1. 在rc文件中添加图标文件 ,默认是在 win_resources.rc 里面,添加如下内容sample ICON "sample.ico"sample是名字,"sample.ico"是图标实际名字;2. 在 Frame的构造函数里面添加如下语句:SetIcon(wxICON(sample));编译后运行ok;
阅读全文
posted @ 2014-03-19 14:58 alanxiong2003
阅读(752)
评论(0)
推荐(0)
公告