码迷,mamicode.com
首页 >  
搜索关键字:sel    ( 12804个结果
CSS Flexbox 弹性盒子模型
CSS Flexbox 弹性盒子模型 设置元素样式为 display: flex 或 display: inline-flex, 让元素变成flex容器, 从而可以通过flex模式布局它的子元素. flex-direction: 值 row | row-reverse | column | colu ...
分类:Web程序   时间:2018-01-12 22:45:49    阅读次数:196
mysql 事务的隔离级别
MySQL InnoDB事务的隔离级别有四级,默认是“可重复读”(REPEATABLE READ)。 未提交读(READ UNCOMMITTED)。另一个事务修改了数据,但尚未提交,而本事务中的SELECT会读到这些未被提交的数据(脏读)。 提交读(READ COMMITTED)。本事务读取到的是最 ...
分类:数据库   时间:2018-01-12 22:44:51    阅读次数:252
python实现单例模式
有这么一种场景,我们把数据封装到类体或类的某个方法里,然而我们new出这个类只是为了拿到这部分数据,那么当多次这样调用的时候,每次都来拿数据并放到内存中大大浪费了内存。 那我们就可以想,我们拿到一次数据以后,把它放到内存里,下次要用同样的时候做个判断,如果内存里有,那么就不用再取了。 这个时候就要设 ...
分类:编程语言   时间:2018-01-12 21:20:34    阅读次数:159
Comparison of programming languages
The following table compares general and technical information for a selection of commonly used programming languages. See the individual languages' a ...
分类:其他好文   时间:2018-01-12 21:18:29    阅读次数:176
EF修改记录
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EFDemo { class Program { static void Main(string[] arg... ...
分类:其他好文   时间:2018-01-12 19:42:55    阅读次数:151
Python下Mysql数据连接池——单例
# coding:utf-8 import threading import pymysql from DBUtils.PooledDB import PooledDB from app.common.file_config import get_config class DbPool(object... ...
分类:数据库   时间:2018-01-12 18:11:35    阅读次数:1684
Unity3D UGUI Image与父级保持比例缩放
1 using UnityEngine; 2 using System.Collections; 3 using UnityEngine.UI; 4 5 public class X_RectAutoSize : MonoBehaviour 6 { 7 //原始尺寸 8 private Vector... ...
分类:编程语言   时间:2018-01-12 17:10:31    阅读次数:1685
Flex布局
Flex布局flex布局是 Flexible Box 的缩写,意为"弹性布局",用来为盒状模型提供最大的灵活性。任何一个容器都可以指定为 Flex 布局,包括行内元素,例如: .box{ display: inline-flex;}Webkit 内核的浏览器,必须加上-webkit前缀。.box{ ...
分类:其他好文   时间:2018-01-12 13:29:43    阅读次数:159
安装配置linux6多路径
安装 multipath软件yum -y install device-mapper-multipath 启动守护进程mpathconf --enable --with_multipath y 启动multipath 进程service multipath start 查看多路径设备 multipath -v2multipath -ll配置multipath
分类:系统相关   时间:2018-01-12 11:33:05    阅读次数:273
oracle 在xml中批量插入,批量修改及多组条件查询
最近公司用ibatis开发项目,本来可以用存储过程处理批量插入,批量修改及多组条件查询;但由于使用模块相对较小,暂时就在xml中配置,以前没有在xml做过类似处理,有必要记录一下;好了,代码如下: 如有问题,请大家指出来,谢谢! ...
分类:数据库   时间:2018-01-12 00:01:17    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!