代码改变世界

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

2020-04-10 16:42 by jetwill, 20149 阅读, 1 推荐, 收藏, 编辑
摘要:[TOC] 启动一个Java Standalone程序时报错 解决办法 从启动脚本中把 参数删掉。 解释 根据 "官方文档" Java命令行参数 PermSize 和 MaxPermSize 已经被移除和忽略。如果在命令行中使用,将会显示相应的警告。 The command line flags P 阅读全文

Linux之od命令详解

2020-04-10 14:16 by jetwill, 595 阅读, 0 推荐, 收藏, 编辑
摘要:[TOC] 关于hexdump hexdump is an utility that creates an hex dump The hexdump application may be installed under different names such as: od xxd like hd 阅读全文

怎样通过批处理来关机,重启和登出

2020-03-31 10:26 by jetwill, 318 阅读, 0 推荐, 收藏, 编辑
摘要:How do I shut down, restart or log off Windows via a bat file? The most common ways to use the "shutdown" command are: shutdown s — Shuts down. shutdo 阅读全文

Linux下Shell的for循环语句

2020-03-23 20:29 by jetwill, 3573 阅读, 0 推荐, 收藏, 编辑
摘要:第一类:数字性循环 for1 1.sh 输出: for1 2.sh for1 3.sh for1 4.sh 第二类:字符性循环 for2 1.sh !/bin/bash for i in do echo $i is file name\! done !/bin/bash for i in $ do 阅读全文

bash.md

2020-03-23 11:13 by jetwill, 1 阅读, 0 推荐, 收藏, 编辑
该文被密码保护。 阅读全文

Windows alias 给cmd命令起别名

2020-03-23 09:06 by jetwill, 1670 阅读, 0 推荐, 收藏, 编辑
摘要:场景: Linux的alias命令是个非常实用的工具,任何命令通过alias可以精简到很短,比如:alias l='ls l' Windows也有alias类似的命令,就是:doskey,开启方法也很简单 环境:win7 + 64 bit 1. C:\Users\[用户名]\alias_key.ba 阅读全文

Oracle - 以 INSERT SQL语句形式导出结果集

2020-03-20 17:00 by jetwill, 1013 阅读, 0 推荐, 收藏, 编辑
摘要:使用 SQLcl 这是 SQL Developer 的命令行接口 下载 "SQLcl" 参考: https://stackoverflow.com/questions/38592148/oracle export select statement result set as insert sql s 阅读全文

sqlcl - Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

2020-03-20 16:16 by jetwill, 306 阅读, 0 推荐, 收藏, 编辑
摘要:运行sqlcl的命令sql出错 解决办法 unset ORACLE_HOME 检查 sanity check 参考 "sqlcl 18.4 unsupported major.minor number 52.0" https://docs.oracle.com/en/database/oracle/ 阅读全文

Shell 里空语句怎么写 - 半角的冒号

2020-03-20 16:03 by jetwill, 2746 阅读, 1 推荐, 收藏, 编辑
摘要:Python 里的空语句写作pass Shell 里的空语句写作 : 注意:bash 里的空语句是半角符号的冒号 : 。另外,留空或者写作 ; 都会报错。 阅读全文

Python 之路 Day5 - 常用模块学习

2020-03-20 07:31 by jetwill, 230 阅读, 0 推荐, 收藏, 编辑
摘要:本节大纲: 模块介绍 1. time &d atetime 模块 2. random 3. os 4. sys 5. shutil 6. json & picle 7. shelve 8. xml处理 9. yaml处理 10. configparser 11. hashlib 12. subpro 阅读全文