08 2022 档案
摘要:【需求】 某java应用是以jar包执行在linux服务器上,每次用新包替换旧包后,需要先用命令“ps -ef|grep dce”找出已经执行的pid,然后用“kill -9 pid”来关掉启动的应用,再执行“./startup.sh -s 8192m -x 8192m -j dce-webapp-
阅读全文
摘要:【说明】 用文本文件记开发环境中各个DB,只能搞一列,还不漂亮。用图片做又难以修改,wordexcel等又需要特定软件, 用html/CSS正好解决了多列、美观、无特定软件依赖等需求。 【外观】 【代码】 <!DOCTYPE html> <html lang="utf-8"> <meta http-
阅读全文
摘要:【sql】 select a.tablename as tname b.remark as remark from ( select table_name tablename from information_schem.tables where upper(table_schema)=upper(
阅读全文
摘要:【SQL】 select attname as name, attnum as orderNum, col_description(attrelid,attnum) as remark from pg_attribute where attrelid='your table'::regclass a
阅读全文
摘要:【SQL】 一行流方式: select count(*) from information_schema.table where table_schema='your schema' and table_type='BASE TABLE' and upper(table_name)=upper('y
阅读全文
摘要:【代码】 #encoding=utf-8 import os os.popen("copy c:\\java8\\src.zip C:\\Users\\ufo\\Desktop\\target.rar") 【用途】 将Java打包后的jar文件拷贝到桌面上并改名,为FTP上传做准备。 【参考资料】
阅读全文