- 小猿圈讲解Linux运维工程师日常工作(一)
小猿圈IT教育
前几天发了Java日常和前端日常需要注意的一些问题,很多网友私信我说可不可以写一些关于Linux运维工程师的日常工作,今天就为大家准备了一些,希望对你有所帮助接下来就看小猿圈Linux讲师给你整理的一些关于linux日常工作的问题吧。一、什么是大型网站运维?首先明确一下,全文所讲的”运维“是指:大型网站运维,与其它运维的区别还是蛮大的;所以,非常重要一定需要明白:运维对其它关联工种必须非常了解熟悉
- java日常DAY013
月高高心寥寥
这是用记录java学习记录的第一天,之前使用知乎,封了我几次,还删我文章,不再用了。今天学习了多线程的内容:1.通过继承Thread类实现多线程通过继承Thread类实现多线程的步骤1.在Java中负责实现线程功能的类是java.lang.Thread类。2.可以通过创建Thread的实例来创建新的线程。3.每个线程都是通过某个特定的Thread对象所对应的方法run()来完成其操作的,方法run
- 后端Java日常实习生面试(七牛云2023年11月14日)
无敌少年小旋风
面试题java面试开发语言
面试岗位为:Java后端开发实习生面试时长:60分钟面试时间:2023年11月14日首先做一下简单的自我介绍吧面试官说先来说一下Java基础吧多态了解吗?(了解,一个行为有不同的表现形式)知道编译时多态和运行时多态吗?(其实当时并不知道,就给面试官说没了解过,但是根据名字可以大概知道这两个东西是什么,编译时多态就是在编译器就已经确定好了实现类的类型,运行时多态是在运行时才可以确定实现类是哪个,需要
- Java中List集合的三种遍历方式
一块自由的砖
背景List集合在Java日常开发中是必不可少的,从网络上收集了三种List集合的遍历方式。创建一个实体类,以供List使用publicclassNews{privateintid;privateStringtitle;privateStringauthor;publicNews(intid,Stringtitle,Stringauthor){super();this.id=id;this.tit
- JAVA日常刷题
小谢在努力
Java牛客网刷题java算法
꒰˃͈꒵˂͈꒱writeinfront꒰˃͈꒵˂͈꒱ʕ̯•͡˔•̯᷅ʔ大家好,我是xiaoxie.希望你看完之后,有不足之处请多多谅解,让我们一起共同进步૮₍❀ᴗ͈.ᴗ͈ა本文由xiaoxieʕ̯•͡˔•̯᷅ʔ原创CSDN如需转载还请通知˶⍤⃝˶个人主页:xiaoxieʕ̯•͡˔•̯᷅ʔ—CSDN博客系列专栏:xiaoxie的Java学习系列专栏——CSDN博客●'ᴗ'σσணღ*我的目标:"团团等
- 后端Java日常实习生面试(2023年11月10日)
无敌少年小旋风
面试总结java面试开发语言
面试岗位为:Java后端开发实习生面试时长:30分钟面试时间:2023年11月10日首先介绍一下项目吧这里介绍时有一个失误,没有主动把屏幕共享给打开,因为我在面试之前已经在processon上画好了项目的流程图,如果把屏幕共享打开的话,给面试官介绍着,会让面试官更容易理解,这个很重要!一定记着用流程图给面试官介绍!我的两个项目分别是:手写rpc(Guide哥)和API网关项目(小傅哥),介绍项目时
- Java日常开发小技能点大纲
OUO~
javaocrredisexcelpdfword
文章目录Java后端(基础篇)封装,继承,多态的基本了解与运用基本数据类型的划分以及其封装类String类的日常使用数组以及集合的使用条件控制,循环结构的了解文件相关,如字符字节流,缓存流的使用时间相关:如判断区间,加减时树形结构得产生与构造AOP得了解运用Strem流得基本使用反射机制得日常使用日常工作实践篇Word模板得生成,导入Excel模板生成,导入Word转PDF生成附件统一配置管理(上
- Java开发日常-遇到的问题及解决方案
学Java的实习生
javaspringboot开发语言面试idea数据库
Java日常开发中的问题以及解决方案SpringBoot篇jdk与SpringBoot版本不兼容问题静态资源访问异常问题(404)SpringBoot中登录与权限认证登录所用技术与框架:设计思路实现流程:权限处理数据库设计设计思路代码实现常用基础知识获取当前springboot工程的classpath路径Java基础篇系统环境变量中配置了JAVA_HOME为1.8版本,与cmd窗口执行java-v
- 【刷题】Java日常刷题1
小花睡不醒
刷题java刷题
A.SorttheSubarray题意:给出一个数组,一个在此基础上被操作过的数组,找出被操作过的最长的非递减连续序列。题解:这道题最开始写就被给的样例迷惑了,给出的样例都是被操作过出现非递减序列的片段,因此我就直接去看第二个数组,找它的最长非递减连续序列了。但是题意中还有提到一层意思,如果找出的非递减序列没被操作过,就不能作为答案。所以不能但看第二个数组,还要比对第一个数组找出被操作的地方,再找
- RxJava日常使用总结(六)辅助操作
h2coder
本篇介绍RxJava的辅助操作。例如Delay延时,Doxx系列事件钩子,线程切换等。delay操作符延迟一段指定的时间再发射来自Observable的发射物。就是推迟指定发射Observable的事件。image.pngObservable.fromIterable(mItems).delay(1,TimeUnit.SECONDS).as(RxLifecycleUtil.bindLifecycl
- Java日常的String、Date、计算问题
Jun South
java开发语言
一、String相关类三者执行速度:StringBuilder>StringBuffer>String1.1、String每次对String类型改变的时,都会生成一个新的String对象,指针指向新的String对象。适用于字符串不常变的,少量的数据场景中,例如常量的声明、少量的变量运算...等。1.2、StringBuilder对象可以直接进行修改,不会生成新的对象。适用于单线程频繁进行字符串运
- 【jvm】用户自定义类加载器
王佑辉
jvmjvm
目录一、说明二、优点三、实现步骤四、ClassLoader五、获取ClassLoader的途径一、说明1.java日常应用开发中,类的加载几乎是引导类加载器、系统类加载器和扩展类加载器3种类加载器相互配合执行的2.必要时,用户是可以自定义类加载器,来定制类的加载方式二、优点1.隔离加载类2.修改类加载方式3.扩展加载源4.防止源码泄露三、实现步骤1.开发人员通过继承抽象类java.lang.Cla
- Java的Reflect记录
java
Java日常记录作者:LinkSystemJava2017/04/27对于Java的内部类,我们注意ClassName的表达方法:package.Classname$InnerClass,其原因是内部类编译后是ClassName$InnerClass.class文件。代码如下publicclassReflectExplain{staticclassNode{publicdoublei;public
- 【刷题】Java日常刷题2
小花睡不醒
java刷题算法java刷题
A.PlusandMultiply题意:题解:代码:B.AirConditioner题意:共t组数据,给你n个人和初始温度m,输入n行,每行有三个数到店时间t、这个人能承受的温度范围l和r。要你在顾客到店时使店内温度能够在它对应的适应温度内,每分钟可以调高1°,调低1°或者不调,问你是否能够让所有人都爽到。题解:这个题就是在问你空调调节温度范围与顾客能承受的温度区间内有没有交集,如果有一个人和空调
- javaSE,javaEE,javaME的区别
单行梦想家
Javajava-eejava
1.JavaSE(JavaPlatform,StandardEdition,又称J2SE),可以理解为Java标准版本这个版本的jdk通常包含了Java日常开发使用的基本类,允许开发和部署在桌面、服务器、嵌入式环境和实时环境中中使用(主要是C/S架构软件),包含了许多构成Java语言的核心类,例如:数据库连接,接口定义,输入输出,网络编程等,能够满足我们日常基本开发需求,同时,它也是JavaSE也
- 工具百宝箱(1)— Java日常问题诊断方法
王亚普
日志检索#检索exception关键字或error关键字grep-E"exception|error"app.log#显示关键字上下10行日志grep-C10exceptionapp.log#检索2020-05-0519:23~25分钟段日志grep'2020-05-0519:2[3-5]'app.logsed-n'/2020-05-0519:23/,/2020-05-0519:25/p'app.
- java日常常见的几种安全问题
lixia0417mul2
java工具类java安全开发语言
背景:日常工作中,我们总是需要关注项目的安全问题,本文就来简单介绍下日常中经常遇到的几种安全问题以及解决措施常见安全问题1.sql注入导致sql注入的原因大部分是因为sql拼接导致的,比如通过用户id查询用户的记录,正常的sql如下:select*fromuserwhereuser_id=1234被sql注入后的sql如下:select*fromuserwhereuser_id=1234or1=1
- JAVA日常练习 ——练习7 图形用户界面设计及事件响应
幸存者letp
JAVA知识池java开发语言
1.事件处理:简单计算器实现【问题描述】实现一个简单的计算器,前面是一个文本框(操作数1),后面是标签(操作符),再后面是一个文本框(操作数2),然后是一个"="按钮(JButton),最后是一个文本框(结果)(1)实现按钮ActionEvent事件的处理,点击等号获取计算结果,并显示在最后一个文本框;(2)实现第二个文本框的ActionEvent事件处理,在第二个文本框按回车,直接获得计算结果,
- Java日常积累
enjoy_muming
1.类的成员变量默认初始化,局部变量默认不会初始化,未初始化使用编译不通过;未初始化和null有区别。
- java日常练习题day01
天 阳 在 线€
javaSE
1.猜字母游戏1.随机生成5个字母->字符数组2.用户猜字母->控制台猜->字符数组3.两个字符数组比较,字母正确个数,位置正确个数4.用户猜不对,重复2和3packageday04.game;importjava.util.Arrays;importjava.util.Scanner;/**1.随机生成5个字母->字符数组*2.用户猜字母->控制台猜->字符数组*3.两个字符数组比较,字母正确个
- JAVA日常练习
归115
java开发语言算法
字符串练习第一题。(大数加法)描述以字符串的形式读入两个数字,编写一个函数计算它们的和,以字符串形式返回。例如输入"1",“99”,返回"100"。对于这道题。我们数学思维是从个位开始相加,如果超10就进1,于是我们可以利用库函数先拿到最后一个字符。s.length()-1;然后s.CharAt(s.length()-1)拿到最后一个子串,然后定义一个进位代表。如下图,当不满足i>=0||j>=0
- Java日常学习总结并发进阶之锁与同步篇
WeiTanOri
Java日常学习总结并发进阶之锁与同步篇创建一个新线程的三种方法通过Runnable接口创建线程类定义runnable接口的实现类,并重写该接口的run()方法,该run()方法的方法体同样是该线程的线程执行体。创建Runnable实现类的实例,并依此实例作为Thread的target来创建Thread对象,该Thread对象才是真正的线程对象。调用线程对象的start()方法来启动该线程。pub
- Java日常打卡笔记04
「已注销」
java
学习视频字符串连接符+,StringSystem.out.println(""+a+b);//拼接System.out.println(a+b+"");//运算包机制一般利用公司域名倒置作为包名com.baidu.wwwJava流程控制用户交互Scanner顺序结构选择结构循环结构break&continueScanner对象通过Scanner类来获取用户输入。基本语法:Scanners=newS
- Java日常学习018(属性的封装)
追忆 往昔
笔记学习java
学习目标:认识属性的封装学习内容:packagecom.qf.lzp;importjavax.naming.Name;importjava.util.Scanner;/**封装性*如果属性没有封装,那么在本类之外的创建对象后,可以直接访问属性**/publicclassObject002{publicstaticvoidmain(String[]args){Studentstudent1=newS
- JAVA日常学习036(Object类与其方法的重写)
追忆 往昔
笔记java学习
学习目标:/**Object类是类层次结构的跟类,每个类都使用Object作为超类。所有对象(包括数组)都实现这个类的方法。*/学习内容:packageTest;/**Object类是类层次结构的跟类,每个类都使用Object作为超类。所有对象(包括数组)都实现这个类的方法。*/publicclassTest015{publicstaticvoidmain(String[]args){Studen
- Java日常学习016(基于方法与数组学习所制作的小游戏之双色球)
追忆 往昔
笔记学习java
学习目标:基于方法与数组学习所制作的双色球小游戏学习内容:packagecom.qf.lzp;importjava.util.Arrays;importjava.util.Random;importjava.util.Scanner;publicclassGame01{//双色球游戏/***1、用户选择是机选还是手选号码*2、接收用户选号(6红1蓝)*3、生成系统号码(6红1蓝)*4、比较系统号码
- JAVA日常学习035(策略模式)
追忆 往昔
笔记策略模式java学习
学习目标:/**策略模式:定义了一系列的算法,将每一种算法封装起来并可以相互替换使用策略模式让算法独立于使用它的客户应用而独立变化把可变的行为抽象出来,好处是在真正使用时可以相互替换*/学习内容:packagecom.qf.lzp;publicclassMode03{publicstaticvoidmain(String[]args){BaseServiceuser=newUserService(
- 必须要学习的源码--HashMap
Java技术那些事儿
java面试哈希算法后端
简单介绍什么是HashMap?HashMap是Java日常开发常用的一个集合类。Map集合即Key-Value的集合,前面加个Hash,即散列,无序的。所以HashMap是一个用于存储Key-Value键值对的无序集合,每一个键值对也叫做Entry。HashMap的特性这里我们先做回答,解决几个面试常问的HashMap问题,借此方式来初步了解HashMap的特性。HashMap的底层是怎么实现的?
- 百度日常实习一面面经(Java后端)
I an
笔记前端java缓存
岗位:百度ACG物联网部门后端开发Java日常实习 面试轮次:技术面一面一、项目相关(JavaNetty)NIO模型和BIO模型 BIO(blockingI/O),同步阻塞式I/O,即客户端与服务器建立一个连接时,服务器就会启动一个线程去进行处理,如果该连接上没有I/O请求,则负责处理该连接的线程就会发生阻塞。 NIO(no-blockingI/O),同步非阻塞式I/O,即当客户端与服务
- java日常学习
xiongzhihao
java
项目实战:秒杀:spring-boot-seckill:从0到1构建分布式秒杀系统,脱离案例讲架构都是耍流氓,交流群:933593697RuoYi:基于SpringBoot的权限管理系统易读易懂、界面简洁美观。核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用logback:掘金SpringBoot日志配置(超详细)_inke的博客-CSDN博客_spring
- Spring的注解积累
yijiesuifeng
spring注解
用注解来向Spring容器注册Bean。
需要在applicationContext.xml中注册:
<context:component-scan base-package=”pagkage1[,pagkage2,…,pagkageN]”/>。
如:在base-package指明一个包
<context:component-sc
- 传感器
百合不是茶
android传感器
android传感器的作用主要就是来获取数据,根据得到的数据来触发某种事件
下面就以重力传感器为例;
1,在onCreate中获得传感器服务
private SensorManager sm;// 获得系统的服务
private Sensor sensor;// 创建传感器实例
@Override
protected void
- [光磁与探测]金吕玉衣的意义
comsci
这是一个古代人的秘密:现在告诉大家
信不信由你们:
穿上金律玉衣的人,如果处于灵魂出窍的状态,可以飞到宇宙中去看星星
这就是为什么古代
- 精简的反序打印某个数
沐刃青蛟
打印
以前看到一些让求反序打印某个数的程序。
比如:输入123,输出321。
记得以前是告诉你是几位数的,当时就抓耳挠腮,完全没有思路。
似乎最后是用到%和/方法解决的。
而今突然想到一个简短的方法,就可以实现任意位数的反序打印(但是如果是首位数或者尾位数为0时就没有打印出来了)
代码如下:
long num, num1=0;
- PHP:6种方法获取文件的扩展名
IT独行者
PHP扩展名
PHP:6种方法获取文件的扩展名
1、字符串查找和截取的方法
1
$extension
=
substr
(
strrchr
(
$file
,
'.'
), 1);
2、字符串查找和截取的方法二
1
$extension
=
substr
- 面试111
文强chu
面试
1事务隔离级别有那些 ,事务特性是什么(问到一次)
2 spring aop 如何管理事务的,如何实现的。动态代理如何实现,jdk怎么实现动态代理的,ioc是怎么实现的,spring是单例还是多例,有那些初始化bean的方式,各有什么区别(经常问)
3 struts默认提供了那些拦截器 (一次)
4 过滤器和拦截器的区别 (频率也挺高)
5 final,finally final
- XML的四种解析方式
小桔子
domjdomdom4jsax
在平时工作中,难免会遇到把 XML 作为数据存储格式。面对目前种类繁多的解决方案,哪个最适合我们呢?在这篇文章中,我对这四种主流方案做一个不完全评测,仅仅针对遍历 XML 这块来测试,因为遍历 XML 是工作中使用最多的(至少我认为)。 预 备 测试环境: AMD 毒龙1.4G OC 1.5G、256M DDR333、Windows2000 Server
- wordpress中常见的操作
aichenglong
中文注册wordpress移除菜单
1 wordpress中使用中文名注册解决办法
1)使用插件
2)修改wp源代码
进入到wp-include/formatting.php文件中找到
function sanitize_user( $username, $strict = false
- 小飞飞学管理-1
alafqq
管理
项目管理的下午题,其实就在提出问题(挑刺),分析问题,解决问题。
今天我随意看下10年上半年的第一题。主要就是项目经理的提拨和培养。
结合我自己经历写下心得
对于公司选拔和培养项目经理的制度有什么毛病呢?
1,公司考察,选拔项目经理,只关注技术能力,而很少或没有关注管理方面的经验,能力。
2,公司对项目经理缺乏必要的项目管理知识和技能方面的培训。
3,公司对项目经理的工作缺乏进行指
- IO输入输出部分探讨
百合不是茶
IO
//文件处理 在处理文件输入输出时要引入java.IO这个包;
/*
1,运用File类对文件目录和属性进行操作
2,理解流,理解输入输出流的概念
3,使用字节/符流对文件进行读/写操作
4,了解标准的I/O
5,了解对象序列化
*/
//1,运用File类对文件目录和属性进行操作
//在工程中线创建一个text.txt
- getElementById的用法
bijian1013
element
getElementById是通过Id来设置/返回HTML标签的属性及调用其事件与方法。用这个方法基本上可以控制页面所有标签,条件很简单,就是给每个标签分配一个ID号。
返回具有指定ID属性值的第一个对象的一个引用。
语法:
&n
- 励志经典语录
bijian1013
励志人生
经典语录1:
哈佛有一个著名的理论:人的差别在于业余时间,而一个人的命运决定于晚上8点到10点之间。每晚抽出2个小时的时间用来阅读、进修、思考或参加有意的演讲、讨论,你会发现,你的人生正在发生改变,坚持数年之后,成功会向你招手。不要每天抱着QQ/MSN/游戏/电影/肥皂剧……奋斗到12点都舍不得休息,看就看一些励志的影视或者文章,不要当作消遣;学会思考人生,学会感悟人生
- [MongoDB学习笔记三]MongoDB分片
bit1129
mongodb
MongoDB的副本集(Replica Set)一方面解决了数据的备份和数据的可靠性问题,另一方面也提升了数据的读写性能。MongoDB分片(Sharding)则解决了数据的扩容问题,MongoDB作为云计算时代的分布式数据库,大容量数据存储,高效并发的数据存取,自动容错等是MongoDB的关键指标。
本篇介绍MongoDB的切片(Sharding)
1.何时需要分片
&nbs
- 【Spark八十三】BlockManager在Spark中的使用场景
bit1129
manager
1. Broadcast变量的存储,在HttpBroadcast类中可以知道
2. RDD通过CacheManager存储RDD中的数据,CacheManager也是通过BlockManager进行存储的
3. ShuffleMapTask得到的结果数据,是通过FileShuffleBlockManager进行管理的,而FileShuffleBlockManager最终也是使用BlockMan
- yum方式部署zabbix
ronin47
yum方式部署zabbix
安装网络yum库#rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm 通过yum装mysql和zabbix调用的插件还有agent代理#yum install zabbix-server-mysql zabbix-web-mysql mysql-
- Hibernate4和MySQL5.5自动创建表失败问题解决方法
byalias
J2EEHibernate4
今天初学Hibernate4,了解了使用Hibernate的过程。大体分为4个步骤:
①创建hibernate.cfg.xml文件
②创建持久化对象
③创建*.hbm.xml映射文件
④编写hibernate相应代码
在第四步中,进行了单元测试,测试预期结果是hibernate自动帮助在数据库中创建数据表,结果JUnit单元测试没有问题,在控制台打印了创建数据表的SQL语句,但在数据库中
- Netty源码学习-FrameDecoder
bylijinnan
javanetty
Netty 3.x的user guide里FrameDecoder的例子,有几个疑问:
1.文档说:FrameDecoder calls decode method with an internally maintained cumulative buffer whenever new data is received.
为什么每次有新数据到达时,都会调用decode方法?
2.Dec
- SQL行列转换方法
chicony
行列转换
create table tb(终端名称 varchar(10) , CEI分值 varchar(10) , 终端数量 int)
insert into tb values('三星' , '0-5' , 74)
insert into tb values('三星' , '10-15' , 83)
insert into tb values('苹果' , '0-5' , 93)
- 中文编码测试
ctrain
编码
循环打印转换编码
String[] codes = {
"iso-8859-1",
"utf-8",
"gbk",
"unicode"
};
for (int i = 0; i < codes.length; i++) {
for (int j
- hive 客户端查询报堆内存溢出解决方法
daizj
hive堆内存溢出
hive> select * from t_test where ds=20150323 limit 2;
OK
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
问题原因: hive堆内存默认为256M
这个问题的解决方法为:
修改/us
- 人有多大懒,才有多大闲 (评论『卓有成效的程序员』)
dcj3sjt126com
程序员
卓有成效的程序员给我的震撼很大,程序员作为特殊的群体,有的人可以这么懒, 懒到事情都交给机器去做 ,而有的人又可以那么勤奋,每天都孜孜不倦得做着重复单调的工作。
在看这本书之前,我属于勤奋的人,而看完这本书以后,我要努力变成懒惰的人。
不要在去庞大的开始菜单里面一项一项搜索自己的应用程序,也不要在自己的桌面上放置眼花缭乱的快捷图标
- Eclipse简单有用的配置
dcj3sjt126com
eclipse
1、显示行号 Window -- Prefences -- General -- Editors -- Text Editors -- show line numbers
2、代码提示字符 Window ->Perferences,并依次展开 Java -> Editor -> Content Assist,最下面一栏 auto-Activation
- 在tomcat上面安装solr4.8.0全过程
eksliang
Solrsolr4.0后的版本安装solr4.8.0安装
转载请出自出处:
http://eksliang.iteye.com/blog/2096478
首先solr是一个基于java的web的应用,所以安装solr之前必须先安装JDK和tomcat,我这里就先省略安装tomcat和jdk了
第一步:当然是下载去官网上下载最新的solr版本,下载地址
- Android APP通用型拒绝服务、漏洞分析报告
gg163
漏洞androidAPP分析
点评:记得曾经有段时间很多SRC平台被刷了大量APP本地拒绝服务漏洞,移动安全团队爱内测(ineice.com)发现了一个安卓客户端的通用型拒绝服务漏洞,来看看他们的详细分析吧。
0xr0ot和Xbalien交流所有可能导致应用拒绝服务的异常类型时,发现了一处通用的本地拒绝服务漏洞。该通用型本地拒绝服务可以造成大面积的app拒绝服务。
针对序列化对象而出现的拒绝服务主要
- HoverTree项目已经实现分层
hvt
编程.netWebC#ASP.ENT
HoverTree项目已经初步实现分层,源代码已经上传到 http://hovertree.codeplex.com请到SOURCE CODE查看。在本地用SQL Server 2008 数据库测试成功。数据库和表请参考:http://keleyi.com/a/bjae/ue6stb42.htmHoverTree是一个ASP.NET 开源项目,希望对你学习ASP.NET或者C#语言有帮助,如果你对
- Google Maps API v3: Remove Markers 移除标记
天梯梦
google maps api
Simply do the following:
I. Declare a global variable:
var markersArray = [];
II. Define a function:
function clearOverlays() {
for (var i = 0; i < markersArray.length; i++ )
- jQuery选择器总结
lq38366
jquery选择器
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
- 基础数据结构和算法六:Quick sort
sunwinner
AlgorithmQuicksort
Quick sort is probably used more widely than any other. It is popular because it is not difficult to implement, works well for a variety of different kinds of input data, and is substantially faster t
- 如何让Flash不遮挡HTML div元素的技巧_HTML/Xhtml_网页制作
刘星宇
htmlWeb
今天在写一个flash广告代码的时候,因为flash自带的链接,容易被当成弹出广告,所以做了一个div层放到flash上面,这样链接都是a触发的不会被拦截,但发现flash一直处于div层上面,原来flash需要加个参数才可以。
让flash置于DIV层之下的方法,让flash不挡住飘浮层或下拉菜单,让Flash不档住浮动对象或层的关键参数:wmode=opaque。
方法如下:
- Mybatis实用Mapper SQL汇总示例
wdmcygah
sqlmysqlmybatis实用
Mybatis作为一个非常好用的持久层框架,相关资料真的是少得可怜,所幸的是官方文档还算详细。本博文主要列举一些个人感觉比较常用的场景及相应的Mapper SQL写法,希望能够对大家有所帮助。
不少持久层框架对动态SQL的支持不足,在SQL需要动态拼接时非常苦恼,而Mybatis很好地解决了这个问题,算是框架的一大亮点。对于常见的场景,例如:批量插入/更新/删除,模糊查询,多条件查询,联表查询,