痴迷无限好
gelongmei · 共 391 篇文章
tar 加密压缩
压缩 tar -czvf /path/to/file.tar.gz file 解压 tar -xzvf /path/to/file.tar.gz /path/to 加密压缩 tar -czvf - file | openssl des3 -salt -k password -out /path/to/file.tar.gz 解密解压 openssl des3 -d -k password -salt -in /path/to/file.tar.gz | tar xzf -
2018-07-18T17:44:36Z · 开源软件 · 评论(0)
Java 8 的 Nashorn 脚本引擎教程
转自: 无意间发现了这个,估计以后会有用,Java 8 的 Nashorn 脚本引擎教程
2018-07-12T21:55:23Z · 编程语言 · 评论(0)
spring boot 自动装配核心思想
spring boot 自动装配时间 D:\libs\maven_none\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-autoconfigure-2.0.3.RELEASE.jar!\META-INF\additional-spring-configuration-metadata.json D:\libs\maven_none\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-…
2018-07-10T21:32:17Z · 开源软件 · 评论(0)
Spring WebFlux快速上手——响应式Spring的道法术器
Spring WebFlux快速上手——响应式Spring的道法术器
2018-07-06T14:19:36Z · 编程语言 · 评论(0)
java, policy, 权限, 安全,沙箱
转自:自定义java.policy配置(如何让你的类禁止读写文件?禁止创建Socket对象?) package com.test; import java.security.Permission; public class MySecurityManager extends SecurityManager { public void checkPermission(Permission perm) { System.out.println("perm=" + perm); super.checkPermission(perm); } } 为了让MySecurityManager有效,你可以直…
2018-07-06T10:32:41Z · 编程语言 · 评论(0)
sdkman工具的使用
sdkman工具的使用 #unix linux Scoop Windows 的命令行安装程序管理工具 #windows brew #mac
2018-07-03T14:14:31Z · 非技术 · 评论(0)
linux shell 有用命令
LINUX命令大全 rpm包制作 cpio,dump,restore,rpm 将/etc下的所有普通文件都备份到/opt/etc.cpio,使用以下命令: find /etc –type f | cpio –ocvB >/opt/etc.cpio 将系统上所有资料备份到磁带机内,使用以下命令: find / -print | cpio -covB > /dev/st0 这里的/dev/st0是磁带的设备名,代表SCSI磁带机。 查看上例磁带机上备份的文件,使用以下命令: cpio -icdvt < /dev/st0 > /tmp/st_content 有时可能因为备份的文件过多,一个屏幕无法…
2018-06-07T16:20:57Z · 操作系统 · 评论(0)
Aviator-开源轻量级、高性能的表达式求值器
一、轮子的必要性 表达式的求值上,java的选择非常多,强大的如Groovy、JRuby,N年没维护的beanshell,包括javaeye上朋友的IKExpression。为什么还需要Aviator?或者说Aviator的特点是什么? 我将Aviator定位在Groovy这样全功能的脚本和IKExpression这样的简易的表达式求值之间的东西,如果你不希望带上Groovy那么庞大的jar却只用上一点点的功能,如果你希望功能和性能上比IKExpression好那么一些,那么也许你可以考虑Aviator。 Aviator的设计思路跟利用GroovyObject的求值是一样,通过编译并动态生成…
2018-06-05T20:38:12Z · 编程语言 · 评论(0)
spring mvc
WebMvcConfigurationSupport 万变不离其中 /* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licen…
2018-06-05T20:27:28Z · 编程语言 · 评论(0)
shell linux centos /etc/bashrc.sh
/etc/bashrc System wide functions and aliases Environment stuff goes in /etc/profile It's NOT a good idea to change this file unless you know what you are doing. It's much better to create a custom.sh shell script in /etc/profile.d/ to make custom changes to your environment, as this will prevent t…
2018-06-04T15:29:09Z · 操作系统 · 评论(0)
linux 命令大全
xmlto 处理xml # asciidoc DOCS AssicDoc 包括 asciidoc 和 a2x 两个命令。后者甚至还能够将文本文档转换成 PDF、HTML Help 等格式。
2018-06-04T15:18:53Z · 非技术 · 评论(0)
shell 数组
数组的基本赋值 arr=(a b c) arr=a 2.常用的两个方法 str=${arr}(数组转化成字符串) len=${#arr}(数组长度) 3.遍历数组的方法 https://www.cnblogs.com/dmir/p/6403904.html
2018-06-02T17:17:31Z · 非技术 · 评论(0)
intellij重构指令
抽取代码 ctrl+alt+m 右键-》refactor-》replace constructor with builder ctrl+alt + #v,c,f,p,shift+p,shift+y
2018-06-01T09:54:52Z · 开源软件 · 评论(0)