`!_`5 81_09

@IT
私信 关注
dijk
码龄6年
  • 400,781
    被访问量
  • 384
    原创文章
  • 9,155
    作者排名
  • 150
    粉丝数量
  • 于 2015-02-25 加入CSDN
获得成就
  • 获得111次点赞
  • 内容获得50次评论
  • 获得347次收藏
荣誉勋章
TA的专栏
  • Shell
    1篇
  • 排序算法
    29篇
  • 搜索算法
    16篇
  • 计算机算法设计与分析
    136篇
  • Algorithm
    151篇
  • Skill
    54篇
  • 分支限界法
    24篇
  • 回溯法
    37篇
  • 分治递归
    15篇
  • 动态规划
    29篇
  • 贪心算法
    27篇
  • Sorting
    29篇
  • Searching
    16篇
  • 计算机算法设计与分析
    137篇
  • Java
    153篇
  • Linux
    48篇
  • Mac
    24篇
  • Raspberry Pi
    12篇
  • Maven
    10篇
  • Command
    87篇
  • SSDB
    1篇
  • Keepalived
    2篇
  • Twemproxy
    1篇
  • Eclipse
    3篇
  • Notepad++
    6篇
  • Hadoop
    1篇
  • Ubuntu
    5篇
  • IT 杂谈
    1篇
  • Network
    1篇
  • VirtualBox
    8篇
  • 读书笔记
    3篇
  • MySQL
    19篇
  • Django
    1篇
  • Install
    17篇
  • MongoDB
    1篇
  • Android
    1篇
  • 面试笔试题集
  • Windows
    31篇
  • IDEA
    6篇
  • Tomcat
    7篇
  • Git
    15篇
  • Frontend
    1篇
  • Secure
    1篇
  • Spring Boot
    4篇
  • CentOS
    12篇
  • Problem
    17篇
  • Configuration
    17篇
  • Gradle
    1篇
  • 快捷键
    5篇
  • Sublime
    2篇
  • Alpine
    9篇
  • Docker
    6篇
  • Terminal
    7篇
  • Spring Cloud
    1篇
  • Chrome
    1篇
  • apiDoc
    3篇
  • Druid
    1篇
  • MyBatis
    2篇
  • Swagger
  • WebLogic
    1篇
  • Excel
    1篇
  • Netty
    2篇
  • Demo
    1篇
  • Socket
    2篇
  • Vim
    2篇
  • Redis
    2篇
  • Zookeeper
    1篇
  • SpaceVim
    1篇
  • Spring
    1篇
  • JDBC
    1篇
  • Code
    2篇
  • 最近
  • 文章
  • 资源
  • 问答
  • 课程
  • 帖子
  • 收藏
  • 关注/订阅

Redis Cluster - 外网访问redis集群 - create-cluster脚本

Versionredis 6.0.6Shell scriptcd /redis-6.0.6/utils/create-clustervi create-cluster#!/bin/bash# SettingsBIN_PATH="../../src/"#CLUSTER_HOST=127.0.0.1CLUSTER_HOST=YOUR_REMOTE_IPPORT=30000TIMEOUT=2000NODES=6REPLICAS=1#PROTECTED_MODE=yesPROTE
原创
168阅读
1评论
0点赞
发布博客于 4 月前

Java: Set String List 互转

