vue 项目实战 仿抽屉网站 ALL.vue ALL.vue View Code DUANZI.vue DUANZI.vue View Code DETAIL.vue DETAIL.vue View Code NaveList.vue NaveList.vue View Code NEWS.vue ...
分类:
其他好文 时间:
2019-11-20 23:15:49
阅读次数:
74
一、列表 list 1 # 列表 2 3 ''' 4 类似str,可以进行切片 5 ''' 6 7 li = ['123', [1, 2, 3], 55, 'we all in ', 'Tom', ''] 8 print(li[0:2]) 9 print(li[::]) 10 print(li[1] ...
分类:
编程语言 时间:
2019-11-20 20:02:14
阅读次数:
68
maven版本依赖 <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>5.0.0.Alpha2</version> </dependency> 服务端代码的编写顺序。 得到 Ser ...
分类:
Web程序 时间:
2019-11-20 19:30:40
阅读次数:
102
MySQL 优化 表关联查询时务必遵循 小表驱动大表 原则; 使用查询语句 where 条件时,不允许出现 函数,否则索引会失效; 使用单表查询时,相同字段尽量不要用 OR,因为可能导致索引失效,可以使用 UNION 替代; LIKE 语句不允许使用 % 开头,否则索引会失效; 组合索引一定要遵循 ...
分类:
数据库 时间:
2019-11-20 15:28:09
阅读次数:
79
一、git 使用 如果出现以上的报错,使用一下解决: git config --unset-all credential.helper git config --global credential.helper credential-wincred 二、单独的仓库: 1、添加,删除远端仓库地址: g ...
分类:
其他好文 时间:
2019-11-20 13:04:50
阅读次数:
85
ByteBuffer Test: package java_guide; import java.nio.ByteBuffer; public class ByteBufferMethods { public static void main(String[] args) { //分配缓冲区(All ...
分类:
其他好文 时间:
2019-11-19 16:59:47
阅读次数:
86
Reference源码分析 首先我们先看一下Reference类的注释: /** * Abstract base class for reference objects. This class defines the * operations common to all reference obje ...
分类:
其他好文 时间:
2019-11-19 15:45:59
阅读次数:
73
// // ViewController.swift // Label // // Created by 赵士军 on 2019/11/18. // Copyright © 2019 赵士军. All rights reserved. // import UIKit class ViewContro ...
分类:
移动开发 时间:
2019-11-19 15:42:36
阅读次数:
105
WPF弹性、惯性效果。已发布在了一些网站,都是这里写的 代码改编自微软示例代码库 // Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Mi ...
2019-11-19 00:19:02 参考大佬:https://github.com/LinHaoo/chat Makefile: all:server client server:server.cpp g++ $^ -o $@ client:client.cpp g++ $^ -o $@ cle ...
分类:
编程语言 时间:
2019-11-19 01:06:21
阅读次数:
164