Irene181 Irene181
4年前
盘点Python基础之字典的那些事儿
一、前言如果有列表,需要对"xiaoWang"这个名字进行修改,则要通过对应的索引值进行代码修改。nameList'xiaoZhang','xiaoWang','xiaoLi'nameList1'xiaoxiaoWang如果列表的顺序发生了变化,如下:nameList'xiaoWang','xiaoZ
Wesley13 Wesley13
4年前
java系统国际化的配置
本代码来源于开源MyExam系统首先写好资源文件:message\_en\_US.properties等等springmvcservlet.xml文件<!国际化操作拦截器<beanid\_"messageSource"_class\_"org.springframework.context.support.Reso
CuterCorley CuterCorley
4年前
C语言基础习题50例(八)36-40
习题36求100之内的素数。实现思路:使用函数实现,并循环遍历依次判断。代码如下:cinclude<stdio.hinclude<math.hintmain(){intisPrime(intn);inti,count0;for(i2;i<101;i){if(isPrime(i)){
Stella981 Stella981
4年前
Docker部署SpringBoot项目
SpringBoot项目代码首先构建一个简单的SpringBoot项目,然后给项目添加Docker支持,最后对项目进行部署。在pom.xml中添加SpringBoot依赖,并添加Web支持。<parent<groupIdorg.springfr
Stella981 Stella981
4年前
HTML的基础入门语法。(学习前端开发必备!!!)
1.HTML的基本操作!(https://oscimg.oschina.net/oscnet/up8801ecbcb36c259f50e9592ef0a8f6b1.png)2.HTML的复习代码<!DOCTYPEhtml<htmllang"en"<head
Wesley13 Wesley13
4年前
Spring接收参数的几种形式
通过Springcontroller的机制自动绑定参数form表单或者通过url传递过来的参数,如果参数name和预定义的name一致则可以直接绑定。Controller代码@RequestMapping("test")publicvoidtest(intcount){}或者@Req
Stella981 Stella981
4年前
Linux内核修炼之framebuffer分析
Linux(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Flib.csdn.net%2Fbase%2Flinux)源代码包中/document/fb/framebuffer.txt有例如以下介绍:Theframebufferdeviceprovidesanabstract
Stella981 Stella981
4年前
Ecshop用户中心的收藏列表里显示商品缩略图
1)、修改includes/lib\_clips.php文件将下面代码$sql'SELECTg.goods_id,g.goods_name,g.market_price,g.shop_priceASorg_price,'.修改为$sql'SELECTg.goods_id,g.goods_nam
Stella981 Stella981
4年前
Git本地库既关联GitHub又关联Gitee
创建代码仓库使用gitee举例(github和gitee差不多)1.在gitee右上角点击,选择新建仓库!(https://imgblog.csdnimg.cn/20200808173110217.png?xossprocessimage/watermark,type_ZmFuZ3poZW5naGVpdGk,shado
Wesley13 Wesley13
4年前
Unity接入Steamworks
一.将scrpts/Steamworks.net/SteamManager组件添加到游戏物体上二.修改SteamManager的代码为游戏的id如图所示                       !(https://oscimg.oschina.net/oscnet/c45a64a2909d58f98