1 配置文件的方法我们编写spring 框架的代码时候。一直遵循是这样一个规则:所有在spring中注入的bean 都建议定义成私有的域变量。并且要配套写上 get 和 set方法。Boss 拥有 Office 和 Car 类型的两个属性: 清单 3. Boss.javapackage com.ba... ...
分类:
编程语言 时间:
2017-10-09 17:47:50
阅读次数:
255
包管理优点 自动下载 解决依赖 NPM => Node Package Manager 下载东西 下载依赖包 常用的命令 npm install xx 安装 npm uninstall xx 卸载 npm 上传一个自己写的模块 www.npmjs.com 1.注册用户,登录 npm adduser ...
分类:
其他好文 时间:
2017-10-09 13:13:59
阅读次数:
141
centos 下 没有找到 pip.conf 操作如下: 进入主目录:cd ~ 创建 .pip 目录: mkdir .pip 进入.pip 创建 pip.conf 文件:cd .pip/ touch pip.conf 编辑 pip.conf 写入新的源配置,写入 douban源,保存即可,文件内容如 ...
分类:
其他好文 时间:
2017-10-08 18:07:39
阅读次数:
91
写在前面 本系列博客URL: http://www.cnblogs.com/drgraph http://blog.csdn.net/arwen 配套软件下载地址: http://www.czwenwu.com/YeeVingSetup.exe 配套软件含三个可执行文件:YeeVingDriver. ...
分类:
其他好文 时间:
2017-10-07 20:40:36
阅读次数:
277
ubuntu 命令窗口的打开 打开命令行窗口: Ctrl+Alt+T 在打开的命令行窗口中打开一个新的Tab: Ctrl+Shift+T 在同一窗口的Tab间切换: Ctrl+Page Up 或者 Ctrl+Page Down 登录工作站 透过 PC 登录工作站 执行格式:telnet hostna ...
分类:
其他好文 时间:
2017-10-06 13:56:08
阅读次数:
187
Discrete Logging Given a prime P, 2 <= P < 2 31, an integer B, 2 <= B < P, and an integer N, 1 <= N < P, compute the discrete logarithm of N, base B, ...
分类:
其他好文 时间:
2017-10-06 11:31:02
阅读次数:
183
步骤1:用curl获取源代码在我们用卷曲获取源代码之前,我们必须先升级操作系统,然后用卷发命令获取NodeSource添加到本地仓库。 root@ubuntu-15:~#apt-get update安装apt-get install curl和apt-get install sudoroot@ubu ...
分类:
Web程序 时间:
2017-10-05 16:12:28
阅读次数:
272
1 li=[34,12,33,1] 2 print(li) 3 for i in range(0,len(li)): 4 #range开始0 结束len(i)-1 5 for j in range(1,len(li)-i): 6 if li[j] 10: 7 return 8 a3 = a1 + a... ...
分类:
其他好文 时间:
2017-10-04 14:26:06
阅读次数:
143
[Oacle][Partition]Partition操作与 Index, Global Index 的关系:■ Regarding the local index and the global index,In the case of "alter table add partition"Even ...
分类:
其他好文 时间:
2017-10-04 14:25:46
阅读次数:
127