• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 41 下一页

2018年2月26日

python pipenv 包管理
摘要: 原文链接:https://robots.thoughtbot.com/how-to-manage-your-python-projects-with-pipenv 翻译者:Jiong 在thoughtbot,我们用Ruby和Rails工作,但通常我们总是尝试使用最合适的语言或者框架来解决问题。我最近 阅读全文
posted @ 2018-02-26 21:34 会飞の鱼 阅读(181) 评论(0) 推荐(0)
 
使用火狐浏览器访问双向认证的k8s api
摘要: 首先 不能在火狐里对要访问的网址添加例外 打开 选项->高级->查看证书->证书机构->导入。先择服务端ca.crt后根据提示导入证书 生成p12文件 openssl pkcs12 -export -clcerts -in cs_client.crt -inkey cs_client.key -ou 阅读全文
posted @ 2018-02-26 14:19 会飞の鱼 阅读(1189) 评论(0) 推荐(0)
 
k8s api
摘要: https://kubernetes.io/docs/reference/ 阅读全文
posted @ 2018-02-26 14:05 会飞の鱼 阅读(152) 评论(0) 推荐(0)
 
常用的排序算法的时间复杂度和空间复杂度
摘要: 排序法 插入排序 阅读全文
posted @ 2018-02-26 09:29 会飞の鱼 阅读(159) 评论(0) 推荐(0)
 

2018年2月12日

flask 启动
摘要: export SECRET_KEY=qq77aa88 export MAIL_SERVER=smtp.qq.com export MAIL_USERNAME=591867837@qq.com export MAIL_PASSWORD=xxibvizgihlmbcgb export FLASKY_AD 阅读全文
posted @ 2018-02-12 10:26 会飞の鱼 阅读(142) 评论(0) 推荐(0)
 

2018年2月11日

flask config
摘要: class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' MAIL_SERVER = os.environ.get('MAIL_SERVER', 'smtp.qq.com') MAIL_PORT 阅读全文
posted @ 2018-02-11 16:15 会飞の鱼 阅读(169) 评论(0) 推荐(0)
 

2018年2月10日

flask 数据迁移
摘要: python flasky.py shell db.create_all() from app.models import User mhc = User("mhc") >>> db.session.add(mhc)>>> db.session.commit() if __name__ == '__ 阅读全文
posted @ 2018-02-10 21:47 会飞の鱼 阅读(514) 评论(0) 推荐(0)
 

2018年2月9日

docker daemon 配置代理
摘要: vi /etc/systemd/system/docker.service.d/http-proxy.conf [Service]Environment="HTTP_PROXY=socks5://192.168.0.211:7070" "HTTPS_PROXY=socks5://192.168.0. 阅读全文
posted @ 2018-02-09 16:35 会飞の鱼 阅读(243) 评论(0) 推荐(0)
 

2018年2月7日

dbcm with kubenetes
摘要: 1. create consul # kcompose convert -f /root/gitSwarm/dbcm-base-managers/compose/consul.yml genetate two files: consul-deployment.yaml consul-service. 阅读全文
posted @ 2018-02-07 18:06 会飞の鱼 阅读(366) 评论(0) 推荐(0)
 
curl 访问 k8s
摘要: curl https://mhc:6443/api --cacert ssl/ca.crt --key client_ssl/cs_client.key --cert client_ssl/cs_client.crt { "kind": "APIVersions", "versions": [ "v 阅读全文
posted @ 2018-02-07 13:02 会飞の鱼 阅读(320) 评论(0) 推荐(0)
 
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 41 下一页