Java: Set String List 互转1.Codeimport java.util.*;public class Main { public static void main(String[] args) { //List 转成 Set System.out.println("-------List 转成 Set--------");...
原创
5489阅读
0评论
1点赞
发布博客于 2 年前

Java: 返回树形结构数据

Java - 返回树形结构数据1.TreeNodeDto@Datapublic class TreeNodeDto { private Long id; private Long organizationId; private Long parentOrgId; private Integer level; private Integer ...
原创
1236阅读
1评论
0点赞
发布博客于 2 年前

Spring: jdbcTemplate获取刚插入记录的主键id

Spring jdbcTemplate获取刚插入记录的主键id1. JdbcTemplateJdbcTemplate jdbcTemplate1 = new JdbcTemplate(dataSource); final String sql = " INSERT INTO FUND_AGGREGATION_TEMP ( " + " ID, ORDER_...
转载
581阅读
0评论
1点赞
发布博客于 2 年前

Problem: SpaceVim: Mac: 解决乱码

SpaceVim 解决乱码(Mac)1. Install fonthttps://github.com/ryanoasis/nerd-fonts$ brew tap caskroom/fonts$ brew cask install font-hack-nerd-font2. Config font in iTermProfiles --> Text --> N...
原创
417阅读
0评论
1点赞
发布博客于 2 年前

Sublime: sublime text 3200 activate code

sublime text 3200 activate codeActivate codeZYNGA INC.50 User LicenseEA7E-811825927BA117 84C9300F 4A0CCBC4 34A56B44985E4562 59F2B63B CCCFF92F 0E646B830FD6487D 1507AE29 9CC4F9F5 0A6F32E30343D8...
原创
350阅读
0评论
1点赞
发布博客于 2 年前

Zookeeper: connect to server

Connect to the zookeeper server1.Start serverλ cd C:\zookeeper-3.4.14\binλ zkServer.cmd2.Client connect to the serverλ cd C:\zookeeper-3.4.14\binλ zkCli.cmd -server 127.0.0.1:2181orλ cd C:...
原创
211阅读
0评论
1点赞
发布博客于 2 年前

Redis: Mac: install and config

Redis install and config in Mac1. Downloadhttps://redis.io/download redis-5.0.4.tar.gz2. Make~ tar xzf redis-5.0.4.tar.gz~ sudo mv redis-5.0.4 /usr/local~ cd /usr/local/redis-5.0.4~ make...
原创
145阅读
0评论
1点赞
发布博客于 2 年前

Git: Problem: github提交后没有记录Contributions且提交者名字没有链接无法点击

Git: Problem: github提交后没有记录Contributions且提交者名字没有链接无法点击Problem使用github时,发现提交的记录并没有统计在GitHub首页的Contributions Graph里(贡献图上没有绿块),而且提交列表里的名字也不能点击,没有链接。Solutiongit提交时填写的邮箱与github账号里的邮箱不一致导致,github是以邮箱关...
原创
293阅读
0评论
0点赞
发布博客于 2 年前

Skill: Win10: gvim 卸载 SpaceVim

Skill: Win10: gvim 卸载 SpaceVimDescriptionWin10 上的gvim 使用 install.cmd 安装SpaceVim, 没有官方的卸载工具。即使卸载重装 gvim,打开也还是 SpaceVim 的样式。Solution删除 在C盘用户目录下的两个文件夹,.SpaceVim 和 .SpaceVim.dgvim随即恢复正常!https://bl...
原创
899阅读
0评论
0点赞
发布博客于 2 年前

Command: Maven: 执行jar包中指定main方法

Command: Maven: 执行jar包中指定main方法pom.xml中指定main方法1. pom.xml配置<build> <finalName>first-server</finalName> <plugins> <plugin> ...
原创
668阅读
0评论
0点赞
发布博客于 2 年前

Netty: Socket: 代码执行顺序问题

Netty: Socket: 代码执行顺序问题ClientFirstClient.javapackage com.me.socket.client;import com.me.dto.TransportObject;import io.netty.bootstrap.Bootstrap;import io.netty.buffer.Unpooled;import io.netty....
原创
160阅读
0评论
0点赞
发布博客于 2 年前

Netty socket demo

Netty socket demo between three servers in java. That's all.
zip
发布资源于 2 年前

Netty: Socket: a demo

Netty: Socket: a demoDTOTransportObject.javapackage com.me.dto;import java.io.Serializable;import java.util.ArrayList;import java.util.List;public class TransportObject implements Serializab...
原创
137阅读
0评论
0点赞
发布博客于 2 年前

Win10: Skill: 自带功能-系统恢复

Win10: 自带功能-系统恢复三种方法进入系统恢复程序1)、“开始” --> “设置” --> “更新和安全” --> “恢复” --> “高级启动” --> “立即重新启动”2)、“开始” --> “电源” --> “重启”+Shift3)、“开始”(右键) --> “运行” --> "shutdown -r -o"htt...
原创
126阅读
0评论
1点赞
发布博客于 2 年前

Win10: Skill: 自带功能-系统备份

Win10: 自带功能-系统备份进入系统备份功能界面--> “开始” --> “设置” --> “更新和安全” --> “备份” --> “正在查找较旧的备份” --> “转到"备份和还原(Windows7)” --> “创建系统映像”https://www.cnblogs.com/configure/p/7778644.html...
原创
102阅读
0评论
0点赞
发布博客于 2 年前

MySQL: Skill: Excel数据导入到MySQL表中

