Skip to content

Instantly share code, notes, and snippets.

@jjqq2013
jjqq2013 / grub.cfg
Created October 24, 2018 02:59 — forked from Pysis868/grub.cfg
My own configuration file for GRUB2 to boot various live distributions of Linux-based operating systems, along with some system tools. I tried to include a lot of sample configuration entries, even if I don't currently use them, so it may help others. Exceedingly long blog post: http://tehfishyblog.logdown.com/chips/306146-a-homemade-ultimate-bo…
# Config for GNU GRand Unified Bootloader (GRUB) (2)
# /boot/grub/grub.cfg
# or
# /boot/grub2/grub.cfg
# This grub.cfg file was created by Lance http://www.pendrivelinux.com
# Suggested Entries and the suggestor, if available, will also be noted.
# and then improved by Pysis.
@jjqq2013
jjqq2013 / deepEquals.java
Last active March 26, 2016 15:47
deep compare java bean, generic List, array
/**
* deep compare java bean, generic List, array
* @param obj1
* @param obj2
* @return
*/
private boolean deepEquals(Object obj1, Object obj2) {
if ((obj1 == null) != (obj2 == null))
return false;
if (obj1 == null)