摘要:
图片的放大缩小点击图片,放大,再点击图片缩小。import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Point;
import android.graphi 阅读全文
阅读排行榜
C# 获取当前文件名、执行函数、执行代码行数和列数
2013-05-05 15:22 by java20130722, 260 阅读, 收藏,
摘要:
转自:http://www.cnblogs.com/pengwenbing/archive/2010/08/30/1812893.html,向其致敬static void Main(string[] args)
{ StackTrace st = new StackTrace(new StackFrame(true)); Console.WriteLine(" Stack trace for current level: {0}", st.ToString()); StackFrame sf = st.GetFrame(0); Console.WriteLine... 阅读全文
创建一个简单的项目
2012-09-11 11:30 by java20130722, 260 阅读, 收藏,
摘要:
转载请声明出处: http://blog.csdn.net/luhuajcdd/article/details/79664751. 创建一个文件夹 example, 再创建一个pom.xml 放在example目录下。pom.xml 文件格式:Xml代码4.0.0com.luhua.mvn1.0mvnex-examplespomMavenbyExample,ExampleCodeExampleCodeforMaven:ByExamplejunitjunit3.8.1test2. 开始一个新的Maven项目,在命令行使用Maven Archetype插件 2.1 在命令行,进入example 目 阅读全文
hive文件存储格式
2013-04-19 15:45 by java20130722, 259 阅读, 收藏,
摘要:
hive在建表是,可以通过‘STORED AS FILE_FORMAT’ 指定存储文件格式例如:[plain] view plaincopy>CREATEEXTERNALTABLEMYTEST(numINT,nameSTRING)>ROWFORMATDELIMITEDFIELDSTERMINATEDBY'\t'>STOREDASTEXTFILE>LOCATION'/data/test';指定文件存储格式为“TEXTFILE”。hive文件存储格式包括以下几类:TEXTFILESEQUENCEFILERCFILE自定义格式TEXTFIEL默 阅读全文
ubuntu 安装ssh server
2013-03-25 17:51 by java20130722, 258 阅读, 收藏,
摘要:
在windows上,为了更好的操作虚拟机中的linux(ubuntu)系统,都会用到ssh client 连接linux(ubuntu), 但是如果linux(ubuntu)系统中没有安装ssh server, 就需要在linux(ubuntu)中安装ssh server :安装方式如下,输入命令: sudo apt-get install openssh-server安装成功之后,就可以从windows 上通过ssh client 访问linux(ubuntu)。ssh client 连接过程:这是ssh client 界面上的一个按钮,点击后,需要输入linux IP(获取方式在linux 阅读全文
浙公网安备 33010602011771号