1 CUR_DIR = $(shell pwd) 2 3 CFLAGS = -g -Wall 4 GCC = gcc 5 GXX = g++ 6 7 TARGET = exe.out 8 9 SRC_FILES += $(shell find $(CUR_DIR) -name *.cc) \...
分类:
其他好文 时间:
2014-07-12 00:57:34
阅读次数:
216
1、安装JDK并设置环境变量 2、上传安装包 3、解压 4、设置环境变量# vi ~/.bash_profile或vi /etc/profile5、进入hive shell# hive shell或# hive 6、常见操作 查看数据库清单hive> show databses; 查看表清单hive...
分类:
其他好文 时间:
2014-07-12 00:27:32
阅读次数:
347
java:public class ArrayStack { private int[] data; private int top; private int size; public ArrayStack(int size) { this.data = new...
分类:
编程语言 时间:
2014-07-11 22:49:57
阅读次数:
223
1和2需要Microsoft.WindowsAPICodePack.Shell.dll 和引用using System.Windows.Interop,并只能在有DwmApi.dll 版本的Windows操作系统下使用。这两种方法的共同缺点是:在启动窗体时会一闪。一、 [StructLayout(L...
分类:
其他好文 时间:
2014-07-11 22:08:43
阅读次数:
354
#include#include#includeusing namespace std;const int maxn=10010;vectorg[maxn];int Bcnt;int Top;int Index;int low[maxn],dfn[maxn];int belong[maxn],sta...
分类:
其他好文 时间:
2014-07-09 14:01:38
阅读次数:
163
ADB是什么,做android开发的没有不知道的。
window下运行cmd,输入adb help就会打印adb都能够做的事情,包括 adb push 。。adb pull 。。 adb devices adb install。。。 等等。。并且一搜一大把。
其中有一个命令叫做 adb shell,android是基于linux的,shell模式下linux的命令可是非常多的,a...
分类:
移动开发 时间:
2014-07-09 10:59:41
阅读次数:
649
普通应用:importflash.display.StageAlign;importflash.display.StageScaleMode;stage.align=StageAlign.TOP_LEFT;stage.scaleMode="noScale";stage.addEventListener(Event.RESIZE,resizeHandler);functionresizeHandler(event:Event){ bj.width=stage.stageWidth; bj.height..
分类:
其他好文 时间:
2014-07-09 08:51:40
阅读次数:
427
sed:称为流编辑器,也称为行编辑器。sed处理过程:sed读取源文件中的一行,并将其放在临时缓冲区中,这个缓冲区称为模式空间,使用相应的模式对模式空间进行处理,并将处理的结果显示到屏幕上,并不会影响源文件,处理结束后,将模式空间中的内容显示至屏幕。sed格式:sed[opti..
分类:
其他好文 时间:
2014-07-09 08:20:16
阅读次数:
308
以前学习脚本知道一个概念,关于脚本运行方式的问题,我们熟知的脚本运行方式有以下几种:(1)、./script.sh(点斜线脚本)(2)、shscript.sh(sh空格脚本)(3)、sourcescript.sh(source空格脚本)(4)、.script.sh(点空格脚本)先写个简单的脚本,把执行结果贴在下面,然后分别对这几种..
分类:
数据库 时间:
2014-07-09 08:15:03
阅读次数:
255