Python进阶者 Python进阶者
4年前
一文带你解读​JavaScript的引用类型和函数对象
前言相信做网站对JavaScript再熟悉不过了,它是一门脚本语言,不同于Python的是,它是一门浏览器脚本语言,而Python则是服务器脚本语言,我们不光要会Python,还要会JavaScript,因为它对做网页方面是有很大作用的。1.引用类型相当于Java中的类创建实例过程,比如我要创建个对象,可以这样做:varobnewObject();
Wesley13 Wesley13
4年前
java8 四大内置核心函数式接口
 转载自:https://www.cnblogs.com/wuyx/p/9000312.html(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fwuyx%2Fp%2F9000312.html)!(https://img2018.cnblogs
Stella981 Stella981
4年前
MariaDB Installation
安装参考下文http://www.serverworld.info/en/note?osCentOS\_7&pmariadb&f1修改数据目录1\.查看一下SELinux配置\lslZ/var/lib/mysql\rwrw.mysqlmysqlsystem\_u:object\_r:mysqld\_
Stella981 Stella981
4年前
Go 实现字符串相似度计算函数 Levenshtein 和 SimilarText
【转】http://www.syyong.com/Go/GoimplementsthestringsimilaritycalculationfunctionLevenshteinandSimilarText.html(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww
Stella981 Stella981
4年前
PHP,mysql,nginxunx中安装
一:安装PHP,mysql,nginx1linux装软件方式:21.源码安装:下载wget》解压tarzxvf》配置./configure》编译make3安装makeinstall42.yum安装一键安装包centos红帽
Wesley13 Wesley13
4年前
MySQL 5.7 基于 GTID 的主从复制实践
MySQL5.7基于GTID的主从复制实践PostedbyMikeon20170703运维之美(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.hilinux.com%2F)Home
Wesley13 Wesley13
4年前
oracle 聚合函数 LISTAGG ,将多行结果合并成一行
LISTAGG(列名,' 分割符号')oracle11g以上的版本才有的一个将指定列名的多行查询结果,用指定的分割符号 合并成一行显示:例如:表原始数据:!(https://oscimg.oschina.net/oscnet/8ea6493fe801ffe266338444d7e380ac15c.png)需求:将mb1\_Tr
Wesley13 Wesley13
4年前
MySQL客户端连接时 MySql Host is blocked because of many.
错误:Hostisblockedbecauseofmanyconnectionerrors;unblockwith'mysqladminflushhosts'原因:  同一个ip在短时间内产生太多(超过mysql数据库max\_connection\_errors的最大值)中断的数据库连接而导致
Stella981 Stella981
4年前
Python技巧之运行时访问类名和函数名
你可以在运行时获取字符对象名,技巧是使用下划线包裹的属性:Youcangetthenameofanobject'sclassasastring:classMyClass:passobjMyClass()obj.__
Stella981 Stella981
4年前
Python技巧之超棒的内建函数:globals()和locals()
globals()返回一个字典,其包含当前上下文所有的全局变量。locals()干的是一样的活,但返回的"globals()"returnsadictwithallglobalvariablesinthecurrentscope:globals(){...