MySQL: Excel数据导入到MySQL表中使用Navicat for MySQL 或者 Navicat premium 121. 目标表2. 源数据3. 点击数据库Tables4. 选择数据源格式为Excel5. 选择Excel数据源所在Sheet6. 输入Excel中数据源字段名所在行数和需导入数据起始行数注意: Excel中字段名 应与 MySQL表中字段名 ...
原创
152阅读
0评论
0点赞
发布博客于 2 年前

Win7: Skill: 手动升级到Win10

Win7: 手动升级到Win101. 进入官方网址http://www.microsoft.com/zh-cn/software-download/windows10?OCID=WIP_r_Win10_Body_AddPC2. 点击 立即下载工具3. 下载完成后以管理员身份运行4. 选择 立即升级这台电脑https://jingyan.baidu.com/article/1e5468...
原创
179阅读
0评论
0点赞
发布博客于 2 年前

Win10: Skill: 远程连接 mstsc

Win10: 远程连接 mstsc-> 快捷键 win+r-> 输入 mstsc-> 确定-> 输入目标机器信息-> 连接注意:目标主机需要开启允许远程连接
原创
114阅读
0评论
0点赞
发布博客于 2 年前

WebLogic: Skill: install & start & login

WebLogic: install & start & login1. installjava -jar D:\ChromeDownload\fmw_12.2.1.3.0_wls_Disk1_1of1\fmw_12.2.1.3.0_wls.jar2. startC:\Oracle\Middleware\Oracle_Home\user_projects\domains\b...
原创
86阅读
0评论
0点赞
发布博客于 2 年前

MySQL: Skill: 查看root的权限

MySQL: 查看root的权限mysql> show grants for root;+-------------------------------------------+| Grants for root@% |+-------------------------------------------+| GRANT ALL P...
原创
259阅读
0评论
0点赞
发布博客于 2 年前

MySQL: Skill: Add all privileges for user abc on database basic_data

MySQL: Add all privileges for user abc on database basic_dataSHOW GRANTS FOR abc;//resultsGRANT USAGE ON *.* TO 'abc'@'%' IDENTIFIED BY PASSWORD '*38E573FEE0457F38F79B14E4E5381EAA895B5FC1'GRANT SE...
原创
98阅读
0评论
0点赞
发布博客于 2 年前

MySQL: Problem: 远程连接2003-can't connect to MYSQL server on ''(10060)

ProblemMySQL: 远程连接2003-can’t connect to MYSQL server on ‘’(10060)Solution1. 远程服务器上没有打开3306端口 #/sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT #/etc/rc.d/init.d/iptables save # service ipt...
原创
201阅读
0评论
0点赞
发布博客于 2 年前

Ubuntu: Command: 设置root密码

Ubuntu设置root密码终端输入sudo passwd root,在[sudo] password for landry:后输入当前用户的密码当前用户密码验证通过后输入需要设置的root超级管理员账户密码Enter new UNIX password:验证输入的密码Retype new UNIX password:出现passwd: password updated succe...
原创
143阅读
0评论
0点赞
发布博客于 2 年前

Win10: Skill: 把D盘合并到C盘

Win10: 把D盘合并到C盘D盘:-> 格式化-> 删除卷-> 删除分区C盘:-> 扩展卷https://jingyan.baidu.com/article/3a2f7c2ed646ea26aed6116f.html
原创
2268阅读
0评论
1点赞
发布博客于 2 年前

Command: MINGW & Cygwin go to f disk

Command: MINGW & Cygwin go to f disk1. MINGW64: go to F disk// on d diskAdministrator@PC201809191156 MINGW64 /d$ cd f:// changed d disk to f diskAdministrator@PC201809191156 MINGW64 /f$...
原创
93阅读
0评论
0点赞
发布博客于 2 年前

