会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jfxu
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2020年8月6日
Spring基础
摘要: Spring IoC 容器 IoC:Inversion of Control -->控制反转 控制反转:是通过描述(可以是xml或者注解)并通过第三方(springIOC容器)产生或获取特定对象的方式; DI:Dependency Injection -->依赖注入 依赖注入:依赖指的是一种关系,如
阅读全文
posted @ 2020-08-06 09:32 jfxu
阅读(211)
评论(0)
推荐(0)
2019年12月8日
IDEA导出jar包和使用jar包
摘要: 1.jar包要求 新建 maven project,设置号下面三个配置,在引用jar的时候需要填写 <groupId>com.xxx.common</groupId> <artifactId>dataprovider</artifactId> <version>1.0.0.RELEASE</vers
阅读全文
posted @ 2019-12-08 00:24 jfxu
阅读(3304)
评论(0)
推荐(0)
2019年12月5日
svn的安装和使用
摘要: 1.直接安装 sudo apt-get install subversion 2.创建版本库 sudo mkdir /home/.svn #创建隐藏文件夹 sudo svnadmin create /home/.svn/repos 3.了解版本库,进入版本库查看生成的相关文件 cd /home/.svn/repos/ ls conf db format hooks...
阅读全文
posted @ 2019-12-05 00:30 jfxu
阅读(405)
评论(0)
推荐(0)
git
摘要: git 1.初始化仓库 git init 2.远程操作 2.1.添加远程链接 git remote add {别名,可代替url} url eg: git remote add pb git://github.com/paulboone/ticgit.git 2.2.查看远程库 git remote
阅读全文
posted @ 2019-12-05 00:26 jfxu
阅读(613)
评论(0)
推荐(0)
shell 执行方式
摘要: 1.source(或者.) 当使用source运行脚本程序时,系统并不会创建子shell,而是将脚本中的命令放到shell父中运行 2.sh or bash 当使用sh或者bash运行shell脚本程序时,系统将创建一个子shell执行脚本中的命令 export 的作用是为当前shell设置环境变量
阅读全文
posted @ 2019-12-05 00:18 jfxu
阅读(457)
评论(0)
推荐(0)
单例模式
摘要: 装饰器实现 # singleton.py import pymongo from functools import wraps def singleton(cls): _instance = {} @wraps(cls) def get_instance(*args, **kwargs): if c
阅读全文
posted @ 2019-12-05 00:14 jfxu
阅读(103)
评论(0)
推荐(0)
2019年3月28日
Docker基础操作
摘要: 安装 ubuntu16.04安装docker win10安装docker 1. 打开控制面板 程序 启用或关闭windows功能 勾选Hyper V 根据提示进行重启(打开这个功能则无法再使用VMware和virtualbox了) 1. "docker安装文件下载链接" (需要登陆dockers,如
阅读全文
posted @ 2019-03-28 22:57 jfxu
阅读(278)
评论(0)
推荐(0)
2019年3月26日
requests模块
摘要: import requests # GET请求 url = 'http://httpbin.org/get' r = requests.get(url) print(r.status_code,r.reason) print(r.text) # GET带参数请求 r = requests.get(u
阅读全文
posted @ 2019-03-26 14:56 jfxu
阅读(126)
评论(0)
推荐(0)
2019年3月14日
pymsql简单的使用
摘要: 不废话直接上代码:
阅读全文
posted @ 2019-03-14 21:58 jfxu
阅读(137)
评论(0)
推荐(0)