1.application.conf中配置数据库: db.default.driver=com.mysql.jdbc.Driver db.default.url="mysql://root:secret@localhost/myDatabase"2.添加依赖val appDependencies ....
分类:
数据库 时间:
2014-08-02 20:48:44
阅读次数:
200
[root@localhost ~]# mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video1:outfmt=0x34363248 -fps 24
MPlayer SVN-r35234-4.7.2 (C) 2000-2012 MPlayer Team
mplayer: could not connect to...
分类:
其他好文 时间:
2014-08-02 18:23:13
阅读次数:
817
众所周知,进程调度使用schedule()函数来完成,下面我们从分析该函数开始,代码如下(kernel/sched/core.c):1 asmlinkage __visible void __sched schedule(void)2 {3 struct task_struct *tsk =...
分类:
系统相关 时间:
2014-08-02 17:58:03
阅读次数:
396
Because there are numerous revisions and releases of theLinuxkerneland new ones are developed at frequent intervals, it is important to have a system ...
分类:
系统相关 时间:
2014-08-02 15:13:33
阅读次数:
335
linux kernel/user mode data struct learning
分类:
系统相关 时间:
2014-08-02 12:33:23
阅读次数:
564
[liuhan@liuhan-pc ~]$ cat /etc/issueFedora release 20 (Heisenbug)Kernel \r on an \m (\l)[liuhan@liuhan-pc ~]$ cat /proc/versionLinux version 3.15.6-20...
分类:
其他好文 时间:
2014-08-02 04:00:43
阅读次数:
185
1、构建Spark Application运行环境;在Driver Program中新建SparkContext(包含sparkcontext的程序称为Driver Program);Spark Application运行的表现方式为:在集群上运行着一组独立的executor进程,这些进程由spar...
分类:
其他好文 时间:
2014-08-02 01:34:22
阅读次数:
292
今天在ubuntu10.04上配置dns主从区域数据传送时 从服务器学习不到主服务器的配置,查看/var/log/messages时显示为
Aug 1 06:42:45 ubuntu kernel: [ 5397.159601] type=1503 audit(1406900565.661:37): operation="mknod" pid=2351 parent=1 profile="/...
分类:
其他好文 时间:
2014-08-01 23:10:22
阅读次数:
394
错误举例:
..\..\Libraries\STM32_USB-FS-Device_Driver\inc\usb_type.h(21): error: #5: cannot open source input file "usb_conf.h": No such file or directory
这是因为没有设置 STM32 固件库的目录, 编译器就默认到 “Keil”根目录下的某某目录找...
分类:
其他好文 时间:
2014-08-01 16:07:51
阅读次数:
294
转自:http://blog.csdn.net/linux__kernel/article/details/8271326很多人在Google上不停的找合适自己的压缩,殊不知Py的压缩很不错。可以试试。当然C#,Java的压缩也有第三方的类。Py有很多美名:数学理论强大,数据结构高级等等,关于压缩算...
分类:
编程语言 时间:
2014-08-01 15:23:01
阅读次数:
236