MySQL: Problem: [Err] 1153 - Got a packet bigger than 'max_allowed_packet' bytes [Err] /*

ProblemMySQL: [Err] 1153 - Got a packet bigger than ‘max_allowed_packet’ bytes [Err] /*Solutionmysql> show VARIABLES like '%max_allowed_packet%';+--------------------------+------------+| Va...
原创
641阅读
0评论
0点赞
发布博客于 2 年前

notepad++: Problem: 打开大文件后卡死 并且 关闭后重新打开也一直卡死

Problemnotepad++: 打开大文件后卡死 并且 关闭后重新打开也一直卡死Solution-> settings -> preferences-> backup-> backup path eg: C:\Users\Administrator\AppData\Roaming\Notepad++\backup\-> goto backup pa...
原创
5295阅读
2评论
0点赞
发布博客于 2 年前

Swagger: Swagger2 configurations in Spring Boot

Swagger2 configurations1. pom.xml<!--swagger-ui--><dependency> <groupId>io.springfox</groupId> <artifactId&
原创
82阅读
0评论
0点赞
发布博客于 2 年前

gitignore: Problem: gitignore不起作用

Problemgitignore 不起作用Solutiongit rm -r --cached .git add .[seems command below can be omitted, just use above two commands]git commit -m 'update .gitignore'https://www.cnblogs.com/sloong/p/...
原创
102阅读
0评论
0点赞
发布博客于 2 年前

MyBatis: Generator configurations in Spring Boot

MyBatis generator configurations1. pom.xml<build> <finalName>abc</finalName> <plugins> <plu
原创
80阅读
0评论
0点赞
发布博客于 2 年前

Git: Skill: 修改commit的注释

Git 修改commit的注释注释写错了,但是已经commit,此情况下修改注释# git commit --amend
原创
103阅读
0评论
0点赞
发布博客于 2 年前

MyBatis: Skill: 获取数据库自增id

MyBatis 获取数据库自增idWay 1insert标签中加上useGeneratedKeys=“true” keyProperty=“id”会将id组装到返回对象中而不是作为返回值<insert id="insertSelective" parameterType="com.lcworld.jiunixing.model.User" useGeneratedKeys="tr...
原创
130阅读
0评论
0点赞
发布博客于 2 年前

Java: Skill: List sort

Java List sortArrayArrays.sortListjava.util.Collections.sort(java.util.List)java.util.Collections.sort(java.util.List, java.util.Comparator)Examples for List sort1. Implements Comparable ...
原创
288阅读
0评论
1点赞
发布博客于 2 年前

Spring Boot: Skill: 在自定义类中调用service层等Spring其他层

Spring Boot在自定义类中调用service层等Spring其他层@Componentpublic class ServerHandler extends IoHandlerAdapter { @Autowired protected HealthDataService healthDataService; private static ServerHandle...
原创
170阅读
0评论
0点赞
发布博客于 2 年前

Druid: Skill: sql监控配置 in Spring Boot

Druid 监控配置package com.canpoint.bdp.druid;//import org.springframework.boot.context.embedded.FilterRegistrationBean;//import org.springframework.boot.context.embedded.ServletRegistrationBean;impo...
原创
105阅读
0评论
0点赞
发布博客于 2 年前

apiDoc: Skill: How to use apiDoc in Spring Boot

How to use apiDoc1. Install node.jsTo check if node.js is successfully installed:λ node --versionv10.15.02. After node.js installed, install apiDocnpm install apidoc -gTo check if apiDoc is s...
原创
95阅读
0评论
0点赞
发布博客于 2 年前

apiDoc: Problem: display online test window in Spring Boot

ProblemHow to display apiDoc online test window[CRUD]?Solutionin apidoc.json config file:add below line"sampleUrl" : "http://localhost:8080",
原创
87阅读
0评论
0点赞
发布博客于 2 年前

apiDoc: Problem: return "error 0 undefined" in Spring Boot

ProblemapiDoc online test return “error 0 undefined”Response as belowError 0:undefinedSolution跨域问题 导致可在spring boot 中方法前面加上注解:@CrossOrigin
原创
418阅读
0评论
0点赞
发布博客于 2 年前

MySQL: 四舍五入

MySQL四舍五入ROUND 函数
原创
268阅读
1评论
0点赞
发布博客于 2 年前

Spring Boot: 打war包并部署到外部Tomcat服务器

Spring Boot 打war包并部署到外部Tomcat服务器1. 修改pom.xml文件将默认的jar方式改为war<groupId>com.example</groupId><artifactId>application</artifactId><version>0.0.1-SNAPSHOT</version>...
原创
81阅读
0评论
0点赞
发布博客于 2 年前

CentOS: install git

CentOS install git// install gityum –y install git
原创
66阅读
0评论
0点赞
发布博客于 3 年前

Linux: see file size command

Linux: see file size command// see file size# ls -lht
原创
159阅读
0评论
0点赞
发布博客于 3 年前

Win10: cmder terminal commands

Win10 cmder terminal commandsgoto c,d,e,f disk:λ c:λ d:λ e:λ f:ExampleC:\Usersλ f:f:\λ
原创
205阅读
0评论
0点赞
发布博客于 3 年前

Alpine: install zsh and oh-my-zsh

Alpine: install zsh and oh-my-zsh# cat /etc/shells# valid login shells/bin/sh/bin/ash/bin/bash# apk add zsh# cat /etc/shells# valid login shells/bin/sh/bin/ash/bin/bash/bin/zsh// chang...
原创
829阅读
0评论
0点赞
发布博客于 3 年前

Alpine: change current shell

Alpine change current shell// change current shell# vi /etc/passwd# change by dijkroot:x:0:0:root:/root:/bin/ash#root:x:0:0:root:/root:/bin/bash// see current shell# echo $0or# echo $SHELL...
原创
212阅读
0评论
0点赞
发布博客于 3 年前

Alpine: install docker compose

Alpine install docker compose// seems there is a problem with Alpine 3.8.1 virtual, can not work!# apk add curl# curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-...
原创
216阅读
0评论
0点赞
发布博客于 3 年前

Alpine: Docker commands

Alpine: Docker commands// update repositoriesvi /etc/apk/repositories// add mirrors below#/media/cdrom/apkshttp://mirrors.tuna.tsinghua.edu.cn/alpine/v3.8/mainhttp://mirrors.tuna.tsinghua.edu.c...
原创
108阅读
0评论
0点赞
发布博客于 3 年前

Problem: Docker: Is docker daemon running?

ProblemIs docker daemon running?Solution// start docker daemon# dockerd
原创
379阅读
0评论
0点赞
发布博客于 3 年前

Problem: Alpine: apk add docker ERROR: unsatisfiable constraints

Problemapk add docker ERROR: unsatisfiable constraints:...Solution// update repositoriesvi /etc/apk/repositories#/media/cdrom/apkshttp://mirrors.tuna.tsinghua.edu.cn/alpine/v3.8/mainhttp://...
原创
3704阅读
0评论
0点赞
发布博客于 3 年前

Alpine: get system info

Alpine: get system infolocalhost:~# cat /proc/versionLinux version 4.14.85-0-virt (buildozer@build-3-8-x86_64) (gcc version 6.4.0 (Alpine 6.4.0)) #1-Alpine SMP Tue Dec 4 17:35:30 UTC 2018localhost...
原创
113阅读
0评论
0点赞
发布博客于 3 年前

Win10: MINGW64: install zsh & git

Win10: MINGW64: install zsh & git// update$ pacman -Syu// install zsh & git$ pacman -S zsh git$ git --versiongit version 2.19.2$ zsh --versionzsh 5.6.2 (x86_64-pc-msys)// install ...
原创
852阅读
0评论
0点赞
发布博客于 3 年前

Win10: Hyper-V: 启用或关闭

Win10: Hyper-V: 启用或关闭Hyper-V Enabled: 程序 -> 启用或关闭Windows功能 -> Check "Hyper-V" -> 重启Docker for Windows [can work]VirtualBox [can not work]Hyper-V Disabled: 程序 -> 启用或关闭Windo...
原创
2729阅读
0评论
0点赞
发布博客于 3 年前

Git: Override Local Version

Git: Override Local VersionF:\trunk>git fetch --allFetching originWarning: Permanently added the RSA host key for IP address 'xxx.xx.xxx.xx' to the list of known hosts.F:\trunk>git reset --...
原创
80阅读
0评论
0点赞
发布博客于 3 年前

Git: set up global user name and email

Git: set up global user name and emailAdministrator@PC2018 MINGW64 /$ git config --global user.name "dijk"Administrator@PC2018 MINGW64 /$ git config --global user.email abc@163.com
原创
558阅读
0评论
0点赞
发布博客于 3 年前

MySQL: 查看root用户的权限

MySQL: 查看root用户的权限mysql> show grants for root;+-------------------------------------------+| Grants for root@% |+-------------------------------------------+| GRANT ALL...
原创
3202阅读
0评论
0点赞
发布博客于 3 年前

Command: Linux: disk space

Command: disk space[root@abc ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/vda1 40G 2.2G 36G 6% /devtmpfs 1.9G 0 1.9G 0% /devtmpfs 1.9G 0 ...
原创
164阅读
0评论
0点赞
发布博客于 3 年前

Chrome: go to Bookmark Manager shortcuts

Command: Chrome: go to Bookmark Manager shortcutsWin10Ctrl + Shift + OMacOption + Command + B
原创
89阅读
0评论
0点赞
发布博客于 3 年前

Problem: Spring Cloud:com.sun.jersey.api.client.ClientHandlerException:java.net.UnknownHostException

Problemcom.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: mss-eureka1Caused by: java.net.UnknownHostException: mss-eureka12018-12-05 18:22:08.232 WARN 18388 --- [ ...
原创
1325阅读
0评论
0点赞
发布博客于 3 年前

Mac: install MacPorts

Mac install MacPortsInstall Xcode and the Xcode Command Line ToolsAgree to Xcode license in Terminalsudo xcodebuild -licenseInstall MacPorts for your version of the Mac operating system[pkg]Con...
原创
140阅读
0评论
0点赞
发布博客于 3 年前

Mac: install homebrew

Mac install homebrewInstall/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Check➜ ~ brew -vHomebrew 1.5.10Homebrew/homebrew-core (git revisi...
原创
130阅读
0评论
0点赞
发布博客于 3 年前

Win10: install Chocolatey

Win10 install ChocolateyInstall with cmd.exe[Administrator]@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Ob...
原创
194阅读
1评论
0点赞
发布博客于 3 年前

Win10: install Scoop

Win10 install ScoopOpen PowerShell, and run commands belowPS C:\Users\Administrator> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')PowerShell requires an execution polic...
原创
943阅读
0评论
0点赞
发布博客于 3 年前

Alpine: install SDKMAN!

Alpine install SDKMAN!InstallInstalling SDKMAN! on UNIX-like platforms is as easy as ever. SDKMAN! installs smoothly on Mac OSX, Linux, Cygwin, Solaris and FreeBSD. We also support Bash and ZSH she...
原创
404阅读
0评论
0点赞
发布博客于 3 年前

Alpine: install docker

Alpine install dockerInstall docker// 安装docker,并使其服务端随系统启动# apk add docker# ln -s /etc/init.d/docker /etc/runlevels/default/dockerDocker mirror acceleration// Docker国内镜像加速# touch /etc/docker...
原创
238阅读
0评论
0点赞
发布博客于 3 年前

VirtualBox: Installing Alpine 3.8.1

VirtualBox Installing Alpine 3.8.1Install启动虚拟机,用光盘启动,然后用root登录AlpineLinux,没有密码敲入命令setup-alpine跟随命令行向导一步一步执行在选择安装源时,敲入“f”让系统自己寻找一个最快的源在选择安装目标盘时,敲入“sda”在选择分区类型时,敲入“sys”装完了,退出光盘,重启虚拟机Confi...
原创
201阅读
0评论
1点赞
发布博客于 3 年前

Git: git add

git addGit Version 1.xGit Version 2.xhttps://www.cnblogs.com/skura23/p/5859243.html
原创
96阅读
0评论
1点赞
发布博客于 3 年前

Intellij IDEA: 解决中文乱码问题

Intellij IDEA 解决中文乱码问题Config-> File-> Setting...-- Editor-> File EncodingsGlobal Encoding --> UTF-8Project Encoding -->
原创
224阅读
0评论
0点赞
发布博客于 3 年前

快捷键: Windows下利用微信快速截图

Windows下利用微信快速截图安装微信快捷键Alt+Ahttps://jingyan.baidu.com/article/2a138328f843b7074b134f5d.html
原创
172阅读
0评论
1点赞
发布博客于 3 年前

Skill: Notepad++: 格式化json

Notepad++ 格式化jsonDownload JSON Viewer-> 插件-> Plugin Manager-> Show Plugin Manager-> 在弹出窗口勾选JSON Viewer-> 点击右下角Install按钮Format JSON-> 插件-> JSON Viewer-> Format JSON...
原创
150阅读
0评论
0点赞
发布博客于 3 年前

Skill: Notepad++: 没有Plugin Manager

Skill: Notepad++中没有Plugin ManagerDownload搜索notepad++ plugin manager,并下载。Replace解压,可以看到下列文件/pulgins/PluginManager.dll/updater/gpup.exe将上面的两个文件分别放到Notepad++安装目录下对应的文件夹里。https://jingyan.baidu...
原创
154阅读
0评论
1点赞
发布博客于 3 年前

Win10: 修改hosts文件

Win10 修改hosts文件进入c:\Windows\System32\Drivers\etc目录// 需要管理员权限,Notepad++会自动切换管理员权限进行保存用Notepad++打开hosts文件,编辑,保存
原创
150阅读
0评论
0点赞
发布博客于 3 年前

Problem: Git: fatal Not a git repository

Git fatal: Not a git repositoryProblemfatal: Not a git repository (or any of the parent directories): .gitSolutiongit init
原创
100阅读
0评论
2点赞
发布博客于 3 年前

Sublime: 删除一行快捷键

Sublime 删除一行快捷键系统默认Ctrl+shift+k重新设置一:点击Preferences —— KeyBindings - Default 二:在打开的文件中搜索:Ctrl+shift+k三:把{ "keys": ["Ctrl+shift+k"], "command": "run_macro_file", "args": {"file": "re
原创
423阅读
0评论
1点赞
发布博客于 3 年前

Win10: 修改文件扩展名

Win10 修改文件扩展名打开文件夹 -> 查看 --> 勾选文件扩展名
原创
579阅读
0评论
0点赞
发布博客于 3 年前

Notepad++: 单行、多行、区块注释快捷键

Notepad++ 单行、多行、区块注释快捷键默认快捷键说明快捷键单行、多行注释[//方式]ctrl+k区块注释[/* */方式]ctrl+q取消单行、多行、区块注释ctrl+shift+k注释快捷键设置设置 -> 管理快捷键 -> Mainmenu选项卡[第42-44项]...
原创
353阅读
0评论
0点赞
发布博客于 3 年前

