- 博客(59)
- 资源 (2)
- 收藏
- 关注
原创 Linux安装MySQL5.7
https://blog.youkuaiyun.com/qq_37598011/article/details/93489404
2020-06-14 12:39:32
201
原创 使用Nexus3搭建Maven私服+上传第三方jar包到本地maven仓库
https://www.cnblogs.com/endv/p/11204704.html
2020-06-11 16:07:14
715
原创 k8s-(maser节点api-server、scheduler、controller-manager.sh)
https://www.cnblogs.com/zhaojingyu/p/12290692.html下载地址https://dl.k8s.io/v1.13.1/kubernetes-server-linux-amd64.tar.gzhttps://dl.k8s.io/v1.13.1/kubernetes-client-linux-amd64.tar.gz
2020-04-30 16:26:03
232
原创 docker gitlab 中文版
version: '3'services: web: image: 'twang2218/gitlab-ce-zh:10.5' restart: always hostname: '10.1.37.97' environment: TZ: 'Asia/Shanghai' GITLAB_OMNIBUS_CON...
2020-04-26 11:36:39
388
原创 Docker 的 gitlab 启动命令
docker run -d -h gitlab -p 1022:22 -p 8010:80 -p 8443:443 \ -v /usr/local/docker/gitlab/config:/etc/gitlab \ -v /usr/local/docker/gitlab/logs:/var/log/gitlab \ -v /usr/local/docker/gitlab/da...
2020-04-25 19:38:56
953
原创 图的简单实现
package algo;import java.util.ArrayList;import java.util.LinkedList;import java.util.PriorityQueue;import java.util.Queue;public class DepthFirstSearch { public ArrayList<Vertex> arr; ...
2020-03-28 19:26:54
144
原创 归并算法(递归调用)
package test.com.li;import java.util.Arrays;public class MergeSort<E extends Comparable<? super E>> { public void mergeSort(E[] a, E[] tmpArray, int left, int right) { if (left <...
2020-03-24 12:32:47
177
原创 判断两个数组形成的树是否相同
package test.com.li;public class TreeConsist<E extends Comparable<? super E>> { public static void main(String[] args) { int[] a = { 3, 1, 4, 2 };// Integer[] b = { 3, 1, 4, 2 }; ...
2020-03-24 08:42:22
129
原创 优先队列
package com.test;import java.util.Arrays;public class BinaryHeap<E extends Comparable<? super E>> { private E[] theList; private int currentSize; private int hole; pu...
2020-03-18 12:26:31
119
原创 treemap
package com.test;public class BinarySearchTree<E extends Comparable<? super E>> { public boolean isEmpty(TreeNode<E> node) { if (node == null) return true;...
2020-03-06 18:00:00
151
原创 树 数值结构
#include <stdio.h>typedef struct node{ int data; struct node *lchild; struct node *rchild; int count;}NODE,*ptr;void insert(NODE *node,NODE *inode){ if(node &&inode){ if(nod...
2020-02-24 09:42:24
167
原创 链表 C语言 有问题
#include <stdio.h>typedef struct linkList { int data; struct linkList *next;} LinkList;struct linkList * find_list(struct linkList *l , int k){ struct linkList *p; int i = ...
2020-02-21 15:05:16
152
原创 链表结构 C语言
#include <stdio.h>typedef struct linkList { int data; struct linkList *next;}LinkList ;int main(){ LinkList *p ; if(p -> next){ printf("%p",p); printf("%p",p -> next); }}...
2020-02-19 17:58:27
98
原创 2 + 22 + 222 + 2222 ..... 代码 递归算法
#include <stdio.h>int k;int con;typedef struct node{ int value; int sum;} NODE;NODE * sum(NODE *node, int count){ if(count == 1){ printf("----\n"); node -> value = k; node -&...
2020-02-19 17:10:05
2826
原创 windows下postgresql数据库备份和还原
1、通过cmd进入数据库的bin目录cd C:\Program Files\PostgreSQL\9.6\bin2、执行pg_dump备份命令,localhost 或者IPpg_dump -h host-pport -Uusername-d dbname> C:\dbname.bak执行完后,会提醒输入口令,就是要输入密码示例:pg_dump -h localh...
2020-02-14 14:59:10
662
原创 C语言 快速排序算法
#include <stdio.h>void qsort(int v[],int left,int right);void swap(int v[], int i, int j);void prtArr(int *v,int len);int main(){ int v[] = {8,5,6,7}; prtArr(v,4); qsort(v, 0, 3); pri...
2020-02-14 10:18:47
243
原创 SSH能够连接,SFTP不能连接问题
1、看下服务路径[root@*****]# locate sftp-server/usr/libexec/openssh/sftp-server/usr/share/man/man8/sftp-server.8.gz2、看下配置文件中信息:# vi /etc/ssh/sshd_config# override default of no subsystemsSubsyste...
2020-02-13 17:28:13
2154
原创 打印所有的输入行
#include <stdio.h>#include <string.h>#define MAXLINES 500char *lineptr[MAXLINES];int readlines(char *lineptr[], int nlines);void writelines(char *lineptr[], int nlines );void qsor...
2020-02-11 17:51:26
102
原创 文件复制,注意流关闭的顺序
public static void main(String[] args) throws IOException { FileOutputStream out = null; FileInputStream in = null; BufferedOutputStream bos = null; BufferedInputStream...
2020-02-05 10:19:22
544
原创 sftp 配置 log
1、修改ssh的配置vi /etc/ssh/sshd_config在36行左右修改如下配置Subsystem sftp /usr/libexec/openssh/sftp-server -l INFO -f local5 LogLevel INFO2、修改rsyslog配置vi /etc/rsyslog.conf在最后增加如下配置auth,authpriv.*...
2020-02-04 10:11:23
921
原创 二分法
int index = -1; boolean flg = false; while (low <= high) { System.out.println(Integer.toBinaryString(low + high)); int mid = (low + high) >>> 1;...
2020-01-16 10:22:08
66
原创 springboot的pom.xml
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org...
2020-01-14 14:47:51
215
原创 冒泡排序
package algorithm;import java.util.Arrays;public class Bubble { public static void main(String[] args) { int[] aa=new int[] {1,5,4,3,10}; System.out.println(Arrays.toString(sor...
2019-12-19 09:39:07
88
原创 linux常用命令
man --manuel 查看命令name 或者文件/选项配置文件 NAME存放信息 文件格式whatis 命令简短信息apropos 配置文件whereiswhichiswhichman帮助命令--help查看命令选项help 查看内核的内置命令,比如help umask,help if查看if 怎么写的用户管理---useadd增加用户passwdsecurecrt...
2019-12-05 08:54:23
215
原创 00:00-24:00半点连续时间
[00:30, null, 01:30, 02:00, null, 03:00, 03:30, 04:00, 04:30, 05:00, 05:30, 06:00, 06:30, 07:00, 07:30, 08:00, 08:30, 09:00, 09:30, 10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 13:00, 13:30, 14:00, 14:30...
2019-12-03 09:28:24
504
原创 css弹性布局。两段对齐,中间等分
.flex-between{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;}
2019-11-27 18:18:04
4541
原创 Linux中ssh介绍与ssh+key密钥登陆部署
https://www.cnblogs.com/2lianzhang/p/8058661.html
2019-11-06 17:52:29
188
原创 linux SFTP 环境的搭建测试
在某些环境中,系统管理员想要允许极少数用户在可以传输文件到Linux机器中,但是不允许使用 SSH。要实现这一目的,我们可以使用SFTP,并为其构建chroot环境。SFTP > chroot背景:SFTP是指SSH文件传输协议(SSH File Transfer protocol)或安全文件传输协议(Secure File Transfer Protocol),它提供了可信数据...
2019-11-05 16:42:24
1598
原创 linux下关于sftp服务器的使用
http://www.ajyg.com/zz.php?s=linux%E6%9F%A5%E7%9C%8Bsftp%E7%8A%B6%E6%80%81
2019-11-05 14:27:47
120
kubernetes-server-linux-amd64.tar.gz
2020-04-30
mingw5.1.6.zip
2020-02-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人