Leetcode.283 Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero e ...
分类:
编程语言 时间:
2020-07-28 14:38:35
阅读次数:
91
鼠标操作:1、perform():执行 2、context_click():右击 3、double_click():双击 4、drag_and_drop():拖动 5、move_to_element():鼠标悬停 from selenium import webdriver from seleniu ...
分类:
其他好文 时间:
2020-07-28 00:16:43
阅读次数:
77
转自博客:https://www.cnblogs.com/cynthia-wuqian/p/8575401.html 1.MAC设置应用在127.0.0.1:80端口访问: config/index.js目录下修改host和port 然后sudo运行npm run dev:(mac的80端口是被自身 ...
分类:
系统相关 时间:
2020-07-27 17:41:26
阅读次数:
139
打开 PostgreSQL 官网 https://www.postgresql.org/,点击菜单栏上的 Download ,可以看到这里包含了很多平台的安装包,包括 Linux、Windows、Mac OS等 。 Linux 我们可以看到支持 Ubuntu 和 Red Hat 等各个平台,点击具体 ...
分类:
数据库 时间:
2020-07-27 15:53:06
阅读次数:
84
# -*- coding: utf-8 -*- # @Time : 2020/7/26 14:13 # @Author : Breeze # @FileName: 购物车程序.py product_list = [ ("Mac",9000), ("kindle",800), ("tesla",900 ...
分类:
其他好文 时间:
2020-07-27 15:36:49
阅读次数:
63
@author: 庄壮壮 1. 下载FUSE并安装 下载地址:https://osxfuse.github.io/ 2. 安装brew /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew. ...
分类:
Web程序 时间:
2020-07-27 13:57:21
阅读次数:
279
apple 官方文档 https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#//apple_ ...
分类:
移动开发 时间:
2020-07-27 09:52:52
阅读次数:
89
执行ipconfig /all获取主机所有网卡信息并分析这些字符串,提取出有效网卡(网卡名称,mac地址,ipv4地址,掩码,网关,dns)将网卡插入HashMap中,key是网卡的名称,value是网卡对象(包含mac和4个逻辑地址)请输入网卡的名称,程序通过map的get方法取出此名称对应的网卡 ...
分类:
编程语言 时间:
2020-07-27 09:23:51
阅读次数:
118
1-自动化管理电脑文件及文件夹 一、输出目录下所有文件及文件夹 1、获取当前运行目录 import os print(os.getcwd()) 2、关于路径中的斜杠(/)和反斜杠(\) - windows中采用反斜杠(\)作为文件夹之间的分隔符 - Mac和Linux中采用斜杠(/)作为文件夹之间的 ...
分类:
其他好文 时间:
2020-07-26 23:21:24
阅读次数:
132
/etc/login.defs 是设置用户帐号限制的文件。该文件里的配置对root用户无效。优先级低于/etc/shadow里面的配置。 使用vim打开文件 [root@localhost ~]# vim /etc/login.defs # # Please note that the parame ...
分类:
其他好文 时间:
2020-07-26 22:56:50
阅读次数:
65