Gradle: install & config

Gradle install & configWin10Step 1. Download the latest Gradle distributionStep 2. Unpack the distributionStep 3. Configure your system environmentSystem Variables --> Path --> Edi...
原创
80阅读
0评论
0点赞
发布博客于 3 年前

Win10: Java环境变量配置

Win10 Java环境变量配置系统变量(1)新建->变量名"JAVA_HOME",变量值"C:\Java\jdk1.8.0_05"(即JDK的安装路径) (2)编辑->变量名"Path",在原变量值的最后面加上“;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin” (3)新建->变量名“CLASSPATH”,变量值“.;%JAVA_HOME%\l...
原创
73阅读
0评论
0点赞
发布博客于 3 年前

Win10: 远程桌面开启与连接

Win10 远程桌面开启与连接开启[目标机器 配置]我的电脑 --> 属性 --> 远程设置 --> 远程桌面 --> 允许远程连接到此计算机[勾选:仅允许运行使用网络级别身份验证的远程桌面的计算机连接]连接[本地机器 操作]运行 --> mstsc --> 输入目标机器ip地址 --> 输入目标机器用户名及密码...
原创
1022阅读
0评论
1点赞
发布博客于 3 年前

Intellij IDEA: Git: Commit后的几种情况

Intellij IDEA Git Commit后的几种情况Case 1: Commit --> Push右键菜单git --> Repository --> pushCase 2: Commit --> Undo Commit控制台Version Control --> Log --> Select the item ...
原创
864阅读
0评论
1点赞
发布博客于 3 年前

