240 发简信
IP属地:云南
  • Slick支持postgre枚举类型

    假如你在postgre创建了一个枚举类型 merchants table schema is as below Customer postgres profile is Sl...

  • 120
    编程原则之接口适配原则

    定义 如果一个底层逻辑需要服务多个应用场景,那么应该保持暴露独立 例子 假如有一个访客访问,它需要满足同一个后台服务于不同低区:北京、上海、香港,但是不同地区允许有不同需求,...

  • 120
    Kali linux 开启ssh

    参考 https://www.lmgsecurity.com/enable-start-ssh-kali-linux/ install_ssh.sh 虚拟机无法远程,设置虚拟...

  • Portainer on Windows 10

    转自 https://gist.github.com/SeanSobey/344edd228922ffd4266ae7d451421ab6 Here I have 2 met...

  • Kali linux安装docker

    Kali linux安装docker 首先kali linux是基于Debion,选择安装docker的版本为 编写安装脚本install_docker.sh

  • linux安装sublime text3

    linux安装sublime text3 首先官网下载sublime text3 制作安装脚本install_sublime3.sh脚本内容如下 执行安装脚本 安装完成测试

  • 120
    linux apt-get 设置国内镜像

    清华源地址 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 在桌面新建tsinghua.list tsinghua.lis...

  • Python collections.namedtuple源码分析

    如何使用namedtuple namedtuple是一种带名称的tuple,你只需要引入它就可以使用了 from collections import namedtuple ...

  • Python yield关键字

    Python中yield关键字解释 这篇文章关于python的yield关键字。并且文章中会解释什么是yield,generator和iterables。 解释yield之前...