Blog

It's a Wonderful Life

How to Make Arc Theme Topbar Transparent

To make the top bar fully transparent in Gnome’s arguably most popular theme, Arc, It would only require a couple of changes in the gnome shell css:

Difference between HashMap and HashSet

HashSet is implementation of Set Interface which does not allow duplicate value. The main thing is, objects that are stored in HashSet must override equals() for check for equality and hashCode() m...

Adding two double values in Java

Today as I was doing modular tests, this is what result I got

Difference between ArrayList and LinkedList

ArrayList and LinkedList both implements List interface and maintains insertion order. Both are non synchronized classes.

Difference between List and Set in Java

List and Set both are interfaces. They both extends Collection interface. In this post we are discussing the differences between List and Set interfaces in java.

IFC与BFC

前端开发领域有两个很常用的术语,就是IFC和BFC。IFC,也就是inline formatting context(行内级格式化上下文),是在普通文档流中所有行内盒子参与的上下文,而相对的,BFC,也就是block formatting context(块级格式化上下文),则是所有块级盒子参与的上下文。下面分别进行探讨。

如何通过代码选中元素的文本

有时,可能有需要做“点击一个元素就选中元素内文本”的效果,可以通过以下代码实现:

fadeIn()函数与display属性的兼容

今天在做需求的时候遇到了一个问题

多文件上传时FileList对象不可变问题

首先简单介绍一下文件上传的基础:

如何给div元素绑定key事件

div元素默认是不能绑定onkeydown()事件的,这是因为div没有focus属性。