摘要: 1.修改背景颜色(黑/白)File -> settings -> Editor -> Color Scheme -> General -> (Scheme选择Default或Darcula) -> OK 2.licenseHelp -> Register 3.JDK配置或更换File -> Porj 阅读全文
posted @ 2019-04-03 10:16 大飞90 阅读(134) 评论(0) 推荐(0) 编辑
摘要: /** * 增加entity * * @param Object对象 * @throws Exception */ public <T> void save(T ob) throws Exception { this.getHibernateTemplate().save(ob); } /** * 阅读全文
posted @ 2019-04-03 10:02 大飞90 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.java方式 String table_sql = "select table_name from user_tables";//所有用户表 List<String> table_list = getSession().createSQLQuery(table_sql).list(); for 阅读全文
posted @ 2019-04-03 09:59 大飞90 阅读(432) 评论(0) 推荐(0) 编辑
摘要: SQL部分 CREATE TABLE test( id int(10) primary key, name varchar(50) not null, age int(10), address varchar(50) ); insert into test values(1,'zs',20,'bj' 阅读全文
posted @ 2019-04-03 09:48 大飞90 阅读(897) 评论(0) 推荐(0) 编辑
摘要: 1 <script> 2 function HashMap(){this.map = {};} 3 HashMap.prototype = { 4 put : function(key, value){ this.map[key] = value;}, 5 get : function(key){ 阅读全文
posted @ 2019-03-13 15:05 大飞90 阅读(2307) 评论(0) 推荐(0) 编辑
摘要: # build image sudo -i #切换到root cd /home/songfei/Flowor #cd app source ./.env && docker build -t ${PRODUCT}:${VERSION} -f manifests/Dockerfile ./ # shu 阅读全文
posted @ 2018-12-29 11:46 大飞90 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 用Git首先要知道有两个仓库,一个是本地仓库,一个是远端仓库。git add 和 git commit 是把文件提交到【本地仓库】。git push -u origin 分支名 是把commit的代码推到【远端仓库】。 # 下载项目git clone xx # 切换到master分支(这里需要本地没 阅读全文
posted @ 2018-12-29 11:45 大飞90 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 启动服务 service postgresql start 改变服务状态 chkconfig postgresql on/off psql 进入命令行 \c 数据库名 进入对应数据库 \l 列出所有数据库 \? 查看psql命令列表 \d 列出当前数据库所有表格 \du 列出所有用户 获得当前时间 阅读全文
posted @ 2018-12-29 11:44 大飞90 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 环境地址 https://www.appserv.org/en/ apache + php + mysql 开发工具地址: eclipsePHP Studio http://epp.php100.com/ 标记风格 <?php ... ?> (推荐) 或<% ... %> 数据检测 is_bool 阅读全文
posted @ 2018-12-29 11:42 大飞90 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 新建 test.sh 运行命令 sh test.sh 1.打印hello word echo "hello word" 2.打印变量 str="hello word" echo $str 或者 echo ${str} 3.环境变量 $PATH, $HOME, $PWD, $USER, $UID, $ 阅读全文
posted @ 2018-12-29 11:41 大飞90 阅读(197) 评论(0) 推荐(0) 编辑