Git: 强制覆盖本地工程命令

Git: 强制覆盖本地工程命令git强制覆盖本地工程命令git fetch --all// 不一定是origin/master,看之前是从哪里取代码的git reset --hard origin/mastergit pullgit强制覆盖本地工程命令(合成单条执行)git fetch --all && git reset --hard origin/mast...
原创
85阅读
0评论
0点赞
发布博客于 3 年前

VirtualBox: 安装64位操作系统

VirtualBox 安装64位操作系统VirtualBox安装64位系统需要满足的条件1. 64位的cpu2. cpu允许硬件虚拟化开机进入BIOS设置界面cpu virtualization: 由Disable设置为Enable...
原创
102阅读
0评论
0点赞
发布博客于 3 年前

Win10: 命令行查看文件的MD5/SHA1/SHA256

Win10 命令行查看文件的MD5/SHA1/SHA256certutil -hashfile yourfileaddress MD5certutil -hashfile yourfileaddress SHA1certutil -hashfile yourfileaddress SHA256
原创
3031阅读
0评论
2点赞
发布博客于 3 年前

Linux: 修改指定目录下所有文件的权限

修改指定目录下所有文件的权限// 修改指定目录下所有文件的权限为全体可读、可修改、可执行# chmod -R 777 apache-tomcat-8.5.20/
原创
1497阅读
0评论
0点赞
发布博客于 3 年前

