十月飞翔 十月飞翔
3年前
Docker -- 将容器打包成新镜像,将镜像打包成文件和加载镜像包
1.保存容器为新镜像  命令:dockercommitm“”a“”CONTAINERID给新的镜像命名dockercommita"runoob.com"m"myapache"a404c6c174a2bb:v12.保存镜像为文件  命令:dockersaveo要保存的文件名要保存的镜像例子:root@iZbp
Stella981 Stella981
3年前
Sentinel
!9.28头图.png(https://ucc.alicdn.com/pic/developerecology/af7ab6c27c3c4c3aa5dc2cce3c9e8ab9.png)\\导读:\\2020年,Sentinel推出Go原生版本SentinelGolang(https://www.oschina.net/ac
Stella981 Stella981
3年前
ASMSupport教程4.2
<h24.2生成Return操作</h2<p这一节我们将讲述如何生成return操作,我们将生成如下代码:</p<divstyle"paddingbottom:0px;margin:0px;paddingleft:0px;paddingright:0px;display:inline;float:none;pa
Stella981 Stella981
3年前
SpringBoot项目里,让TKmybatis支持可以手写sql的Mapper.xml文件
!(https://oscimg.oschina.net/oscnet/272991e6205887d7808fb4971179d2d73ad.png)SpringBoot项目通常配合TKMybatis或MyBatisPlus来做数据的持久化。对于单表的增删改查,TKMybatis优雅简洁,无需像传统mybatis那样在mapper.xml文件
Stella981 Stella981
3年前
Python:UTF
!/usr/bin/envpythoncoding:utf8UTF8转换成GBK编码tempdecodeencode原理就是把UTF8转换成万国码,再给万国码进行编码转换成GBK,在python2.x里面这么用"""给变量temp
Wesley13 Wesley13
3年前
NASA的10条编码规则
!(https://pic4.zhimg.com/80/v2ef0f8f824dff45564d339384127c5d17_hd.jpg)!Alt(https://imgblog.csdnimg.cn/20200121133818900.pngpic_center)关于NASA的10条编程规则,他们曾表示:这些规则的作用就像汽车上
Stella981 Stella981
3年前
CentOS7 安装 redis
1、安装部署redis需要用到的工具具体情况来安装,可能还有有其他的工具和依赖包需要安装。yumyinstallwgetvimgcc2、下载redis安装包这里拿5.0.5版本举例。wgethttp://download.redis.io/releases/redis5.0.5.tar.g
Wesley13 Wesley13
3年前
PHP 随机数 C扩展随机数
由于要用到固定长度的随机字符串。首先是一段PHP代码        $str_md5md5(uniqid());$rand  mt_rand(1, 28);$str1substr($str_md5,$rand,6);$rand  mt_rand(1, 28);$str2substr($
Stella981 Stella981
3年前
Linux电源管理
前言1\. 什么是regulator?   regulator翻译为"调节器",分为voltageregulator(电压调节器)和current(电流调节器)。一般电源管理芯片(PowerManagementIC)中会包含一个甚至多个regulator。2\. regulator有什么作用?  通常的作用是给电子设备
Stella981 Stella981
3年前
Bochs安装
1:aptgetinstallbochs   在ubuntu中使用aptgetinstallbochs可以安装bochs此时bochs无法调试内核程序,只能充当虚拟机的角色运行内核或者操作系统2:如果想使用带调试功能的bochs安装方法为:    (1):下载bochs的linux源码tar包,地址:http://bo