码迷,mamicode.com
首页 >  
搜索关键字:all in one    ( 50303个结果
Flutter.. 两个点语法含义
在Flutter编程中,会经常用到".."的语法糖,如下 state.clone() ..splashImg = action.img ..famousSentence = action.famousSentence; 其实以上代码等同于 state.clone() state.splashImg ...
分类:其他好文   时间:2020-07-23 22:30:25    阅读次数:171
存储过程递归查询
用户表结构中包含用户及其子用户,使用以下方法递归查询当前用户及其子用户信息 with Tusers as(select UserID,PUserID from [Base].[WGUser] where UserID=1union allselect B.UserID,B.PUserID from ...
分类:其他好文   时间:2020-07-23 22:28:24    阅读次数:71
pytest 生成测试报告
pip安装 pip install pytest-html 编写脚本 import pytest class TestClass(object): def test_one(self): x = "this" assert 'h' in x def test_two(self): x = "hell ...
分类:其他好文   时间:2020-07-23 16:50:29    阅读次数:121
Linux安装Oracle,弹出的oracle安装界面为乱码(方块)处理方法
Linux安装Oracle,弹出的oracle安装界面为乱码(方块)处理方法原因分析:oracle安装默认没有中文语言包,只有用英文。解决方法:英文临时解决:$exportLANG=en_US英文永久解决:vi/etc/sysconfig/i18nLANG="en_US"(不会出现乱码)LANG="zh_cn.UTF-8"(中文,安装oracle会出现界面乱
分类:数据库   时间:2020-07-23 16:37:35    阅读次数:135
python每日一练之单元测试
官方文档地址:https://docs.python.org/zh-cn/3.7/library/unittest.html#class-and-module-fixtures 一、关于一些基本概念 Test fixture 官方文档把这个词翻译成“测试脚手架”,个人理解,是启动测试前的准备工作,根 ...
分类:编程语言   时间:2020-07-23 15:49:59    阅读次数:88
git常用命令记录
git reset --soft HEAD^ //用于撤销git commit的内容 git cherry-pick --abort //用于取消从其他分支clone的修改 git stash //缓存当前修改,用于暂时忽略当前修改,提交其他修改 git stash pop //还原stash的修改 ...
分类:其他好文   时间:2020-07-23 15:48:02    阅读次数:69
SpringCloud服务注册中心
SpringCloud服务注册中心 Spring Cloud 是一系列框架的有序集合,如服务注册发现、配置中心、消息总线、负载均衡、断路器等,都可以用 Spring Boot 的开发风格做到一键启动和部署。 下面我们介绍 Spring Cloud 组件之一:服务注册中心Eureka的搭建。 注册中心 ...
分类:编程语言   时间:2020-07-23 09:22:43    阅读次数:105
00 what is C Programming?C编程是什么?
C语言简介 C is a programming language that lets us give a computer very specifio commands. C语言是一种编程语言,它让我们可以给计算机非常特殊的命令。 C was invented in 1972. It's one ...
分类:其他好文   时间:2020-07-23 09:17:28    阅读次数:69
虚拟机连接本地mysql问题
1.问题描述 数据库在本地,而虚拟机需要访问本地mysql时出现问题。无法连接问题 2.解决过程 在网上找了两个答案很有帮助。 https://blog.csdn.net/qq_42560722/article/details/80857580?utm_medium=distribute.pc_re ...
分类:数据库   时间:2020-07-22 23:34:08    阅读次数:93
Django手写分页
def get(self, request, *args, **kwargs): # 获取当前页码 pg = int(request.GET.get('page', 1)) obj = Student.objects.all().order_by("id") # 创建分页器对象 page_obj = ...
分类:其他好文   时间:2020-07-22 20:58:35    阅读次数:93
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!