- 安卓巴士Android开发者门户
迷你芊宝宝
Android
一、开源库1.SimpleRatingBar简单好用的ratingbar2.NumberRainAndroid自定义控件仿黑客帝国数字雨3.CacheWebView突破系统WebView缓存的空间限制的WebView4.luckly_popup_windowAndroid开发使用PupopWindow在指定View的上下左右动态显示菜单列表,模仿IOS底部弹窗列表。5.PhotoEditor图片编
- Android 自定义控件中正确使用setTextSize设置字体大小
环山绕水
androidandroidstudioide
Android自定义控件中正确使用setTextSize设置字体大小。setTextSize()有2个重载方法,一个参数的方法,单位是scaledpixel(sp),不是px(像素)。publicvoidsetTextSize(floatsize){setTextSize(TypedValue.COMPLEX_UNIT_SP,size);}publicvoidsetTextSize(intunit
- 超简单android自定义控件流式布局SimpleFlowLayout
易说新语
技术的进步,总是由需求推动的——安卓君1、前言流式布局是app开发中必不可少的布局方式,例如照片墙,筛选标签等等。基本上每个app里面都可以看到这样的布局,但是androidAPI中并没有提供实现流式布局方式的控件,因此自己实现一个流式布局的控件就非常有必要了。本文分享笔者实现FlowLayout思考过程,希望能够抛转引玉,为大家提供一个新的思路,文章末尾有代码链接。2、效果下面是效果图:Simp
- Android自定义控件--如何在XML文件中使用自定义属性
A-sL1
Androidandroidandroidstudio
前言你好,我是Cici。这几天在做一个小项目的时候,用到了自定义控件,为了方便在XML中进行配置,于是需要用到自定义属性,特此记下用法,方便复习的同时也希望对大家有所帮助。一、为什么需要自定义控件Android本身提供了很多控件,比如TextView、ImageView等,在实际开发中,有时候单个的控件并不能很好的满足业务需求,因此我们会将多种控件组合在一起,形成一个具有特定功能的自定义控件,就好
- 介绍几个工作开发中封装的好用的android自定义控件
weixin_34226706
移动开发phpjava
介绍几个工作开发中封装的好用的android自定义控件首先看效果图,看下这两个界面,第一个中用到了一个自定义的FlowRadioGroup,支持复合子控件,自定义布局;第二个界面中看到了输入的数字自动4位分割了吧;也用到了自定义的DivisionEditText控件。下面直接看源码FlowRadioGroup了;1/*2*Copyright(C)2006TheAndroidOpenSourcePr
- Android自定义控件开发入门与实战(6)路径动画,牛皮轰轰
wa32saa
程序员架构移动开发android
PathMeasure(Pathpath,booleanforceClosed);这两种方法都会涉及到的forceClosed是计算path是否闭合,但是path的闭合并不是由forceClosed控制,绘制出来时,path该闭合还是闭合,不闭合就是不闭合,但是如果forceClosed设置为true时,会当做path闭合,把闭合的路径算进去。一些简单的函数使用1、getLength()publi
- Android自定义控件开发入门与实战(6)路径动画,android脚本开发工具
m0_66264673
程序员架构移动开发android
前面几章所讲的内容其实都只是比较普通、简单的动画,这章开始学习较难、较为有深度、也比较可以实现更加炫酷效果的动画,通过PathMeasure和SVG动画来实现。PathMeasure实现路径动画PathMeasure是Android官方API,是之前第一张关于路径只是的一个扩展,十分的有用。PathMeasure可以计算出路径的总长、指定长度所对应的坐标等等路径信息。有两种初始化方式:第一种:Pa
- Android自定义控件开发入门与实战(6)路径动画,赶紧收藏
m0_66145114
程序员架构移动开发android
示例路径绘制是PathMeasure最常用的功能,下面实现一个转圈圈的加载效果图。思路是通过ValueAnimator动画算出当前的动画的进度,通过进度获取转圈圆的周长,拿到周长后通过PathMeasure的getLength和getSegment去画圆。我们再构造函数中做new的操作:publicPathMeasureView1(Contextcontext,@NullableAttribute
- Android自定义控件开发入门与实战(12)Canvas,kotlin入门潜修
m0_66264324
程序员架构移动开发android
RectFbounds:要保存的区域所对应的举行对象intsaveFlags:取值ALL_SAVE_FLAG表示保存全部内容。别的值之后再讲述。第二个构造函数其实和第一个一样,只不过它是根据4个点来构造一个矩形的。下面我们接下来以Xfermode为例,看看saveLayer()函数都做了什么。我们先使用Xfermode来做一个SRC_IN的效果:@OverrideprotectedvoidonDr
- android自定义控件的惯性滑动
大大大大南子
android
原文参考:自定义控件的惯性滑动体验RecyclerView的滑动以及滚动的实现源码一、应用场景在自定义View中,常常会用到滚动,但是出于某些原因不能直接继承ScrollView,这时候就很有必要来看看他们滚动都是怎么实现的了。本文只关注拖动和惯性滑动的效果实现。以RecyclerView的代码为示例(和ScrollView相比,在滚动上的实现方式一样,在惯性滑动的实现上,用的插值器(Interp
- Android自定义控件之局部图片放大镜--BiggerView
张风捷特烈
零、前言:本文的知识点一览1.自定义控件及自定义属性的写法,你也将对onMesure有更深的认识2.关于bitmap的简单处理,及canvas区域裁剪3.本文会实现两个自定义控件:FitImageView(图片自适应)和BiggerView(放大镜),前者为后者作为铺垫。4.最后会介绍如何从guihub生成自己的依赖库,这样一个完整的自定义控件库便ok了。5.本项目源码见文尾捷文规范第一条实现效果
- Android自定义控件
早八
Androidandroid
目录Android自定义控件一、对现有控件进行扩展二、创建复合控件1定义属性2组合控件3引用UI模板三、重写View来实现全新控件1弧线展示图1.1具体步骤:2音频条形图2.1具体步骤四、补充:自定义ViewGroupAndroid自定义控件ref:Android自定义控件-掘金(juejin.cn)自定义视图组件|Android开发者|AndroidDevelopers(google.cn)当系
- Android自定义控件
在下嗷呜
androidjava
通常开发Android应用程序的界面时,都不直接使用View控件,而是使用View控件的子类。例如,如果要显示一段文字,可以使用View控件的子类TextView控件;如果要显示一个按钮,可以使用View控件的子类Button控件。虽然Android提供了很多继承自View类的控件,但是在实际开发中,还会出现不满足需求的情况,此时我们可以通过自定义控件的方式实现。最简单的自定义控件就是创建一个继承
- android自定义控件_深度解析自定义属性
言方行圆娄知县
android基础效果实现代码自定义控件自定义属性深度解析图文详解android
本文深入讲解了自定义控件的自定义属性,如有问题或疑问请大家及时私信或评论指出。目录1什么是控件的属性(以TextView和ImageView为例源码分析)?2自定义的控件是否必须要自定义其属性?3有自定义属性需求如何自定义?属性标签attr的format都能接受什么样的属性值?4设置format属性值后自定义类代码中又如何才能获取到?5举例:设置界面中每一个item格式都相似,自定义详细过程总结目
- Android自定义控件之ViewPager(广告条,引导页面等)
爱码仕的猿奋
前言在Android开发中,系统控件已经远远不能满足我们日常需求,可以使用以下方式实现控件的自定义:1.系统控件的重新组合2.自定义类继承View3.自定义类继承ViewGroup效果演示:源码:MyViewPager:publicclassMyViewPagerextendsViewGroup{privateMyScrollerscroller;/***手势识别器*1.定义出来*2.实例化-把想
- Android自定义控件入门到精通--补间动画
一鱼浅游
android
《Android自定义控件入门到精通》文章索引☞https://blog.csdn.net/Jhone_csdn/article/details/118146683《Android自定义控件入门到精通》所有源码☞https://gitee.com/zengjiangwen/Code文章目录补间动画使用方法一:xmltranslate(平移动画)rotate(旋转动画)scale(缩放动画)alph
- Android自定义控件学习连接
爱学习的小宝宝
https://blog.csdn.net/harvic880925/article/details/50995268
- Android自定义控件 支持移动、缩放、旋转功能的ImageView
容华谢后
自定义控件android自定义控件自定义ViewImageViewMatrix
转载请注明出处:https://blog.csdn.net/kong_gu_you_lan/article/details/131694755?spm=1001.2014.3001.5501本文出自容华谢后的博客0.写在前面今天写一篇关于自定义控件的文章,基于ImageView控件,给它加上移动、多点缩放、两指旋转的功能,先看下效果:布局中可以添加多个MatrixImage,位置可以自由移动,涉及
- Android自定义控件知识点
_StackOverFLow
一、控件树Android中控件大致被分为两类,viewGroup控件、view控件,viewGroup包含多个view,通过viewGroup,整个界面上的控件形成树形结构。上层控件负责下层子控件的测量与绘制,并传递交互事件。二、Android界面架构Activity-->PhoneWindow-->Decorview(TitleView+ContentView)设置requestWindowFe
- Android自定义控件系列博客
perry_Fan
绘制机制先好好的理解一下绘制流程公共技术点之View绘制流程GcsSloop---自定义View系列自定义基础篇安卓自定义View基础-坐标系安卓自定义View基础-角度弧度安卓自定义View基础-颜色进阶篇安卓自定义View进阶-分类和流程安卓自定义View进阶-绘制基本图形安卓自定义View进阶-画布操作安卓自定义View进阶-图片文字安卓自定义View进阶-Path基本操作安卓自定义View
- Android自定义控件-可拖动控制的圆环控制条
Horrarndoo
前几天收到这么一个需求,本来以为挺简单的,没想到最后发现实现起来还是有点小麻烦的,在这里小小的总结一下。先看看下面这张需求的样图:样图然后在看一下最终实现的效果图,可能是gif录制软件的问题,有一些浮影,忽略就好了:最终demo图首先要分析一下最核心的地方,如何获取到滑动距离对应的弧长,看图:参考图p1是手指按下的点,很明显要想知道当前进度弧边的值,就是要求出角d的值。以p为圆心点,atan(b)
- Android自定义控件
Mason_Xu
自定义控件引入布局创建title.xmlandroid:background="@drawable/back_bg"背景图片android:layout_margin="5dp"控件上下左右偏移距离也可以marginTop单独指定在activity_main.xml中就可以显示title.xml标题栏设置系统自带标题栏隐藏调用getSupportActionBar()方法获得ActionBar实例
- Android FlowLayout实现流式布局 kotlin实现FlowLayout 自定义ViewGroup
木子102
android碎片
最近在看viwe的自定义,看到蛮多讲解FlowLayout自定义ViewGroup的例子,然后回顾了一下《Android自定义控件开发入门与实战》里面的这个例子,想找一个kotlin的顺便看看,但是都没有,所以就写了这个博客记录一下自定义view的文章应该很多,我就简单记录一下重点一个是用java写的一个是用kotlin写的最近在学习kotlin效果图坐标位置的计算关系一、View的绘制一般遵循构
- Android 自定义View(1)
旅行者归来
Android自定义控件进阶01-自定义控件开发套路与流程本章节为什么要叫进阶篇?(虽然讲的是基础内容),因为从本篇开始,将会逐渐揭开自定义View的神秘面纱,每一篇都将比上一篇内容更加深入,利用所学的知识能够制作更加炫酷自定义View,就像在台阶上一样,每一篇都更上一层,帮助大家一步步走向人生巅峰,出任CEO,迎娶白富美。误,是帮助大家更加了解那些炫酷的自定义View是如何制作的,达到举一反三的
- Android自定义控件(七) Android仿微信支付密码输入框
居安思危_Ho
Android自定义View1024程序员节android自定义View
前言早上在使用微信支付买东西时候注意到了支付的密码输入框,Android使用自定义方式来实现下。说明1、实现效果2、绘制分析从图上可以看出,主要有以下几个元素以及事件:绘制圆角矩形drawRoundRect绘制黑色小圆点drawCircle键盘自动调起处理输入和回删事件输入完成后事件回调3、实现步骤1、首先绘制圆角矩形&黑色密码小圆这里的绘制没什么难度,将圆角矩形框的宽和高度根据设计图上的尺寸定义
- Android自定义控件(八) Android仿招商银行APP手势解锁
居安思危_Ho
Android自定义View自定义ViewAndroidkotlin
前言目前大部分APP的登录方式有多种类型,其中手势解锁就是其中比较常见的一种方式,经常使用的招商银行APP(IOS)端的手势解锁体验不错的,就仿照它自定义下手势解锁功能。说明1、招行APP手势解锁效果2、绘制分析来分析下效果图1和图2中需要绘制的元素。未执行解锁操作,需要绘制9个灰色小圆点来形成锁盘执行解锁操作,绘制大圆、黑色小圆点、圆之间的连线以及圆到手指所在位置的连线松手后重置绘制,校验密码是
- Android自定义控件(六) Andriod仿iOS控件Switch开关
居安思危_Ho
Android自定义ViewAndroidandroidkotlin自定义View
前言本篇文章记录下Android仿iOS控件Switch开关自定义过程。此控件实现的难度较小,但是在绘制文字过程中遇到一些问题,比如如何将文字摆放在正确的位置,文字绘制和位置的处理用到以下的知识点:Canvas的绘制文字drawTextPaint获取文字边界getTextBounds()Paint的测量文字宽度measureText()字体度量属性FontMetrics(文字位置摆放关键)说明1、
- Android自定义控件之打造万能ViewPager、ViewPager2 Adapter(无限轮播、多布局、低耦合indicator指示器蠕动动画、自定义indicator)
安娇德
https://blog.csdn.net/confusing_awakening/article/details/112649313
- Android自定义控件:自适应大小的文本控件
Android技术分享
需求自适应大小的文本:效果图:GIF.gif项目开发中,开发人员根据UI人员提供的一套尺寸,布局了一些带文本的页面,往往会少考虑一些数据极限的问题,造成机型屏幕适配问题。例如:文本(或数值)长度可变,如经验值、金币数量等,如果页面同一高度使用了多个Textview布局摆放,当Textview文本长度增加时,有可能造成重叠现象。例子还有很多,相信很多开发人员也都曾遇到过。今天我们就写一个简单的例子,
- Android自定义控件之小说书架实现示例详解
目录前言功能分析代码实现小说的展示小说拖拽BookShelfItemTouchHelper实现小说删除总结前言在手机看小说的时候,看到一个很有意思的效果,在UC浏览器切换到小说书架时候,可以在这个界面手指长按一本书拖拽它,当拖拽到其他小说后面时候。可以将其他小说前置,拖拽的小说到该位置上。功能效果大致如下图所示:功能分析通过运行图可以看出,该程序主要功能包括1.按照网格布局展示小说信息2.手指长按
- JAVA中的Enum
周凡杨
javaenum枚举
Enum是计算机编程语言中的一种数据类型---枚举类型。 在实际问题中,有些变量的取值被限定在一个有限的范围内。 例如,一个星期内只有七天 我们通常这样实现上面的定义:
public String monday;
public String tuesday;
public String wensday;
public String thursday
- 赶集网mysql开发36条军规
Bill_chen
mysql业务架构设计mysql调优mysql性能优化
(一)核心军规 (1)不在数据库做运算 cpu计算务必移至业务层; (2)控制单表数据量 int型不超过1000w,含char则不超过500w; 合理分表; 限制单库表数量在300以内; (3)控制列数量 字段少而精,字段数建议在20以内
- Shell test命令
daizj
shell字符串test数字文件比较
Shell test命令
Shell中的 test 命令用于检查某个条件是否成立,它可以进行数值、字符和文件三个方面的测试。 数值测试 参数 说明 -eq 等于则为真 -ne 不等于则为真 -gt 大于则为真 -ge 大于等于则为真 -lt 小于则为真 -le 小于等于则为真
实例演示:
num1=100
num2=100if test $[num1]
- XFire框架实现WebService(二)
周凡杨
javawebservice
有了XFire框架实现WebService(一),就可以继续开发WebService的简单应用。
Webservice的服务端(WEB工程):
两个java bean类:
Course.java
package cn.com.bean;
public class Course {
private
- 重绘之画图板
朱辉辉33
画图板
上次博客讲的五子棋重绘比较简单,因为只要在重写系统重绘方法paint()时加入棋盘和棋子的绘制。这次我想说说画图板的重绘。
画图板重绘难在需要重绘的类型很多,比如说里面有矩形,园,直线之类的,所以我们要想办法将里面的图形加入一个队列中,这样在重绘时就
- Java的IO流
西蜀石兰
java
刚学Java的IO流时,被各种inputStream流弄的很迷糊,看老罗视频时说想象成插在文件上的一根管道,当初听时觉得自己很明白,可到自己用时,有不知道怎么代码了。。。
每当遇到这种问题时,我习惯性的从头开始理逻辑,会问自己一些很简单的问题,把这些简单的问题想明白了,再看代码时才不会迷糊。
IO流作用是什么?
答:实现对文件的读写,这里的文件是广义的;
Java如何实现程序到文件
- No matching PlatformTransactionManager bean found for qualifier 'add' - neither
林鹤霄
java.lang.IllegalStateException: No matching PlatformTransactionManager bean found for qualifier 'add' - neither qualifier match nor bean name match!
网上找了好多的资料没能解决,后来发现:项目中使用的是xml配置的方式配置事务,但是
- Row size too large (> 8126). Changing some columns to TEXT or BLOB
aigo
column
原文:http://stackoverflow.com/questions/15585602/change-limit-for-mysql-row-size-too-large
异常信息:
Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAM
- JS 格式化时间
alxw4616
JavaScript
/**
* 格式化时间 2013/6/13 by 半仙
[email protected]
* 需要 pad 函数
* 接收可用的时间值.
* 返回替换时间占位符后的字符串
*
* 时间占位符:年 Y 月 M 日 D 小时 h 分 m 秒 s 重复次数表示占位数
* 如 YYYY 4占4位 YY 占2位<p></p>
* MM DD hh mm
- 队列中数据的移除问题
百合不是茶
队列移除
队列的移除一般都是使用的remov();都可以移除的,但是在昨天做线程移除的时候出现了点问题,没有将遍历出来的全部移除, 代码如下;
//
package com.Thread0715.com;
import java.util.ArrayList;
public class Threa
- Runnable接口使用实例
bijian1013
javathreadRunnablejava多线程
Runnable接口
a. 该接口只有一个方法:public void run();
b. 实现该接口的类必须覆盖该run方法
c. 实现了Runnable接口的类并不具有任何天
- oracle里的extend详解
bijian1013
oracle数据库extend
扩展已知的数组空间,例:
DECLARE
TYPE CourseList IS TABLE OF VARCHAR2(10);
courses CourseList;
BEGIN
-- 初始化数组元素,大小为3
courses := CourseList('Biol 4412 ', 'Psyc 3112 ', 'Anth 3001 ');
--
- 【httpclient】httpclient发送表单POST请求
bit1129
httpclient
浏览器Form Post请求
浏览器可以通过提交表单的方式向服务器发起POST请求,这种形式的POST请求不同于一般的POST请求
1. 一般的POST请求,将请求数据放置于请求体中,服务器端以二进制流的方式读取数据,HttpServletRequest.getInputStream()。这种方式的请求可以处理任意数据形式的POST请求,比如请求数据是字符串或者是二进制数据
2. Form
- 【Hive十三】Hive读写Avro格式的数据
bit1129
hive
1. 原始数据
hive> select * from word;
OK
1 MSN
10 QQ
100 Gtalk
1000 Skype
2. 创建avro格式的数据表
hive> CREATE TABLE avro_table(age INT, name STRING)STORE
- nginx+lua+redis自动识别封解禁频繁访问IP
ronin47
在站点遇到攻击且无明显攻击特征,造成站点访问慢,nginx不断返回502等错误时,可利用nginx+lua+redis实现在指定的时间段 内,若单IP的请求量达到指定的数量后对该IP进行封禁,nginx返回403禁止访问。利用redis的expire命令设置封禁IP的过期时间达到在 指定的封禁时间后实行自动解封的目的。
一、安装环境:
CentOS x64 release 6.4(Fin
- java-二叉树的遍历-先序、中序、后序(递归和非递归)、层次遍历
bylijinnan
java
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
public class BinTreeTraverse {
//private int[] array={ 1, 2, 3, 4, 5, 6, 7, 8, 9 };
private int[] array={ 10,6,
- Spring源码学习-XML 配置方式的IoC容器启动过程分析
bylijinnan
javaspringIOC
以FileSystemXmlApplicationContext为例,把Spring IoC容器的初始化流程走一遍:
ApplicationContext context = new FileSystemXmlApplicationContext
("C:/Users/ZARA/workspace/HelloSpring/src/Beans.xml&q
- [科研与项目]民营企业请慎重参与军事科技工程
comsci
企业
军事科研工程和项目 并非要用最先进,最时髦的技术,而是要做到“万无一失”
而民营科技企业在搞科技创新工程的时候,往往考虑的是技术的先进性,而对先进技术带来的风险考虑得不够,在今天提倡军民融合发展的大环境下,这种“万无一失”和“时髦性”的矛盾会日益凸显。。。。。。所以请大家在参与任何重大的军事和政府项目之前,对
- spring 定时器-两种方式
cuityang
springquartz定时器
方式一:
间隔一定时间 运行
<bean id="updateSessionIdTask" class="com.yang.iprms.common.UpdateSessionTask" autowire="byName" />
<bean id="updateSessionIdSchedule
- 简述一下关于BroadView站点的相关设计
damoqiongqiu
view
终于弄上线了,累趴,戳这里http://www.broadview.com.cn
简述一下相关的技术点
前端:jQuery+BootStrap3.2+HandleBars,全站Ajax(貌似对SEO的影响很大啊!怎么破?),用Grunt对全部JS做了压缩处理,对部分JS和CSS做了合并(模块间存在很多依赖,全部合并比较繁琐,待完善)。
后端:U
- 运维 PHP问题汇总
dcj3sjt126com
windows2003
1、Dede(织梦)发表文章时,内容自动添加关键字显示空白页
解决方法:
后台>系统>系统基本参数>核心设置>关键字替换(是/否),这里选择“是”。
后台>系统>系统基本参数>其他选项>自动提取关键字,这里选择“是”。
2、解决PHP168超级管理员上传图片提示你的空间不足
网站是用PHP168做的,反映使用管理员在后台无法
- mac 下 安装php扩展 - mcrypt
dcj3sjt126com
PHP
MCrypt是一个功能强大的加密算法扩展库,它包括有22种算法,phpMyAdmin依赖这个PHP扩展,具体如下:
下载并解压libmcrypt-2.5.8.tar.gz。
在终端执行如下命令: tar zxvf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8/ ./configure --disable-posix-threads --
- MongoDB更新文档 [四]
eksliang
mongodbMongodb更新文档
MongoDB更新文档
转载请出自出处:http://eksliang.iteye.com/blog/2174104
MongoDB对文档的CURD,前面的博客简单介绍了,但是对文档更新篇幅比较大,所以这里单独拿出来。
语法结构如下:
db.collection.update( criteria, objNew, upsert, multi)
参数含义 参数  
- Linux下的解压,移除,复制,查看tomcat命令
y806839048
tomcat
重复myeclipse生成webservice有问题删除以前的,干净
1、先切换到:cd usr/local/tomcat5/logs
2、tail -f catalina.out
3、这样运行时就可以实时查看运行日志了
Ctrl+c 是退出tail命令。
有问题不明的先注掉
cp /opt/tomcat-6.0.44/webapps/g
- Spring之使用事务缘由(3-XML实现)
ihuning
spring
用事务通知声明式地管理事务
事务管理是一种横切关注点。为了在 Spring 2.x 中启用声明式事务管理,可以通过 tx Schema 中定义的 <tx:advice> 元素声明事务通知,为此必须事先将这个 Schema 定义添加到 <beans> 根元素中去。声明了事务通知后,就需要将它与切入点关联起来。由于事务通知是在 <aop:
- GCD使用经验与技巧浅谈
啸笑天
GC
前言
GCD(Grand Central Dispatch)可以说是Mac、iOS开发中的一大“利器”,本文就总结一些有关使用GCD的经验与技巧。
dispatch_once_t必须是全局或static变量
这一条算是“老生常谈”了,但我认为还是有必要强调一次,毕竟非全局或非static的dispatch_once_t变量在使用时会导致非常不好排查的bug,正确的如下: 1
- linux(Ubuntu)下常用命令备忘录1
macroli
linux工作ubuntu
在使用下面的命令是可以通过--help来获取更多的信息1,查询当前目录文件列表:ls
ls命令默认状态下将按首字母升序列出你当前文件夹下面的所有内容,但这样直接运行所得到的信息也是比较少的,通常它可以结合以下这些参数运行以查询更多的信息:
ls / 显示/.下的所有文件和目录
ls -l 给出文件或者文件夹的详细信息
ls -a 显示所有文件,包括隐藏文
- nodejs同步操作mysql
qiaolevip
学习永无止境每天进步一点点mysqlnodejs
// db-util.js
var mysql = require('mysql');
var pool = mysql.createPool({
connectionLimit : 10,
host: 'localhost',
user: 'root',
password: '',
database: 'test',
port: 3306
});
- 一起学Hive系列文章
superlxw1234
hiveHive入门
[一起学Hive]系列文章 目录贴,入门Hive,持续更新中。
[一起学Hive]之一—Hive概述,Hive是什么
[一起学Hive]之二—Hive函数大全-完整版
[一起学Hive]之三—Hive中的数据库(Database)和表(Table)
[一起学Hive]之四-Hive的安装配置
[一起学Hive]之五-Hive的视图和分区
[一起学Hive
- Spring开发利器:Spring Tool Suite 3.7.0 发布
wiselyman
spring
Spring Tool Suite(简称STS)是基于Eclipse,专门针对Spring开发者提供大量的便捷功能的优秀开发工具。
在3.7.0版本主要做了如下的更新:
将eclipse版本更新至Eclipse Mars 4.5 GA
Spring Boot(JavaEE开发的颠覆者集大成者,推荐大家学习)的配置语言YAML编辑器的支持(包含自动提示,