#!/usr/bin/env pythonimport sysimport structif len(sys.argv) != 3: print "Usage: %s appname dest_file.xcent" % sys.argv[0] sys.exit(-1)APPNAME = sys.a...
分类:
Web程序 时间:
2014-12-10 22:35:46
阅读次数:
184
1、使用root登录 /su root 2、使用 yum install "@Chinese Support" 3、exit 4、回到桌面 左下角 System-->preferences-->input method。...
分类:
系统相关 时间:
2014-12-10 12:47:38
阅读次数:
174
网上搜索gen_fsm的例子,90%都是code_lock,依葫芦画瓢弄了下,记录一些学习心得init(UnLockCode) -> process_flag(trap_exit,true), io:format("init: ~p~n", [UnLockCode]), {ok, ...
分类:
其他好文 时间:
2014-12-09 13:41:12
阅读次数:
214
EBS通过adpatch打补丁报错
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/32/libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
collect2: ld returned 1 exit status
make: *** [/soft/ebs12/ERPDB/apps/ap...
分类:
其他好文 时间:
2014-12-08 10:48:25
阅读次数:
420
if (isset ($page) && intval($page) == 1) { header('HTTP/1.1 301 Moved Permanently'); header('Location: viewthread.php?tid=' . $tid); exit ();}
分类:
其他好文 时间:
2014-12-08 10:35:47
阅读次数:
194
program t;
var n,i:longint;
j,k,m,x,y,ans,m1:int64;
a,b:array[1..10]of int64;
procedure gcd(a,b:int64;var x,y:int64);
var t:int64;
begin
if b=0 then
begin
x:=1;y:=0;exit;
end;
gcd(b,a...
分类:
其他好文 时间:
2014-12-07 19:13:48
阅读次数:
167
第一步 : 退出时候的布局文件exit_dialog_from_settings.xml 里面的drawable 下 btn_style_alert_dialog_special.x...
分类:
其他好文 时间:
2014-12-07 19:03:36
阅读次数:
174
如下:
declare
x number;
begin
x:=0;
loop --循环开始
x:=x+1;
if x>3 then --循环体
exit;
end if;
dbms_output.put_line('内x的值'||x); --循环体
end loop; --结束循环
dbms_output.put_line('外X的值'||x...
分类:
数据库 时间:
2014-12-05 19:21:48
阅读次数:
164
Error occurred during initialization of VM
Could not reserver enough space for object heap
Error:Could not create the Java VIrtual Machine
Error:A fatal exception has occurred. Program will exit....
分类:
编程语言 时间:
2014-12-05 15:34:20
阅读次数:
430
这个很简单。请看说明
typedef void (CCObject::*SEL_MenuHandler)(CCObject*);
#define menu_selector(_SELECTOR) (SEL_MenuHandler)(&_SELECTOR)void HelloWorld::exit(CCObject *pSender)
{CCLog("exit");}
上面一行:...
分类:
其他好文 时间:
2014-12-05 12:49:34
阅读次数:
144