码迷,mamicode.com
首页 > 2019年03月16日 > 全部分享
python list的extend和append方法
append: Appends object at the end. gives you: [1, 2, 3, [4, 5]] extend: Extends list by appending elements from the iterable. gives you: [1, 2, 3, 4, ...
分类:移动开发   时间:2019-03-16 09:50:25    阅读次数:192
ts问题处理(2): 'Promise' only refers to a type, but is being used as a value here.
error TS2585: 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` co ...
分类:其他好文   时间:2019-03-16 09:50:07    阅读次数:2939
六、order set结构及命令详解
1、zadd key score1 value1 score2 value2 .. 添加元素 2、zrem key value1 value2 .. 作用: 删除集合中的元素 3、zremrangebyscore key min max 作用: 按照socre来删除元素,删除score在[min,m ...
分类:其他好文   时间:2019-03-16 09:49:41    阅读次数:194
Python描述符的使用
Python描述符的使用 前言 作为一位python的使用者,你可能使用python有一段时间了,但是对于python中的描述符却未必使用过,接下来是对描述符使用的介绍 场景介绍 为了引入描述符的使用,我们先设计一个非常简单的类: class Product(): def __init__(self ...
分类:编程语言   时间:2019-03-16 09:49:13    阅读次数:157
HTML简介
超文本标记语言, 标准通用标记语言下的一个应用。 超文本就是指页面内可以包含图片、 链接,甚至音乐、 程序等非文字元素。 超文本标记语言的结构包括 “头”部分(英语:Head)、和“主体”部分(英语:Body),其中“头”部提供关于网页的信息,“主体”部分提供网页的 具体内容。 HTML英语意思是 ...
分类:Web程序   时间:2019-03-16 09:49:01    阅读次数:190
调用键盘鼠标钩子的方法
using myhook; MouseHook mouseHook = new MouseHook(); KeyboardHook keyboardHook = new KeyboardHook(); #region [调用方法] #region [查找焦点控件句柄] [DllImport("use ...
分类:其他好文   时间:2019-03-16 09:48:33    阅读次数:133
I/O:FileLock
FileLock: ...
分类:其他好文   时间:2019-03-16 09:48:15    阅读次数:136
文件辅助类封装
using System;using System.Collections.Generic;using System.IO;using System.Text; namespace Manjinba.Communication.Common.Utils{ /// <summary> /// 文件辅助 ...
分类:其他好文   时间:2019-03-16 09:48:01    阅读次数:205
自学华为IoT物联网_06 智慧家庭物联网常见问题及解决方案
点击返回自学华为IoT物流网 自学华为IoT物联网_06 智慧家庭物联网常见问题及解决方案 1. 家庭中遇到的问题 2.1 华为智慧家庭概念的发展历程 2.2 华为智慧家庭的解决方案架构 智慧家庭主要针对4大业务: 家庭监控和安全:摄像头、报警器等 家庭自动化和智能管理:家电分三大类,白电(可以替代 ...
分类:其他好文   时间:2019-03-16 09:47:45    阅读次数:217
HBASE--MapReduce
1、查看 HBase 的 MapReduce 任务的执行 $ bin/hbase mapredcp 2、执行环境变量的导入 $ export HBASE_HOME= ~/hadoop_home/hbase-1.2.6$ export HADOOP_HOME= ~/hadoop_home$ expor ...
分类:其他好文   时间:2019-03-16 09:47:30    阅读次数:232
Leetcode 970. Powerful Integers
Brute Force(暴力) ...
分类:其他好文   时间:2019-03-16 09:47:19    阅读次数:156
jquery常用指令
table中td多行展示: div模态框: 绑定点击事件 寻找节点 孩子 .children() 第一个孩子:.children(":first") 最后一个.children(":last") 兄弟 .next() 标签内容: .text() 包含xx .indexOf("xx") 获取属性 .a ...
分类:Web程序   时间:2019-03-16 09:47:02    阅读次数:185
web常用软件
编辑器: VSCode HBuilder WebStorm NotePad++ Eclipse Atom 常用插件: SwitchyOmega Vue Tools server类: tomcat Nginx IIS服务 http server XAMPP工具 文档类软件: Beyond Compar ...
分类:Web程序   时间:2019-03-16 09:46:22    阅读次数:197
图片合并
using System;using System.Collections.Generic;using System.Drawing;using System.Drawing.Drawing2D;using System.Drawing.Imaging;using System.IO;using S ...
分类:其他好文   时间:2019-03-16 09:46:04    阅读次数:91
css3的2D变形
一、2D变形 1、变形 transform:translate();translateX();translateY();translate(,); 2、过渡 transition:all 1s; 二、具体体现的例子 1、位移的实例 2、缩放 3、旋转 4、倾斜 ...
分类:Web程序   时间:2019-03-16 09:45:32    阅读次数:217
Codeforces 1136 - A/B/C/D/E/F - (Undone)
链接:https://codeforces.com/contest/1136/ A - Nastya Is Reading a Book - [二分] B - Nastya Is Playing Computer Games - [思维题] 题解:我只想说,这道思维题有点东西…… AC代码: ...
分类:其他好文   时间:2019-03-16 09:45:16    阅读次数:181
hashCode
*hash算法 **在数组里进行储存 一个hash指通过哈希算法算出key的值,并为在数组储存的位置,储存位置是随机放置,数组默认的size是`16 提供hashCode方法 **key与value key就是哈希运算算出,value对于key只是附带的作用 **储存元素 一个key值通过hash算 ...
分类:其他好文   时间:2019-03-16 09:44:34    阅读次数:146
589条   上一页 1 ... 26 27 28 29 30 31 32 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!