Git Product home page Git Product logo

some-demo's Introduction

some-demo about everything

数据结构与算法

设计模式

整理的一些文档(doc文件夹)

线程

  1. 线程池的数据结构
  2. 自定义一个线程池

jdk8流操作

  1. sort

PKI 公钥基础设施

  1. 摘要算法
    md5
    sha1
    sha*: where * is 224,256,384 and 512
    sha3-*: where * is 256,384 and 512
    
  2. 对称加密算法(不属于pki)
    AES(ECB,CBC,CTR,OCF,CFB)
    
  3. 非对称加密算法
  4. 签名验签
  5. csr生成
  6. 自签名证书生成
    .DER .CER,文件是二进制格式,只保存证书,不保存私钥。
    .PEM,一般是文本格式,可保存证书,可保存私钥。
    .CRT,可以是二进制格式,可以是文本格式,与 .DER 格式相同,不保存私钥。
    .PFX .P12,二进制格式,同时包含证书和私钥,一般有密码保护。
    .JKS,二进制格式,同时包含证书和私钥,一般有密码保护。
    
  7. 证书颁发
    X.509 Certificate v3
    
  8. CRL颁发(jdk自带的没有找到,需要bouncyCastle依赖)
    compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.64'
    X.509 CRL v2
    
  9. 电子签章

其他内容

  1. 注解及注解上属性值的获取
  2. String类型在方法中的传地址问题
  3. 几种基本数据类型跟其封装类的比较
  4. 浮点型精度问题
  5. 单例枚举的线程安全
  6. String类下的split方法分割连续字符
  7. switch不能传入null
  8. protoBuf-demo
  9. kubernetes介绍
  10. J.U.C部分demo

vi ~/.bashrc

function dockerbash {
        docker run -it --rm --volumes-from $1 ubuntu /bin/bash
}

dockerbash redis

webm转mp4

  1. 先转成规范的webm

    ffmpeg -fflags +genpts -i .\京汉母亲节.webm -r 24 1.webm

  2. 再转成mp4

    ffmpeg -i 1.webm 1.mp4

some-demo's People

Contributors

834250018 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.