上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 66 下一页
摘要: 通过打开本地空白文件的方式从而打开Office办公软件 备注:这种方式只是用来测试打开本地Office文件,如果应用正式打包之后,需通过注册表方式进行打开指定Office软件。 阅读全文
posted @ 2017-05-15 17:55 yshy 阅读(4902) 评论(1) 推荐(1) 编辑
摘要: const child = require('child_process').exec; child('notepad', function(err, data) {});//打开记事本 child('calc', function(err, data) {});//打开计算器 阅读全文
posted @ 2017-05-15 17:54 yshy 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: C:\Users\yan>mysqldump -u用户 -p -n -t -d -R 数据库 > 1.sql Enter password: ******** C:\Users\yan> 阅读全文
posted @ 2017-05-03 15:35 yshy 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: 1、打开终端:依次安装 2、安装完:xubuntu-desktop之后,做如下配置以及启动 3、在Window上面运行mstsc打开远程连接输入IP以及用户信息进项远程连接。 阅读全文
posted @ 2017-04-29 17:54 yshy 阅读(534) 评论(0) 推荐(0) 编辑
摘要: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getSupportActionBar().hide();//隐藏标题栏 getWindow().setFlags(WindowManage... 阅读全文
posted @ 2017-04-26 20:54 yshy 阅读(1322) 评论(2) 推荐(0) 编辑
摘要: 1:build.gradle 添加mongodb依赖 2:启动本地mongdb服务 3:配置application.properties文件 4:代码 (1)UserVo.java (2)UserRepository.java (3)UserCtrl.java 5:测试 阅读全文
posted @ 2017-04-25 11:06 yshy 阅读(1684) 评论(0) 推荐(0) 编辑
摘要: 在VScode中调试Go程序时提示: can't load package: package .: no buildable Go source files in d:\my_workspace\go_ws can't load package: package .: no buildable Go 阅读全文
posted @ 2017-04-19 16:34 yshy 阅读(7219) 评论(0) 推荐(0) 编辑
摘要: 访问: {testPage(age:20,pageNo:1){pageNo,pageSize,totalCount,list{uno,uname,age}}} 返回结果: 阅读全文
posted @ 2017-04-08 17:36 yshy 阅读(2901) 评论(2) 推荐(1) 编辑
摘要: 1:package.json 通过npm init生成package.json文件,内容如下: 2:app.js 3:app.html 4:运行 (1)安装node_modules D:\electron_ws\t02>npm install (2)运行 D:\electron_ws\t02>ele 阅读全文
posted @ 2017-04-06 12:53 yshy 阅读(468) 评论(0) 推荐(0) 编辑
摘要: public static byte[] fileToBytes(String filePath) { byte[] buffer = null; File file = new File(filePath); FileInputStream fis = null; ByteArrayOutputStream bo... 阅读全文
posted @ 2017-03-24 07:14 yshy 阅读(15397) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 66 下一页