Java Object Layout(jol)

Java Object Layout(jol) http://bboniao.com/openjdk/2014-06/java-object-layoutjol.htm http://openjdk.java.net/projects/code-tools/jol/ hg clone http://hg.openjdk.java.net/code-tools/jol/ jol cd jol mvn clean install pom.xml添加依赖 org.openjdk.joljol-core1.0-SNAPSHOT代码 public static void main(String[] args) { int size

Spring 4 and JPA with Hibernate

Spring 4 and JPA with Hibernate http://www.baeldung.com/2011/12/13/the-persistence-layer-with-spring-3-1-and-jpa/ Table of Contents Overview The JPA Spring Configuration with Java The JPA Spring Configuration with XML Going full XML-less The Maven configuration Conclusion Overview This is tutorial shows how to set up Spring with JPA, using Hibernate as a persistence provider. For a step by step introduction about setting up the Spring context using Java based configuration and the basic Maven pom for the project, see this article.

西红柿土豆打卤面

西红柿土豆打卤面 西红柿切碎,土豆切粒,瘦肉切丁,尖椒切丝. 下油,先把肉放锅里炒,炒得肉发干以后放尖椒炒,放酱油翻炒,放土豆和西红柿~ 翻炒完以

JPA的视图查询

JPA的视图查询 http://blog.csdn.net/chaijunkun/article/details/8442406 本文出处: http://blog.csdn.net/chaijunkun/article/details/8442406,

JMC & Flight Recorder

‘JMC & Flight Recorder’ 从Java 7 Update 40之后,任务控制和Flight Recorder就将和JDK一起提供,正如InfoQ 在介绍它发布的新闻中所描述的那样。

聚簇索引 非聚簇索引

聚簇索引 非聚簇索引 http://blog.sina.com.cn/s/blog_6caea8bf0100z9wz.html 通常情况下,建立索引是加快查询速度的有效手段。但索引不是万能的,靠索引并不能实现对所有数据的快速存取。事实上,如果索引策

Grunt

Grunt 在Javascript的开发过程中,经常会遇到一些重复性的任务,比如合并文件、压缩代码、检查语法错误、将Sass代码转成CSS代码等等。通

JavaScript json 对象

JavaScript json 对象 http://www.cnblogs.com/tomxu/archive/2012/01/11/2311956.html 深入理解JavaScript系列 (9) : 根本没有"JSON对象"这回事! 前言 写这篇文章的目的是经常看到开发人员说:

萨蒂

萨蒂 http://baike.baidu.com/view/297181.htm SATIE 萨蒂生于1866年5月17日,死于1925年7月1日, 法国作曲家,六人团的前驱。 埃里克·萨蒂于1866年在法国下诺曼底卡尔瓦多斯省的

m2ts

m2ts http://baike.baidu.com/view/1951897.htm .m2ts 是一种视频文件格式 (container) 可支持多任务的影音流。 m2ts架构于MPEG transport stream 以及著名的 BDAV MPEG-2 transport stream. 这种文件格式多支持于高清的 Blu-ray Disc 与 AVCHD。DV

fdisk for linux

fdisk for linux 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 sudo fdisk -l sudo fdisk /dev/sdb p (print the partition table) d (delete partition) n (create partition) p (primary) enter (default first sector) enter (default last sector) t 83 (config partition type,83 (Linux)) c W95 FAT32 (LBA) 7 HPFS/NTFS/exFAT a (set bootable) w

linux disk format, mkfs,mke2fs 格式化磁盘

linux disk format, mkfs,mke2fs 格式化磁盘 1 2 3 4 5 sudo mkfs.msdos -F 32 /dev/sdx1 mkfs.ntfs -Q -L diskLabel /dev/sdXY #查看文件系统备份Superblock mke2fs -n /dev/sdb mkfs 命令 linux格式化磁盘命令 linux mkfs 指令: mkfs 使用权

respberry pi error

respberry pi error omxplayer.bin: SubtitleRenderer.cpp:154: SubtitleRenderer::load_glyph(SubtitleRenderer::InternalChar)::<lambda(FT_Face, VGFont, bool)>: Assertion `!vgGetError()’ failed. /usr/bin/omxplayer: line 67: 5199 Aborted LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}” $OMXPLAYER_BIN “$@” run raspi-config and up the gpu mem to 128 https://www.raspberrypi.org/forums/viewtopic.php?f=35&t=19979&start=25

linux emacs 乱码

linux emacs 乱码 其实就是编码字符不是utf-8的问题导致。什么年代了,这么多软件也不往通用标准靠,非要使用所谓的中文编码。射手网下载的东西几乎都是这

systemd, systemctl basic, command

systemd, systemctl basic, command Systemd 是 Linux 系统中最新的初始化系统 (init),它主要的设计目标是克服 sysvinit 固有的缺点,提高系统的启动速度 –now 1 2 # enable and start service0 systemctl --now enable service0 Systemd 特性 系统引

debian command

debian command 1 2 3 4 5 6 7 8 9 # list installed package dpkg --list # remove package apt-get remove foo # ping, command not found apt-get install inetutils-ping dpkg-reconfigure tzdata