CentOS: install jdk1.8

CentOS: install jdk1.8DownloadDecompress# mkdir /usr/local/java/// Decompress to '/usr/local/java/' directory# tar -zxvf jdk-8u151-linux-x64.tar.gz -C /usr/local/java/Environment variable# ...
原创
134阅读
0评论
0点赞
发布博客于 3 年前

Win10: generate ssh key

Win10: generate ssh key// 邮箱替换成自己的ssh-keygen -t rsa -C "123456789@example.com"
原创
271阅读
0评论
0点赞
发布博客于 3 年前

VirtualBox: CentOS7.5 install VBoxLinuxAdditions

VirtualBox: CentOS7.5 install VBoxLinuxAdditions# yum install gcc# yum install gcc-c++// 版本要根据具体情况# yum install kernel-devel-3.10.0-862.el7.x86_64# reboot// 在桌面上打开增强功能包光盘,将VBoxLinuxAdditions....
原创
147阅读
0评论
0点赞
发布博客于 3 年前

Problem: xxx is not in the sudoers file. This incident will be reported

ProblemThere is a problem when user dijk execute command below:$ sudo usermod -aG vboxsf dijkor$ sudo gpasswd -a dijk vboxsfProblem: “dijk is not in the sudoers file. This incident will be rep...
原创
144阅读
0评论
0点赞
发布博客于 3 年前

