- leetcode 1071.字符串的最大公因子
是小Y啦
leetcode算法职场和发展
思路:模拟因为如果出现这么一个最长的字符串,那么肯定就存在于两个字符串之中,并且是这两个字符串的子集。所以我们就直接在这两个字符串中枚举即可。但是,可能在枚举的时候会有个问题,就是我们如果是从中间截取一小段,然后取匹配,是不是还需要考虑这种情况啊?没必要,因为题目中说是这两个字符串都能由这个子集字符串拼接而成,如果我们从其中一个字符串的中间截取一段,拼接后的字符串不仅匹配不上原字符串,而且也匹配不
- Swift基本语法-简例
☆MOON
移动互联网-iOS笔记python正则表达式爬虫
Swift基本语法简例安全类型?与!区别变量与常量字符串拼接多行字符串数组操作字典操作数组遍历控制条件判断switch语句循环遍历函数闭包对象枚举结构体协议扩展泛型get,set属性属性观察懒加载,重写方法回调及保护安全类型?与!区别?表示:返回值是一个可选类型,需要解包处理,如果有值就是相应类型的,如果没有值,就是“nil”,适用于不确定值的情形!表示:不需要解包处理(第一次赋值时编译器已自动解
- JavaSE:3、运算符
_Power_Y
JavaSEjava开发语言
1、赋值运算符从右往左运算,左边是可赋值的目标,返回计算结果publicclassMain{publicstaticvoidmain(String[]argv){inta=10;intb=a=100;System.out.println(a);//输出100System.out.println(b);//输出100}}2、算术运算符+-*/%(1)加法支持字符串拼接,变量常量相加,隐式类型转换。类
- Vue项目:将资源路径使用相对路径后,部分图片无法显示
engineer_why
vue项目问题集vue.js前端javascript
Vue项目:将资源路径使用相对路径后,部分图片无法显示绝对路径通过上一篇文档,使用publicPath实现绝对路径转相对路径,这一篇,来说说我之后碰到的问题.在资源路径改变为相对路径后,我发现代码中比如css引入的图片,它还是处于绝对地址,并且没有办法显示出来,提示为404找不到图片。解决办法:通过less或scss,定义一个变量baseUrl,然后通过字符串拼接的方式,在url路径中拼接到原本图
- java一点笔记
晚晚不晚
java笔记开发语言
强制类型转化inta;longb;b=a;a=(int)b;Stringstr1="234";intval=Integer.valueOf(str1);intp=100;Stringstr2=String.valueOf(p);字符串拼接inta=10;intb=20;System.out.println("a+b="+a+b);System.out.println(a+b+"a+b");上述代码
- 详细分析python中的 async 和 await(附Demo)
码农研究僧
Pythonpythonasyncawait异步
目录前言1.基本知识2.Demo2.1Demo1(同步)2.2Demo2(错误)2.3Demo3(不正确的异步)2.4Demo4(正确异步)3.完整版4.拓展4.1asyncio.create_task(coroutine)4.2asyncio.gather(*coroutines_or_futures,return_exceptions=False)4.3字符串拼接前言对于异步的基本知识推荐阅读
- 安全的字符串拼接
小白咚
前端javascript数据库html开发语言
假如你需要拼接一些不确定类型的变量为字符串,你需要确保算术运算符在你拼接时不会起作用。使用concat:varone=1;vartwo=2;varthree='3';varresult=''.concat(one,two,three);//"123"这应该就是你所期望的拼接结果。如果不这样,拼接时加号可能会导致你意想不到的结果:varone=1;vartwo=2;varthree='3';varr
- Java中的String与StringBuilder详解
blaizeer
java数据库eclipsejava-ee开发语言
“好读书,不求甚解;每有会意,便欣然忘食。”文章目录前言文章有误敬请斧正不胜感恩!Java中的String与StringBuilder详解:1.String与StringBuilder简介2.字符串转换为StringBuilder3.StringBuilder转换为字符串4.字符串拼接5.格式化字符串6.字符串操作:插入、删除、替换7.性能对比:StringvsStringBuilder总结前言在
- Vue2.0学习--基础--4--Class与Style绑定
naildingding
框架—Vuevue前端
(day5)操作元素的class列表和内联样式是数据绑定的一个常见需求。因为它们都是attribute(也就是每个元素的class属性和style属性),所以我们可以用v-bind处理它们:只需要表达式计算出字符串结果即可。(也就是说,在HTML中class和style属性后面都是接一个双引号括起来的字符串值)但是字符串拼接麻烦且易错。所以,在使用v-bind将class与style与特定的值绑定
- [LeetCode]336. Palindrome Pairs
gqk289
LeetCode
https://leetcode.com/problems/palindrome-pairs/找出两个字符串拼接可形成回文的所有组合遍历数组,把word和所在位置加入map,再遍历数组,内层遍历当前字符串,将字符串分隔成前后两个部分,判断这两个部分是否为回文,如果是,则将另一部分翻转,并在map中找是否存在,如果存在则这两者可以构成回文publicclassSolution{publicList>
- C语言宏定义详解
carry_carial
c语言学习c语言c++c#
文章目录标识符#define预编译中的过程替换与优先级宏定义的分号带有副作用的宏和函数的比较特性比较用宏定义实现函数无法实现的功能传类型作为参数字符串拼接补充读完大约需要10分钟标识符#define如何定义一个宏?我们要使用#define来实现#define允许我们把参数替换在文本中,具体的格式是这样的#definename(parament-list)stuff其中的parament-list是
- 数据库系统 第26节 数据库调优 案例分析
hummhumm
数据库oraclepythonjava开发语言databasesql
数据库调优通常不需要修改源代码,因为它主要涉及数据库配置、查询优化和硬件调整等方面。然而,源代码中的某些实践可以显著影响数据库性能。以下是一些常见的源代码实践,这些实践可以与数据库调优相结合:参数化查询:避免SQL注入并提高查询效率,使用参数化查询代替字符串拼接查询。#正确使用参数化查询query="SELECT*FROMusersWHEREemail=%s"cursor.execute(quer
- Foxnic-SQL (13) —— 外部SQL与SQL模版
LeeFJ
Foxnic-SQL(13)——外部SQL与SQL模版概述在前几节中,已经介绍过Foxnic-SQL将SQL语句对象化并执行。那么,为什么还要引入外部SQL和SQL模板的特性呢?首先,大多数时候,我们的第一反应是用字符串去拼接SQL语句,这说明字符串拼接方式其实是最直观的。其次,使用对象化的方式拼接SQL,还是有其局限性,大量的SQL文本也不宜直接写在Java类中。所以,Foxnic-SQL将原本
- Java中StringJoiner的基本使用介绍
JonTang
Javajava开发语言
在Java编程中,经常需要将多个字符串连接成一个字符串,这时候就可以使用Java8引入的StringJoiner类。StringJoiner提供了一种简洁、灵活的方式来进行字符串拼接操作,使得代码更加清晰和易于维护。本篇博客将深入介绍StringJoiner的基本使用方法及其实际应用场景。什么是StringJoiner?StringJoiner是Java8引入的一个类,位于java.util包中,
- PHP一句话木马免杀方式汇总
A 八方
php开发语言安全web安全网络
目录PHP一句话木马免杀学习一句话木马的变形1.相同功能函数替换2.使用变量3.使用字符串拼接、大小写混淆、字符串逆序组合4.自定义函数5.回调函数6.str_replace函数7.base64_decode函数(编码绕过)8.parse_str函数9.preg_replace函数10."."操作符11.file_put_contents函数12.通过PHP的动态函数PHP一句话木马免杀学习简单了
- Java基础教程 - 13 Java常用类
山石岐渡
Java基础教程java开发语言
更好的阅读体验:点这里(www.doubibiji.com)13Java常用类下面介绍一下在开发中,比较常用的类。13.1字符串因为字符串创建后就无法改变了,所以在进行字符串拼接的时候,建议使用StringBuffer和StringBuilder。使用举例:publicclassStringTest{publicstaticvoidmain(String[]args){//创建StringBuil
- 0124嵌入式第九天
obverd
数据结构嵌入式硬件排序算法算法
一、复习二、1.学习新函数---字符串拼接char*strcat(char*dest,constchar*src);2.比较字符串大小intstrcmp(constchar*s1,constchar*s2);3.字符串常用函数strlen--获取字符串长度strcpy--相当于字符串间赋值strcat--拼接字符串strcmp--比较字符串4.二维数组字符串的排序选择冒泡
- JAVA面试题20
CrazyMax_zh
java开发语言
Java中的String和StringBuffer、StringBuilder有什么区别?它们分别适用于什么场景?答案:String是不可变的,每次修改都会创建一个新的String对象;StringBuffer和StringBuilder是可变的,适合频繁的字符串拼接操作。String适用于不经常改变的字符串,StringBuffer适用于多线程环境,StringBuilder适用于单线程环境。什
- String类的常用功能
Yaml墨韵
java基础javaString
目录1.概述2.String的不可变性2.1说明2.2代码举例2.3图示3.String实例化的不同方式3.1方式说明3.2代码举例3.3面试题3.4图示4.字符串拼接方式赋值的对比4.1说明4.2代码举例5.常用方法:6.String与其它结构的转换6.1与基本数据类型、包装类之间的转换6.2与字符数组之间的转换6.3与字节数组之间的转换6.4与StringBuffer、StringBuilde
- 【Vue3】路由传参的几种方式
田本初
Vuevue.jsjavascript前端
路由导航有两种方式,分别是:声明式导航和编程式导航参数分为query参数和params参数两种声明式导航query参数一、路径字符串拼接(不推荐)1.传参在路由路径后直接拼接?参数名:参数值,多组参数间使用&分隔。如果参数值为变量,需要使用模版字符串。letstr="田本初"2.接收与使用//接收import{useRoute}from"vue-router"constroute=useRoute
- 字符串拼接实例
日记本的琉璃
excel中字符串拼接可以用&来实现,不过当要拼接的单元格较多时,这样显得很繁琐,此时我们可以用phonetic()函数来提高效率,如下面的例子:f2=PHONETIC(B2:E2)或者用&来拼接:f2==B2&C2&D2&E2得到下图:以后当我们遇到字符串拼接时,我们可以考虑一下phonetic()函数,提高我们的工作效率。
- SQL 精讲-MySql 常用函数,MySQL语句精讲和举例
梦断南楼
MySQL精讲sqlmysql数据库
FORMAT(数值,保留位数)四舍五入SELECT*,FORMAT(score/3,2)fromstudentROUND(数值,保留位数)四舍五入SELECTROUND(score/3,2)fromstudentCONCAT(字符串1,字符串2····)字符串拼接SELECTCONCAT(customer_name,'(',address,')')frommt_customerLEFT(字符串,长
- Linux中字符串使用单引号与双引号的区别
nuhao
linux运维服务器
一、单引号name='钱学森'str='我很崇拜$name'echo$str输出结果为:我很崇拜$name单引号字符串的限制:单引号里的任何字符都会原样输出,单引号字符串中的变量是无效的,单引号字串中不能出现单独一个的单引号(对单引号使用转义符后也不行),但可成对出现,作为字符串拼接使用。二、双引号name="钱学森"str="我很崇拜$name"echo$str输出结果为:我很崇拜钱学森双引号的
- C++字符串拼接的效率问题
默示MoS
玩转C++洛谷c++开发语言算法
文章目录一、前言二、常见的字符串拼接手段三、效率比较程序bug更改stringstream使用str()转换成string的时候是否有效率问题结论、一、前言在C++中,我们有很多处理字符串的方式,本文讨论这个问题主要是在算法比赛中,在处理大规模字符串的时候,如何去降低程序的运行时间,因为在算法中程序运行时间是很宝贵的,但是在实际的工作中我们往往只需要实现功能即可。二、常见的字符串拼接手段由于博主C
- Codeforces Round 921 (Div. 2)
clmm_
算法
A.WeGotEverythingCovered!题意:有任意由前k个字母组成的长度为n的字符串s1,你需要构建一个字符串s2,使s1恒为s2的子串(注意是子串,不是连续子串)分析:我们可以构造n组字符串,每组都包含前k个字母,把这n组字符串拼接起来就是答案。这题很重要,等会做C题会参考这题的思路inta[N];voidsolve(){intn,k;cin>>n>>k;while(n--){for
- 基于用户输入的动态生成图表php
php
range(1,count($numbers)),'y'=>$numbers];return$chartData;}/**根据用户输入生成图表标题*@paramstring$data用户输入的数据@returnstring图表标题*/functiongenerateTitle($data){//在这里根据用户输入的数据生成图表标题//可以使用字符串拼接、条件判断等方法//示例:假设用户输入的数据是
- Rust语言之字符串
名为逗比
Rustrust开发语言后端
文章目录一、字符二、字符串1.&str2.string创建字符串遍历字符串变更字符串指定位置插入字符串字符串拼接宏拼接(format!)三、切片1.字符串切片2.数组(向量)切片Rust语言设计官方教程一、字符Rust提供char为字符存储变量类型,与其他语言不同的是,char占4位,存储的是Unicode字符。由于Rust中限制比较严格,所以Ascii码和字符直接的转换需要指定每个数据的类型fn
- 【Make编译控制 07】CMake常用命令
AllinTome
Make编译控制makefilecmakemakeC++
目录一、变量相关命令1.定义变量2.设置C++标准3.设置输出路径二、文件相关命令1.file命令2.aux_source_directory命令2.include_directories命令三、字符串相关命令1.字符串输出2.字符串拼接3.字符串移除前情提示:【Make编译控制06】CMake初步使用-CSDN博客一、变量相关命令1.定义变量在CMake初步使用的例子中出现了3个源文件,假设这3
- JDBC:预编译Statement
KaveeDJ
使用PreparedStatement可以设置参数,不用字符串拼接,简化书写有预编译机制,性能比Statement更快可以防止SQL注入式攻击练习-性能比较向数据库中插入1000条数据,比较Statement和PreparedStatement的性能差异packagejdbc;importjava.sql.Connection;importjava.sql.DriverManager;import
- 【MySQL】字符串函数的学习
Aileen_0v0
MySQL自学篇mysql学习数据库
个人主页:Aileen_0v0热门专栏:华为鸿蒙系统学习|计算机网络|数据结构与算法个人格言:“没有罗马,那就自己创造罗马~”applicableto适用于文章目录`函数``字符串函数``常见的字符串函数``字符串拼接``字符串大小写转换``字符串左右填充``删除左右空格``字符串截取``Exercises:`函数字符串函数函数是指一段可以直接被另一段程序调用的程序或代码。通过函数我们可以利用数据
- 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编辑器的支持(包含自动提示,