- linux sdl windows.h,Windows下的SDL安装
奔跑吧linux内核
linuxsdlwindows.h
首先你要下载并安装SDL开发包。如果装在C盘下,路径为C:\SDL1.2.5如果在WINDOWS下。你可以按以下步骤:1.打开VC++,点击"Tools",Options2,点击directories选项3.选择"Includefiles"增加一个新的路径。"C:\SDL1.2.5\include"4,现在选择"Libaryfiles“增加"C:\SDL1.2.5\lib"现在你可以开始编写你的第
- visual studio编写jni踩坑
吉凶以情迁
这个东西说简单也简单,但是一不小心就如坑,以至于导致我多次踩坑都没成功,今天总算成功了!1、新建项目要使用空项目,否则有搞不完的坑等着你。2、添加java环境目录下的lib和lib\x86目录到工程的属性->配置属性->VC++目录->包含目录。3、配置属性生成格式为dll,而不是exe,4、配置输出的为x64而不是x86(你修改你会发现又要重新配置)5、头文件不用拖拽进去而是先放到项目目录然后添
- vs2010添加头文件与库文件搜索目录
weixin_30550081
c/c++
1添加头文件搜索目录项目属性->配置属性->C/C++->常规->添加包含目录2添加库文件搜索项目属性->配置属性->VC++目录->库目录转载于:https://www.cnblogs.com/mingzhang/p/10635885.html
- 使用PotPlayer播放器查看软解和硬解4K高清视频时的CPU及GPU占用情况
dvlinker
开源组件及数据库技术C/C++实战专栏PotPlayer视频播放器视频软解视频硬解CPUGPU
目录1、问题说明2、PotPlayer播放器介绍3、视频的软解与硬解4、使用PotPlayer查看4K高清视频软解和硬解时的CPU占用情况4.1、使用软解时CPU和GPU占用情况4.2、使用硬解时CPU和GPU占用情况5、最后VC++常用功能开发汇总(专栏文章列表,欢迎订阅,持续更新...)https://blog.csdn.net/chenlycly/article/details/124272
- c语言编程第一课,【北北的小程序】北のC语言第一课:helloworld
战神哥
c语言编程第一课
该楼层疑似违规已被系统折叠隐藏此楼查看此楼诶多!helloworld神马的,是我们要编写的第一个程序哟!话说第一课为什么不讲一些C语言的发展,优势什么的呢?因为LZ是java党!对C语言本身不是很了解,再加上,LZ作为一个年轻人,并不对这些东西感冒!(好学的同学如果想了解的话可以去自行度娘哟)C语言的代码编译器为VC++6.0VC++使用系列的东西老师在课上都会有提到,所以,安装VC++,创建工程
- C++程序使用 STL 容器发生异常的常见原因分析与总结
dvlinker
C/C++实战专栏STL容器迭代器删除元素遍历多线程memset操作
目录1、概述2、使用STL列表中的元素越界3、遍历STL列表删除元素时对迭代器自加处理有问题引发越界4、更隐蔽的遍历STL列表删除元素时引发越界的场景5、多线程同时操作STL列表时没有加锁导致冲突6、对包含STL列表对象的结构体进行memset操作导致STL列表对象内存出异常7、最后VC++常用功能开发汇总(专栏文章列表,欢迎订阅,持续更新...)https://blog.csdn.net/che
- Web安全之XSS跨站脚本攻击
Shadow_143
web安全安全渗透测试
1.XSS漏洞简介XSS攻击通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是JavaScript,但实际上也可以包括Java,VBScript,ActiveX,Flash或者甚至是普通的HTML。攻击成功后,攻击者可能得到更高的权限(如执行一些操作)、私密网页内容、会话和cookie等各种内容。2.XSS
- HFM深入技术学习系列之二--规则
Flora_Fang
HFMHFM
学习的路线学习如何写规则,从技术的角度看,从以下几点入手:0HFM合并报表的基本业务功能1规则的入口,即HFM是从哪里调用我们写的规则。2规则的基本语法,规则是用VBSCRIPT写的,这里所说的基本语法不是指的VBSCRIPT的语法,其实更多地是说规则里HS这个OBJECT和相关函数如何使用。3规则的深入应用HFM合并报表的基本业务功能HFM是一个专业性很强的软件,技术人员如果对其涉及到的财务-合
- VBA之正则表达式(3)-- 特殊公式计算
taller_2000
VBAExcel正则VBA正则公式替换计算
实例需求:数据保存在B列,其格式为规格1*数量1+规格2*数量2+...,现在需要统计数量总和,如C列所示。例如B3中明细为100*3+115*1对应的包装个数就是3+1。示例代码如下。SubRegExpDemo()DimstrTxtAsStringDimobjRegExAsObjectDimjAsIntegerSetobjRegEx=CreateObject("vbscript.regexp")
- VC++中CString和char*的相互转换
寒江孤影d
VC++c/c++
可参考的另外一篇文章:https://blog.csdn.net/luoweifu/article/details/20232379转自:https://blog.csdn.net/e_wsq/article/details/26307817网上转来的学习下1.传给未分配内存的constchar*(LPCTSTR)指针.CStringcstr(asdd);constchar*ch=(LPCTSTR
- 智能化脚本autoit v3的简单了解
weixin_30617561
操作系统
AutoItv3是一个类似BASIC脚本语言的免费软件,它设计用于WindowsGUI(图形用户界面)中进行自动化操作.利用模拟键盘按键,鼠标移动和窗口/控件的操作实现自动化任务.而这是其它语言不可能做到或无可靠方法实现的(比如VBScript和SendKeys).AutoIt非常小巧,完全运行在所有windows操作系统上.并且不需要任何运行库!AutoIt最初是为PC(个人电脑)的"批量处理"
- C#、ASP、ASP.NET、.NET、ASP.NET CORE区别、ASP.NET Core其概念和特点、ASP.NET Core个人心得体会
lijingguang
C#c#
C#是一种面向对象的编程语言,主要用于开发跨平台的应用程序。它是.NET框架的一部分,并且可以在.NET平台上运行。ASP(ActiveServerPages)是一种用于构建动态Web页面的技术,使用VBScript或JScript作为服务器端脚本语言。它是早期的Microsoft技术,现已逐渐过时。ASP.NET是微软推出的下一代Web应用程序开发技术,它提供了更强大、更高效的功能和工具。ASP
- Visual Studio Code &C++ on macOS
Hanbaxia
C++C++MACVSCODE环境搭建C++标准输入
一、预备知识1、理解mac环境的开发环境名称在开发环境中作用举例文本编辑器编写代码sublime,atom,visualstdiocode,nodepad++,vi/vim,emacs编译器文本编辑器写的代码翻译成机器代码链接器代码经编译二进制机器代码后,与系统提供的二进制库进行组合,生成一个可执行文件通常编译器和连接器一起的。vc/vc++,gcc/g++,clang+llvm项目管理工具管理程
- 开发首选bat脚本,省时省力!(写的不好,多多见谅)
ʚ小华
idea
作为开发人员,每天上班启动软件花费大把时间,写个脚本,一劳永逸!chcp65001@echooff::获取管理员权限::%1mshtavbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c%~s0::","","runas",1)(window.close)&&exit::start/d"C:\Users\2318
- Steam幻兽帕鲁搭建教程,如何选择服务器
汇博科技-栗子
服务器githubgit
如何选购服务器大家可以根据自己的需求选购,大家最好选用物理服务器,可以找我参考一下。1到6人建议使用16H32G的20带宽的。12人以上建议大家使用E5的CPU内存64G的带宽50起步的。大家在选择服务器商的时候一定要选择正规的拥有资质的,这样售后会有保证,服务器还会稳定。搭建前需要准备下载steamcmd客户端安装VC++环境安装DX运行环境下载和配置服务器更新steamcmd并下载游戏,首先我
- VBScript 常用脚本
iamsea
运行setobjShell=CreateObject("WScript.Shell")strCommandLine="C:\WJR\RTX.exe"objShell.Run(strCommandLine)模拟键盘输入setWshShell=CreateObject("WScript.Shell")'WshShell.SendKeys"+(^)"解压文件UnZip"待解压文件路径","接收解压文件目
- 【知识】浅谈xss攻击及如何简单的预防
小黑马i
什么是xss攻击?XSS攻击通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是JavaScript,但实际上也可以包括Java、VBScript、ActiveX、Flash或者甚至是普通的HTML。攻击成功后,攻击者可能得到包括但不限于更高的权限(如执行一些操作)、私密网页内容、会话和cookie等各种内容
- 在vs中使用外部库,C++链接库
可爱的小小小狼
C++c++开发语言
在vs中使用外部库:链接外部库(静态)使用外部库,需要.h文件.dll文件,我们需要将这两个文件的位置添加到vc++的包含目录和库目录,然后在链接器中的输入添加依赖。外部包含文件是使用#include"",包含文件时使用#include<>.(.dll文件是动态链接文件(动态链接将dll文件放置在工作目录),.lib是静态链接文件,使用时候会将代码复制到文件中)添加头文件路径告诉编译器在哪里可以找
- cmake 添加头文件目录,链接动态、静态库
雪域迷影
最近需要将Windows10系统下使用VS2017编译的VC++项目放到CentOSLinux服务器上跑,最简单的当然是使用cmake作为项目编译和管理工具了,这样就不需要写makefile了,使用cmake管理编译项目相对来说比较简单。遇到一个问题就是,由于我在CentOS7服务器上用的是普通用户账号,一些第三方库比如Boost库、yaml-cpp、mariadb、mariadb++、hired
- Python中使用opencv-python进行人脸检测
雪域迷影
OpenCVPython编程编程语言学习opencvpython人工智能
Python中使用opencv-python进行人脸检测之前写过一篇VC++中使用OpenCV进行人脸检测的博客。以数字图像处理中经常使用的lena图像为例,如下图所示:使用OpenCV进行人脸检测十分简单,OpenCV官网给了一个Python人脸检测的示例程序,objectDetection.py代码如下:from__future__importprint_functionimportcv2as
- ASP VBSCRIPT VBA RSA 公钥加密 私钥解密 私钥签名 公钥验签
todaygods
c#rsa加密解密opensslbase64
私钥解密,私钥签名->公钥验签ClassClass_Crypt_RsaPrivateTAsc,objRsaPrivatePrivateKey_,PublicKey_'@PrivateKey:Yourpersonalprivatekey.Keepthishidden.NeedC#format.PublicPropertyGetPrivateKeyPrivateKey=PrivateKey_EndPr
- VBA和VBScript的SHA2加密哈希算法
cxygs5788
数据结构与算法
介绍安全哈希算法2是由美国国家安全局(NSA)设计并由美国国家标准技术研究院(NIST)作为政府标准发布的一系列密码哈希算法。NIST目前正在进行一项竞赛,目的是为SHA-3寻找新的算法系列。这些新功能可能不一定源自SHA-2算法。MD5算法是使用最广泛的哈希算法之一,但是发现它存在很多弱点,因此强烈建议停止使用MD5。什么是SHA2SHA2是一种哈希算法。哈希算法基本上是一种输出固定长度的单向加
- Python中使用opencv-python库进行颜色检测
雪域迷影
OpenCVPython编程编程语言学习pythonopencv开发语言
Python中使用opencv-python库进行颜色检测之前写过一篇VC++中使用OpenCV进行颜色检测的博文,当然使用opencv-python库也可以实现。在Python中使用opencv-python库进行颜色检测非常简单,首选读取一张彩色图像,并调用函数imgHSV=cv2.cvtColor(img,cv2.COLOR_BGR2HSV);函数将原图img转换成HSV图像imgHSV,再
- VC++写的小游戏思想家源代码,锻炼大脑的最好的方法
程序员欧阳沐
VC++写的小游戏思想家源代码,好像是一款猜数据游戏,因时间关系这里没有亲自玩,游戏源程序可以VC6环境顺利编译,有人把本游戏称为“思想阅读者”,玩的投入的时候会感觉很有意思,对于从事VC++编程的朋友们,或许只会关注游戏内部的流程、代码实现等。源码目录结构图:部分源码展示(由于源码比较多,所以就不在此全部展示,需要的可以私信me):如果你想学c++编程可以私信小编,发送“01”获取源码或2019
- 快速进阶Web开发领域:发现ASP学习网站的无限可能!
知识分享小能手
学习心得体会编程语言如门前端学习数据库
介绍:ASP是一种服务器端脚本编程环境,由Microsoft公司开发,主要用于创建动态和交互式的网页以及构建功能强大的Web应用程序。以下是ASP的一些主要特点:服务器端脚本:ASP代码在服务器上执行,然后将结果以HTML为后缀名的形式发送到用户的浏览器。这意味着用户无法查看原始的ASP代码,只能看到由ASP生成的HTML内容。支持多种编程语言:ASP通常与VBScript或JavaScript配
- 最新计算机二级考试题库软件免费版
知识兔领取网课
要求平台:1、操作系统Win7专业版或旗舰版;2、安装科目所需环境软件,如:OFFICE20163、其他所需内容(.NETFramework4.0完整版及VC++动态库),软件已集成。特别注意:对于一、二级MSOFFICE要求系统没有安装过其他版本的OFFICE,如WPSOFFICE即:一、二级MSOFFICE软件与WPS不兼容。安装说明:软件分两部分安装,首先安装系统包,在安装系统包时,安装程序
- CUDA文件中无法打开源文件<stdio.h>
混元太极马保国
CUDAc++
问题描述VS2017创建cuda工程后无法打开stdio.h等c语言头文件;解决方案找到项目属性,vc++的包含目录加入vs版本对应的ucrt目录,注意是增加不是直接修改在运行库目录加入ucrt对应的lib库
- VC++ 崩溃处理以及打印调用堆栈
一叶障目
我们在程序发布后总会面临崩溃的情况,这个时候一般很难重现或者很难定位到程序崩溃的位置,之前有方法在程序崩溃的时候记录dump文件然后通过windbg来分析。那种方法对开发人员的要求较高,它需要程序员理解内存、寄存器等等一系列概念还需要手动加载对应的符号表。Java、Python等等语言在崩溃的时候都会打印一条异常的堆栈信息并告诉用户那块出错了,根据这个信息程序员可以很容易找到对应的代码位置并进行处
- VC++学习-控件篇(菜单栏)
IMURKR
VC++从入门到精通
编程环境:VS2013,MFC转自:MFC中向对话框中添加菜单栏方法https://blog.csdn.net/u012273127/article/details/71293088在MFC中一般基于对话框的MFC界面是没有菜单栏的,基于文档视图结构的MFC界面是有菜单栏的,那么怎么在基于对话框的MFC界面中添加菜单栏。菜单栏创建一、在资源视图中将menu加入资源视图中1、在MFC中新建一个基于对
- VC++添加菜单学习
bcbobo21cn
VC++单文档菜单rcrc2
新建一个单文档工程;完成以后看一下有没有出现如下图的资源视图的tab;如果没有,在文件列表中找到xxx.rc2文件;点击资源视图的tab,或者双击.rc2文件名,就会转到如下图的资源视图;然后展开Menu文件夹的节点,菜单可能有多个,IDR_MAINFRAME这个,就是单文档类型程序的主菜单;双击之,就会进入如下图的菜单设计的可视化操作界面,其中,文件()、编辑()、视图()、帮助()四个一级菜单
- java责任链模式
3213213333332132
java责任链模式村民告县长
责任链模式,通常就是一个请求从最低级开始往上层层的请求,当在某一层满足条件时,请求将被处理,当请求到最高层仍未满足时,则请求不会被处理。
就是一个请求在这个链条的责任范围内,会被相应的处理,如果超出链条的责任范围外,请求不会被相应的处理。
下面代码模拟这样的效果:
创建一个政府抽象类,方便所有的具体政府部门继承它。
package 责任链模式;
/**
*
- linux、mysql、nginx、tomcat 性能参数优化
ronin47
一、linux 系统内核参数
/etc/sysctl.conf文件常用参数 net.core.netdev_max_backlog = 32768 #允许送到队列的数据包的最大数目
net.core.rmem_max = 8388608 #SOCKET读缓存区大小
net.core.wmem_max = 8388608 #SOCKET写缓存区大
- php命令行界面
dcj3sjt126com
PHPcli
常用选项
php -v
php -i PHP安装的有关信息
php -h 访问帮助文件
php -m 列出编译到当前PHP安装的所有模块
执行一段代码
php -r 'echo "hello, world!";'
php -r 'echo "Hello, World!\n";'
php -r '$ts = filemtime("
- Filter&Session
171815164
session
Filter
HttpServletRequest requ = (HttpServletRequest) req;
HttpSession session = requ.getSession();
if (session.getAttribute("admin") == null) {
PrintWriter out = res.ge
- 连接池与Spring,Hibernate结合
g21121
Hibernate
前几篇关于Java连接池的介绍都是基于Java应用的,而我们常用的场景是与Spring和ORM框架结合,下面就利用实例学习一下这方面的配置。
1.下载相关内容: &nb
- [简单]mybatis判断数字类型
53873039oycg
mybatis
昨天同事反馈mybatis保存不了int类型的属性,一直报错,错误信息如下:
Caused by: java.lang.NumberFormatException: For input string: "null"
at sun.mis
- 项目启动时或者启动后ava.lang.OutOfMemoryError: PermGen space
程序员是怎么炼成的
eclipsejvmtomcatcatalina.sheclipse.ini
在启动比较大的项目时,因为存在大量的jsp页面,所以在编译的时候会生成很多的.class文件,.class文件是都会被加载到jvm的方法区中,如果要加载的class文件很多,就会出现方法区溢出异常 java.lang.OutOfMemoryError: PermGen space.
解决办法是点击eclipse里的tomcat,在
- 我的crm小结
aijuans
crm
各种原因吧,crm今天才完了。主要是接触了几个新技术:
Struts2、poi、ibatis这几个都是以前的项目中用过的。
Jsf、tapestry是这次新接触的,都是界面层的框架,用起来也不难。思路和struts不太一样,传说比较简单方便。不过个人感觉还是struts用着顺手啊,当然springmvc也很顺手,不知道是因为习惯还是什么。jsf和tapestry应用的时候需要知道他们的标签、主
- spring里配置使用hibernate的二级缓存几步
antonyup_2006
javaspringHibernatexmlcache
.在spring的配置文件中 applicationContent.xml,hibernate部分加入
xml 代码
<prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
<prop key="hi
- JAVA基础面试题
百合不是茶
抽象实现接口String类接口继承抽象类继承实体类自定义异常
/* * 栈(stack):主要保存基本类型(或者叫内置类型)(char、byte、short、 *int、long、 float、double、boolean)和对象的引用,数据可以共享,速度仅次于 * 寄存器(register),快于堆。堆(heap):用于存储对象。 */ &
- 让sqlmap文件 "继承" 起来
bijian1013
javaibatissqlmap
多个项目中使用ibatis , 和数据库表对应的 sqlmap文件(增删改查等基本语句),dao, pojo 都是由工具自动生成的, 现在将这些自动生成的文件放在一个单独的工程中,其它项目工程中通过jar包来引用 ,并通过"继承"为基础的sqlmap文件,dao,pojo 添加新的方法来满足项
- 精通Oracle10编程SQL(13)开发触发器
bijian1013
oracle数据库plsql
/*
*开发触发器
*/
--得到日期是周几
select to_char(sysdate+4,'DY','nls_date_language=AMERICAN') from dual;
select to_char(sysdate,'DY','nls_date_language=AMERICAN') from dual;
--建立BEFORE语句触发器
CREATE O
- 【EhCache三】EhCache查询
bit1129
ehcache
本文介绍EhCache查询缓存中数据,EhCache提供了类似Hibernate的查询API,可以按照给定的条件进行查询。
要对EhCache进行查询,需要在ehcache.xml中设定要查询的属性
数据准备
@Before
public void setUp() {
//加载EhCache配置文件
Inpu
- CXF框架入门实例
白糖_
springWeb框架webserviceservlet
CXF是apache旗下的开源框架,由Celtix + XFire这两门经典的框架合成,是一套非常流行的web service框架。
它提供了JAX-WS的全面支持,并且可以根据实际项目的需要,采用代码优先(Code First)或者 WSDL 优先(WSDL First)来轻松地实现 Web Services 的发布和使用,同时它能与spring进行完美结合。
在apache cxf官网提供
- angular.equals
boyitech
AngularJSAngularJS APIAnguarJS 中文APIangular.equals
angular.equals
描述:
比较两个值或者两个对象是不是 相等。还支持值的类型,正则表达式和数组的比较。 两个值或对象被认为是 相等的前提条件是以下的情况至少能满足一项:
两个值或者对象能通过=== (恒等) 的比较
两个值或者对象是同样类型,并且他们的属性都能通过angular
- java-腾讯暑期实习生-输入一个数组A[1,2,...n],求输入B,使得数组B中的第i个数字B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]
bylijinnan
java
这道题的具体思路请参看 何海涛的微博:http://weibo.com/zhedahht
import java.math.BigInteger;
import java.util.Arrays;
public class CreateBFromATencent {
/**
* 题目:输入一个数组A[1,2,...n],求输入B,使得数组B中的第i个数字B[i]=A
- FastDFS 的安装和配置 修订版
Chen.H
linuxfastDFS分布式文件系统
FastDFS Home:http://code.google.com/p/fastdfs/
1. 安装
http://code.google.com/p/fastdfs/wiki/Setup http://hi.baidu.com/leolance/blog/item/3c273327978ae55f93580703.html
安装libevent (对libevent的版本要求为1.4.
- [强人工智能]拓扑扫描与自适应构造器
comsci
人工智能
当我们面对一个有限拓扑网络的时候,在对已知的拓扑结构进行分析之后,发现在连通点之后,还存在若干个子网络,且这些网络的结构是未知的,数据库中并未存在这些网络的拓扑结构数据....这个时候,我们该怎么办呢?
那么,现在我们必须设计新的模块和代码包来处理上面的问题
- oracle merge into的用法
daizj
oraclesqlmerget into
Oracle中merge into的使用
http://blog.csdn.net/yuzhic/article/details/1896878
http://blog.csdn.net/macle2010/article/details/5980965
该命令使用一条语句从一个或者多个数据源中完成对表的更新和插入数据. ORACLE 9i 中,使用此命令必须同时指定UPDATE 和INSE
- 不适合使用Hadoop的场景
datamachine
hadoop
转自:http://dev.yesky.com/296/35381296.shtml。
Hadoop通常被认定是能够帮助你解决所有问题的唯一方案。 当人们提到“大数据”或是“数据分析”等相关问题的时候,会听到脱口而出的回答:Hadoop! 实际上Hadoop被设计和建造出来,是用来解决一系列特定问题的。对某些问题来说,Hadoop至多算是一个不好的选择,对另一些问题来说,选择Ha
- YII findAll的用法
dcj3sjt126com
yii
看文档比较糊涂,其实挺简单的:
$predictions=Prediction::model()->findAll("uid=:uid",array(":uid"=>10));
第一个参数是选择条件:”uid=10″。其中:uid是一个占位符,在后面的array(“:uid”=>10)对齐进行了赋值;
更完善的查询需要
- vim 常用 NERDTree 快捷键
dcj3sjt126com
vim
下面给大家整理了一些vim NERDTree的常用快捷键了,这里几乎包括了所有的快捷键了,希望文章对各位会带来帮助。
切换工作台和目录
ctrl + w + h 光标 focus 左侧树形目录ctrl + w + l 光标 focus 右侧文件显示窗口ctrl + w + w 光标自动在左右侧窗口切换ctrl + w + r 移动当前窗口的布局位置
o 在已有窗口中打开文件、目录或书签,并跳
- Java把目录下的文件打印出来
蕃薯耀
列出目录下的文件文件夹下面的文件目录下的文件
Java把目录下的文件打印出来
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2015年7月11日 11:02:
- linux远程桌面----VNCServer与rdesktop
hanqunfeng
Desktop
windows远程桌面到linux,需要在linux上安装vncserver,并开启vnc服务,同时需要在windows下使用vnc-viewer访问Linux。vncserver同时支持linux远程桌面到linux。
linux远程桌面到windows,需要在linux上安装rdesktop,同时开启windows的远程桌面访问。
下面分别介绍,以windo
- guava中的join和split功能
jackyrong
java
guava库中,包含了很好的join和split的功能,例子如下:
1) 将LIST转换为使用字符串连接的字符串
List<String> names = Lists.newArrayList("John", "Jane", "Adam", "Tom");
- Web开发技术十年发展历程
lampcy
androidWeb浏览器html5
回顾web开发技术这十年发展历程:
Ajax
03年的时候我上六年级,那时候网吧刚在小县城的角落萌生。传奇,大话西游第一代网游一时风靡。我抱着试一试的心态给了网吧老板两块钱想申请个号玩玩,然后接下来的一个小时我一直在,注,册,账,号。
彼时网吧用的512k的带宽,注册的时候,填了一堆信息,提交,页面跳转,嘣,”您填写的信息有误,请重填”。然后跳转回注册页面,以此循环。我现在时常想,如果当时a
- 架构师之mima-----------------mina的非NIO控制IOBuffer(说得比较好)
nannan408
buffer
1.前言。
如题。
2.代码。
IoService
IoService是一个接口,有两种实现:IoAcceptor和IoConnector;其中IoAcceptor是针对Server端的实现,IoConnector是针对Client端的实现;IoService的职责包括:
1、监听器管理
2、IoHandler
3、IoSession
- ORA-00054:resource busy and acquire with NOWAIT specified
Everyday都不同
oraclesessionLock
[Oracle]
今天对一个数据量很大的表进行操作时,出现如题所示的异常。此时表明数据库的事务处于“忙”的状态,而且被lock了,所以必须先关闭占用的session。
step1,查看被lock的session:
select t2.username, t2.sid, t2.serial#, t2.logon_time
from v$locked_obj
- javascript学习笔记
tntxia
JavaScript
javascript里面有6种基本类型的值:number、string、boolean、object、function和undefined。number:就是数字值,包括整数、小数、NaN、正负无穷。string:字符串类型、单双引号引起来的内容。boolean:true、false object:表示所有的javascript对象,不用多说function:我们熟悉的方法,也就是
- Java enum的用法详解
xieke90
enum枚举
Java中枚举实现的分析:
示例:
public static enum SEVERITY{
INFO,WARN,ERROR
}
enum很像特殊的class,实际上enum声明定义的类型就是一个类。 而这些类都是类库中Enum类的子类 (java.l