安装salt的时候出现了这个错误安装完gcc之后还是报这个错误这时候就应该yum install python-develUbuntu下叫做python-dev,CentOS下叫做python-devel
分类:
其他好文 时间:
2014-11-13 20:43:01
阅读次数:
140
http://www.cnblogs.com/songsh96/archive/2011/10/14/2211079.html一.建立数据库sqlite3.exe test.db二.双击sqlite-3_6_16目录下的程序sqlite3.exe,即可运行三.退出.exit或者.quit四.SQLi...
分类:
数据库 时间:
2014-11-13 18:24:00
阅读次数:
324
CREATE OR REPLACE
PROCEDURE P_REPLACE IS
v_sql VARCHAR2(2000);
CURSOR cur IS SELECT * FROM user_tab_cols;
tableinfo user_tab_cols%rowtype;
BEGIN
OPEN cur;
LOOP
FETCH cur INTO tableinfo;
EXIT WHEN cur...
分类:
数据库 时间:
2014-11-12 11:52:29
阅读次数:
288
感觉sublime的记住上次打开文件的功能很烦,把他关掉吧 在"User/Preferences.sublime-settings"配置文件中增加条目: "hot_exit":?false,
"remember_open_files":?false 这样再打开就清爽多了。...
分类:
其他好文 时间:
2014-11-12 10:40:02
阅读次数:
176
1.awt中关闭Frame窗口事件:addWindowListener(new WindowAdapter(){ //关闭事件处理 public void windowClosing(WindowEvent e){ setVisible(false); System.exit(...
分类:
编程语言 时间:
2014-11-12 02:01:12
阅读次数:
257
# !/bin/bash rc=$1exe=$2if [ ! -e "$rc" ]; then echo "rc not exist" exit fi if [ ! -e "$exe" ]; then echo "exe not exist" exit fi ver=`c...
分类:
其他好文 时间:
2014-11-11 14:20:03
阅读次数:
169
Python标准库 Python标准库是随Pthon附带安装的,包含了大量极其有用的模块。 1. sys模块 sys模块包含系统对应的功能sys.argv ---包含命令行参数,第一个参数是py的文件名sys.platform ---返回平台类型sys.exit([status]) --...
分类:
编程语言 时间:
2014-11-10 19:44:04
阅读次数:
155
用yum安装软件提示的解决方法:[root@centosf2beauty]#yuminstallgccLoadedplugins:fastestmirrorExistinglock/var/run/yum.pid:anothercopyisrunningaspid1479.Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit...Theotherapplicationis:yumMemory:55MRSS(355MBVSZ..
分类:
移动开发 时间:
2014-11-10 18:13:19
阅读次数:
236
写一段hello world: //?filename:?main.c
#include?<stdio.h>
int?main(void)
{
????printf("hello?wolrd!\n");
????return(-1);???
} 编译执行:gcc main.c && ./a.out 现在我们看看在当前she...
分类:
系统相关 时间:
2014-11-10 15:54:30
阅读次数:
280
有时候我们需要使用代码中断程序,如果直接调用exit方法,会使得程序就像是崩溃那样,因此我们应该加上一个动画效果。 例如:AppDelegate *app = [UIApplication sharedApplication].delegate; UIWindow *window = a...
分类:
其他好文 时间:
2014-11-10 15:18:02
阅读次数:
123