Problem: xxx is not in the sudoers file. This incident will be reported

ProblemThere is a problem when user dijk execute command below:$ sudo usermod -aG vboxsf dijkor$ sudo gpasswd -a dijk vboxsfProblem: “dijk is not in the sudoers file. This incident will be rep...
原创
144阅读
0评论
0点赞
发布博客于 3 年前

Problem: MySQL: -bash: mysql: command not found

ProblemProblem: MySQL: -bash: mysql: command not foundOn CentOS, MySQL works fine, but can not use “mysql” command in terminal, and says “-bash: mysql: command not found”.Solution# cd /usr/local/...
原创
100阅读
0评论
0点赞
发布博客于 3 年前

Problem: WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured

Problem[main] WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!)...
原创
376阅读
0评论
0点赞
发布博客于 3 年前

Problem: WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured

Problem[main] WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!)...
原创
376阅读
0评论
0点赞
发布博客于 3 年前

CentOS: Command: 删除多余内核

CentOS 删除多余内核# 查看当前系统中的kernel# rpm -qa | grep kernel# 删除不需要的kernel[kernel devel...]# yum remove kernel-...# 安装需要的内核# yum install kernel-......
原创
105阅读
0评论
0点赞
发布博客于 3 年前

Problem: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took...

ProblemWARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,139,942] milliseconds.So...
原创
506阅读
0评论
0点赞
发布博客于 3 年前

CentOS: 查看ip地址

CentOS: 查看ip地址# ip addror# ifconfig
原创
149阅读
0评论
0点赞
发布博客于 3 年前

Problem: ERROR net.sf.ehcache.Cache - Unable to set localhost. This prevents creation of a GUID...

ProblemERROR net.sf.ehcache.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: dijk-centos: dijk-centosjava.net.UnknownHostException: dijk-centos: dijk-centos…Solution...
原创
509阅读
0评论
0点赞
发布博客于 3 年前

Linux: 复制文件到当前目录

Linux: 复制文件到当前目录# ./表示当前目录$ cp /home/book/poems.tar.gz ./# 查看$ lspoems.tar.gz
原创
15817阅读
0评论
3点赞
发布博客于 3 年前

CentOS: 解压命令tar

CentOS: 解压命令tar# 将poems.tar.gz 解压到 /home/book/tar -zxvf poems.tar.gz -C /home/book/
原创
406阅读
0评论
0点赞
发布博客于 3 年前

VirtualBox: CentOS设置共享文件夹

VirtualBox: CentOS设置共享文件夹主机选择一个文件夹作为共享文件夹,如:VboxShare虚拟机新建一个文件夹作为共享文件夹,如:/home/share挂载映射mount -t vboxsf VboxShare /home/share# 查看[如果成功则可以看到本机的文件]cd /home/sharels开机自动挂载vi ~/.bashr...
原创
226阅读
0评论
0点赞
发布博客于 3 年前

VirtualBox: Centos安装增强功能包VBoxLinuxAdditions

VirtualBox: Centos安装增强功能包VBoxLinuxAdditions预安装环境yum updateyum install gccyum install gcc-c++yum install makeyum install kernel-headersyum install kernel-develoryum updateyum groupinstall "D...
原创
171阅读
0评论
0点赞
发布博客于 3 年前