自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (19)
  • 收藏
  • 关注

原创 java实现输入流写入文件

(1)一般的java代码@Testpublic void whenConvertingToFile_thenCorrect() throws IOException { InputStream initialStream = new FileInputStream( new File("src/main/resources/sample.txt")); byte[] buffer = new byte[initialStream.available()]; .

2020-12-30 10:33:37 2522

原创 chrome调优

chrome浏览器输入 chrome://flags ,打开后台配置

2020-12-22 20:11:55 298

原创 2020-12-16

MYSQL: 未空设置默认值select ifnull(字段,0) from 表名

2020-12-16 13:22:09 126

原创 linux disk commands

mount: mount filesystem mount: list current mounted file system device on mount_point type filesystem mkdir /mnt/cdrom ## create a mount_point mount -t [filesystem] /dev/sdc /mnt/cdrom umount: remove filesystem umount /dev/sdcfdisk: d.

2020-12-16 07:40:23 132

原创 k8s命令汇总

登录某个容器:kubectl exec -i -t -n iot-ns task-jx-spring-0 -c jx-spring "--" sh -c "clear; (bash || ash || sh)"

2020-12-14 15:43:22 250

原创 解决springboot应用中文乱码

(1)yaml配置中添加如下属性application.properties配置文件中添加如下属性: spring: http: encoding: force: true charset: UTF-8 enabled: true server: tomcat: uri-encoding: UTF-8(2).

2020-12-14 15:43:13 454 1

原创 mysql模拟MINUS

SELECT * FROM suppliers_1_md5MINUSselect * FROM suppliers_2_md5;The where clause picks null values in SupplierID in Table 2, which limits to rows exist in Table 1 only.SELECT select_listFROM table1LEFT JOIN table2 ON join_predica.

2020-12-10 17:55:50 195

原创 kernel build procedure

sudo apt-get install libncurses5-dev gcc make git exuberant-ctags bc libssl-dev --- Ubuntusudo yum install gcc make git ctags ncurses-devel openssl-devel --- Centossudo zypper in git gcc ncurses-devel libopenssl-devel ctags cscope --- SUSEWhich.

2020-12-09 22:34:39 136

原创 GNU GRUB Boot

1: GRUB how boot the OS ? 2 ways to boot; (1) load OS directly; (2) chain-load other boot loader to load OS; Multiboot is native supported by GRUB , support for linux, FreeBSD, OpenBSDsearch --set=boot --file /vmlinuz linux /vmlinuz root=/dev/sda1l...

2020-12-08 23:09:54 187

原创 GNU GRUB Installation

GNU GRUB is aMultibootboot loader: aboot loaderis the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating systemkernelsoftware .Documentation:(1) Install grubgrub-ins...

2020-12-08 23:00:25 122

原创 xxl-job的cron表达式详解

一丶xxl-job的表达式由7个部分组成,例如:注:/与5算是一个整体秒数 分钟 小时 日期 月份 星期 年份(可为空)}*/5 * * * * ?二丶各个位置的取值范围,看上面的小例子,应该都能想到了,从前往后对应,分别为:秒 0-59 , - * / 分 0-59 , - * / 小时 0-23 , - * / 日期 1-31 , - * ? / L W C 月份 1-12 或者 JAN-DEC , - * / 可以用0-11 或用字符串 “JAN, FEB, M

2020-12-05 13:06:03 10491

原创 springboot项目中路径解析

FileSystemResourceLoader类实现了路径解析功能;支持以绝对路径/和classpath:为开头的路径解析;@Beanpublic ResourceLoader resourceLoader(){ return new FileSystemResourceLoader();}FileSystemResourceLoader.getResource(jobConfig.fileRoot).getURL().getPath(); 实现classpath路径转换为绝对路径;

2020-12-05 11:15:04 446

原创 centos安装docker脚本

#!/bin/bash#author: MonsterTan#date: 2019-01-15#this is a script that can install automatically docker software by centos7function checkSudo (){ if [ $UID -ne 0 ];then echo -e 'it must be root!' exit 1 f.

2020-12-03 21:18:26 172

visualvm_21.rar

查看虚拟机软件和插件

2021-09-18

mysql-galera-3-mysql5.7.rar

针对Mysql5.7的galera的centos二进制文件

2021-09-09

mysql-wsrep-8.0.25-26.7.tar.gz

mysql-8 副本复制API

2021-09-09

galera-4-26.4.9.tar.gz

MySQL Galera集群galera源码

2021-09-09

percona-server-server_8.0.20-11-1.bionic_amd64.deb

percona-server-server-8版本,用在ubuntu18版本,安装percona-server-server之前,先安装percona-server-common和percona-server-client软件包

2020-09-23

percona-server-client_8.0.20-11-1.bionic_amd64.deb

percona-server-client软件,用于ubuntu18版本,是MySQL客户端软件,主要用于在shell中通过命令行连接MySQL服务器

2020-09-23

percona-server-common

percona-server-common安装包,针对ubuntu18版本;可使用sudo apt list installed | grep mysql查看系统中当前是否安装Mysql文件

2020-09-23

mindmaster-7-amd64.deb

Ubuntu上使用的思维导图工具,个人感觉还是挺好用的,就上传给大家分享。该软件既有免费版,也有收费版,区别就在于提供的模板种类不一样。基本的模板是Radial Map, Right Map和Tree Map.

2019-12-06

Windows10安装framwork2

windows10下安装 NetFramework2 和 3的一个脚本;需要有安装的系统DVD或者USB;

2016-12-17

DBF数据库查询工具

一个查询DBF数据库的小工具,它只是用来查询数据库的数据,并不能做什么查询操作,支持过滤等简单操作。

2015-09-09

SimpleTest

PHP test framework. It is very usefull to create the less bugs software.

2014-06-21

Qt GUI C++程序设计

Linux Gnome图形界面C++开发指南,由普林斯顿学院出版,帮助那些想在LInux下进行图形界面开发的编程者!

2013-11-10

Delphi FlatStyle组件

delphi开发中使用的扁平化组件,包括按键、编辑器等组件!

2013-11-06

delphi BarMenu组件

delphi开发使用的组件,主要作用是工具栏的编程!

2013-11-06

端口扫描程序

网络端口扫描程序,搜集主机信息,向外开放的端口,确定主机Ip地址。

2013-10-10

MathLab2011b破解文件

MathLab是个强大的家伙,对于理工科搞学术研究的来讲,是必备的。但这家伙实在太昂贵了,要几十万才能买的到,所以想为那些穷斯们节约点费用,给个破解文件,大家好好珍惜。

2013-09-07

cygwin(Linux console 在Windows64下的版本)

我想如果你在Windows下生活了很久,想使用Linux操作系统,但是对Linux的命令行模式不太习惯,那么CygWin将会是帮助您跨入Linux命令行操作的非常好的帮手,希望它对您有帮助。

2013-09-07

FeiQ局域网聊天工具

feiq网络聊天工具,用于在局域网内聊天,非常快捷有效。

2013-01-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除