码迷,mamicode.com
首页 >  
搜索关键字:starting    ( 1893个结果
最短前缀
Shortest PrefixesDescriptionA prefix of a string is a substring starting at the beginning of the given string. The prefixes of “carbon” are: “c”, “ca”... ...
分类:其他好文   时间:2020-02-06 14:27:50    阅读次数:78
7-21 Counting Leaves (30分)
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: The inpu ...
分类:其他好文   时间:2020-02-04 20:31:43    阅读次数:96
python中yield的用法及生成器的理解
首先我要吐槽一下,看程序的过程中遇见了yield这个关键字,然后百度的时候,发现没有一个能简单的让我懂的,讲起来真TM的都是头头是道,什么参数,什么传递的,还口口声声说自己的教程是最简单的,最浅显易懂的,我就想问没有有考虑过读者的感受。 接下来是正题: 首先,如果你还没有对yield有个初步分认识, ...
分类:编程语言   时间:2020-02-03 13:33:37    阅读次数:80
PHP OOP
``` name) //wrong can not use this as a parameter function __construct($name) //functions starting with __ change and set the value of any attributes ...
分类:Web程序   时间:2020-01-29 21:33:36    阅读次数:87
Fedora 28 设置 VNC
系统为龙芯版社区Fedora28 (床28) Fedora防火墙默认阻止了VNC所需的端口的访问,导致VNC客户端一直无法连接。 安装VNC Server 使用 启动服务 第一次启动会提示需要设定VNC的密码,并生成默认配置文件。后期若想修改VNC用户密码,可使用 命令修改。注意打开的桌面号,为 1 ...
分类:其他好文   时间:2020-01-28 19:29:38    阅读次数:206
利用kubernetes 安装 Kubernetes Dashboard
最近再次学习下k8s,版本已经升级到1.17了,准备部署一下,以下是官方地址 https://github.com/kubernetes/dashboard 接着往下面看 已经很愉快的跑起来了,我们要怎么访问呢? [root@master01 ~]# kubectl proxy --address ...
分类:Web程序   时间:2020-01-22 12:30:20    阅读次数:277
centos7搭建LAMP(yum安装)
一.检查系统环境 1.查看系统版本 查看内核版本 2、检查是否安装过apache rpm -qa | grep httpd 或者: apachectl -v 或者: httpd -v 3、检查是否安装过Mysql service mysqld start 如果未被识别则没有安装 如果系统安装过,或者 ...
分类:其他好文   时间:2020-01-20 13:10:26    阅读次数:86
下载文件.py
from selenium import webdriverimport osfp = webdriver.FirefoxProfile()#保存到指定目录:fp.set_preference("browser.download.folderList",2)#是否显示开始、True为显示、false ...
分类:其他好文   时间:2020-01-19 00:22:47    阅读次数:82
Non-UTF-8 code starting with '\xff'解决,记录
Python 代码编译时提示:SyntaxError: Non-UTF-8 code starting with '\xff' in file convert.py on line 1, but no encoding declared; see http://python.org/dev/peps ...
分类:其他好文   时间:2020-01-16 18:57:00    阅读次数:267
js async03
function resolveAfter2Seconds() { console.log('starting slow promise at:'+ new Date().getSeconds()) return new Promise(resolve => { setTimeout(() => { ...
分类:Web程序   时间:2020-01-16 12:52:26    阅读次数:89
1893条   上一页 1 ... 12 13 14 15 16 ... 190 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!