04 2016 档案

mesos cluster
摘要:http://spark.apache.org/docs/latest/running-on-mesos.html http://stackoverflow.com/questions/19939853/how-to-run-hadoop-on-a-mesos-cluster https://seg 阅读全文

posted @ 2016-04-29 17:34 szllq2000 阅读(367) 评论(0) 推荐(0)

php mysql-pdo,fpm,csrf-forward-money,php7.1 in centos7
摘要:centos7--php7.1http://zixuephp.net/article-207.htmlhttps://www.cnblogs.com/liansng/p/7680930.html php-pdo-mysqlphp -m | grep -i pdo_mysqlhttps://www.c 阅读全文

posted @ 2016-04-29 15:31 szllq2000 阅读(173) 评论(0) 推荐(0)

基于Mesos和Docker的分布式计算平台
摘要:基于Mesos和Docker的分布式计算平台 http://www.csdn.net/article/2015-06-09/2824906 阅读全文

posted @ 2016-04-29 14:44 szllq2000 阅读(161) 评论(0) 推荐(0)

docker desktop
摘要:https://github.com/rogaha/docker-desktop http://blog.csdn.net/tinylab/article/details/45443563 阅读全文

posted @ 2016-04-27 21:32 szllq2000 阅读(257) 评论(0) 推荐(0)

puppeteer,webdriverio, chrome webdriver
摘要:http://www.r9it.com/20171106/puppeteer.html Puppeteer 至少需要 Node v6.4.0,如要使用 async / await,只有 Node v7.6.0 或更高版本才支持 http://www.cnblogs.com/Stephending/p 阅读全文

posted @ 2016-04-27 15:11 szllq2000 阅读(564) 评论(0) 推荐(0)

docker zabbix
摘要:--(use the latest zabbix docker images)-https://hub.docker.com/r/monitoringartist/zabbix-3.0-xxl/ https://github.com/monitoringartist/zabbix-xxl (zabb 阅读全文

posted @ 2016-04-27 11:05 szllq2000 阅读(414) 评论(0) 推荐(0)

docker logspout
摘要:https://hub.docker.com/r/jplock/rsyslog/ docker pull jplock/rsyslog:8.2.2 docker run -d -p 514:514 jplock/rsyslog:8.2.2 https://github.com/gliderlabs/ 阅读全文

posted @ 2016-04-27 09:20 szllq2000 阅读(483) 评论(0) 推荐(0)

openvas-tutorial-for-beginners
摘要:https://jonathansblog.co.uk/openvas-tutorial-for-beginners 阅读全文

posted @ 2016-04-26 18:11 szllq2000 阅读(113) 评论(0) 推荐(0)

https nginx openssl 自签名
摘要:公私钥:公钥可以唯一解密私钥加密过的数据,反之亦然。以下用P指代公钥,V指代私钥。SSL过程:需要两对公私钥(P1,V1),(P2,V2),假设通信双方是A和B,B是服务器,A要确认和它通信的是B:A->B: helloB->A: 用V2加密过的P1(即用户证书,A就用P2解密出P1)A->B: o 阅读全文

posted @ 2016-04-26 14:06 szllq2000 阅读(370) 评论(0) 推荐(0)

git github usage
摘要:以gerrit-trigger-plugin为例,下面的链接都是从相应页面上直接拷贝的。 法一:不用github的账号,打开这个库在github上的主页,运行下面命令即可 read only 运行命令$Git clone https://github.com/jenkinsci/gerrit-tri 阅读全文

posted @ 2016-04-26 11:20 szllq2000 阅读(184) 评论(0) 推荐(0)

Docker Metasploit Framework
摘要:https://hub.docker.com/r/usertaken/metasploit-framework/ docker pull usertaken/metasploit-framework Latest Nmap and Metasploit Framework from GitHub w 阅读全文

posted @ 2016-04-26 09:32 szllq2000 阅读(314) 评论(0) 推荐(0)

docker postgres
摘要:启动一个 Postgres 实例 这个镜像会导出 Postgres 的 5432 端口, 因此通过标准的link机制就可以方便的访问 Postgres 数据库实例。 容器启动时会通过initdb自动创建默认的 postgres用户和数据库。 数据库postgres是可以被用户,工具和第三方应用程序访 阅读全文

posted @ 2016-04-26 09:12 szllq2000 阅读(2188) 评论(0) 推荐(1)

docker openvas
摘要:https://hub.docker.com/r/mikesplain/openvas/ Requirements DockerPorts available: 443, 9390, 9391 Usage Simply run: This will grab the container from t 阅读全文

posted @ 2016-04-26 09:01 szllq2000 阅读(618) 评论(0) 推荐(0)

docker gitlab
摘要:https://www.aswifter.com/2015/06/14/gitlab-with-docker/ (seperate redis, mysql, backup and restore) Docker 官方镜像列表 https://hub.docker.com/explore/ 部署 G 阅读全文

posted @ 2016-04-26 08:53 szllq2000 阅读(194) 评论(0) 推荐(0)

office 2013 activiate---(run as admin)
摘要:win7 office 2013 activiate (run as admin) empty the garbage in osx 阅读全文

posted @ 2016-04-25 17:11 szllq2000 阅读(252) 评论(0) 推荐(0)

kafka-docker----(how to setup http proxy in container??)
摘要:https://github.com/wurstmeister/kafka-docker environment: KAFKA_ADVERTISED_HOST_NAME: 10.10.160.243 KAFKA_ADVERTISED_PORT: 9092 docker-compose -f dock 阅读全文

posted @ 2016-04-25 14:32 szllq2000 阅读(354) 评论(0) 推荐(0)

FW: Dockerfile RUN, CMD & ENTRYPOINT
摘要:Dockerfile RUN, CMD & ENTRYPOINT Dockerfile RUN, CMD & ENTRYPOINT Dockerfile RUN, CMD & ENTRYPOINT 在使用Dockerfile创建image时, 有几条指令比较容易混淆, RUN, CMD, ENTRY 阅读全文

posted @ 2016-04-25 10:18 szllq2000 阅读(365) 评论(0) 推荐(0)

telnet --- no route to host solution "iptables -F " in the target machine
摘要:telnet no route to host solution "iptables -F " in the target machine 阅读全文

posted @ 2016-04-22 18:22 szllq2000 阅读(200) 评论(0) 推荐(0)

openssl update--centos 6.5
摘要:cd /usr/local/src #wget http://www.openssl.org/source/openssl-1.0.1h.tar.gz #tar -zxvf openssl-1.0.1h.tar.gz #cd openssl-1.0.1h #./config shared zlib 阅读全文

posted @ 2016-04-22 15:41 szllq2000 阅读(210) 评论(0) 推荐(0)

FW: Nginx模块开发入门
摘要:前言 Nginx是当前最流行的HTTP Server之一,根据W3Techs的统计,目前世界排名(根据Alexa)前100万的网站中,Nginx的占有率为6.8%。与Apache相比,Nginx在高并发情况下具有巨大的性能优势。 Nginx属于典型的微内核设计,其内核非常简洁和优雅,同时具有非常高的 阅读全文

posted @ 2016-04-22 14:44 szllq2000 阅读(337) 评论(0) 推荐(0)

ubuntu/debian gpg error no_pubkey 解决方法
摘要:GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 阅读全文

posted @ 2016-04-22 09:44 szllq2000 阅读(511) 评论(0) 推荐(0)

docker registry--V2
摘要:https://www.jianshu.com/p/141855241f2d /data0/proxy.registry.d/auth cp xxxx.crt /etc/docker/certs.d/dockerhub.chinaso365.com:5043/ca.crt cp xxxx.crt / 阅读全文

posted @ 2016-04-21 18:10 szllq2000 阅读(186) 评论(0) 推荐(0)

MAC OSX--docker
摘要:http://www.cnblogs.com/yjmyzz/p/docker-install-tutorial.html http://www.cnblogs.com/yjmyzz/p/docker-usage.html 三个大坑: 其一: -v 参数可以只写前面第一部分,-v /Users/yjm 阅读全文

posted @ 2016-04-20 17:34 szllq2000 阅读(511) 评论(0) 推荐(0)

python操作Excel读写--使用xlrd
摘要:一、安装xlrd模块 到python官网下载http://pypi.python.org/pypi/xlrd模块安装,前提是已经安装了python 环境。 二、使用介绍 1、导入模块 import xlrd 2、打开Excel文件读取数据 data = xlrd.open_workbook('exc 阅读全文

posted @ 2016-04-20 10:59 szllq2000 阅读(230) 评论(0) 推荐(0)

PHP开发者常犯的10个MySQL错误
摘要:数据库是WEB大多数应用开发的基础。如果你是用PHP,那么大多数据库用的是MYSQL也是LAMP架构的重要部分。 PHP看起来很简单,一个初学者也可以几个小时内就能开始写函数了。但是建立一个稳定、可靠的数据库确需要时间和经验。下面就是一些这样的经验,不仅仅是MYSQL,其他数据库也一样可以参考。 1 阅读全文

posted @ 2016-04-20 10:57 szllq2000 阅读(154) 评论(0) 推荐(0)

atob, slice,bin2hex,escape
摘要:JS处理二进制数据 http://phpor.net/blog/post/1898 阅读全文

posted @ 2016-04-20 10:44 szllq2000 阅读(197) 评论(0) 推荐(0)

ssh login waiting too much time
摘要:usually dns error, please check /etc/resolv.conf 阅读全文

posted @ 2016-04-20 09:30 szllq2000 阅读(125) 评论(0) 推荐(0)

python scrapy,beautifulsoup,regex,sgmparser,request,connection
摘要:In [2]: import requests In [3]: s = requests.Session() In [4]: s.headers 如果你是爬虫相关的业务?抓取的网站还各种各样,每个服务器的地址都不一样,那么你不适用于我上面的方法,而是需要把Connection给关闭. 当然还是看场景 阅读全文

posted @ 2016-04-19 15:56 szllq2000 阅读(188) 评论(0) 推荐(0)

如何查看python的api
摘要:如何查看python selenium的api 经常发现很多同学装好了python+selenium webdriver开发环境后不知道怎么去查看api文档,在这里乙醇简单介绍一下具体方法,其实非常简单。 首先打开命令行,在dos窗口输入: 1 python -m pydoc -p 4567 简单解 阅读全文

posted @ 2016-04-19 11:23 szllq2000 阅读(3079) 评论(0) 推荐(0)

jenkins, docker-composer
摘要:http://ju.outofmemory.cn/entry/240867 阅读全文

posted @ 2016-04-19 11:20 szllq2000 阅读(286) 评论(0) 推荐(0)

php pass-by-reference deprecated &$-->$
摘要:就要喷php5的Call-time pass-by-reference has been removed 阅读全文

posted @ 2016-04-19 11:12 szllq2000 阅读(174) 评论(0) 推荐(0)

showslow / YSlow for PhantomJS/slimerjs(gecko)/phantomas
摘要:http://yslow.org/phantomjs/ http://www.bstester.com/2015/12/front-end-performance-using-jenkinsphantomas-automated-testing http://www.bstester.com/201 阅读全文

posted @ 2016-04-18 16:37 szllq2000 阅读(203) 评论(0) 推荐(0)

FW qunit introduction
摘要:自动化测试软件对于开发来说是一个很重要的工具,而单元测试对于自动化测试来说是基本组成部分:软件的每一个组件或者单元可以在非人工介入的情况下,使用测试工具一遍遍的重复执行。换句话说,就是你可以写一次测试,然后不用付出额外成本的任意执行多次。 除了测试覆盖率带来的好处外,测试还可以指导软件设计,这就是T 阅读全文

posted @ 2016-04-18 10:25 szllq2000 阅读(205) 评论(0) 推荐(0)

FW: AMD, CMD, CommonJS和UMD
摘要:javascript 我是豆腐不是渣 4月5日发布 推荐 2 推荐 收藏 32 收藏,486 浏览 javascript 我是豆腐不是渣 4月5日发布 推荐 2 推荐 收藏 32 收藏,486 浏览 javascript 我是豆腐不是渣 4月5日发布 推荐 2 推荐 收藏 32 收藏,486 浏览 阅读全文

posted @ 2016-04-13 18:12 szllq2000 阅读(297) 评论(0) 推荐(0)

nodejs unit test related----faker-cli, sinonjs, mock/stub
摘要:http://www.tuicool.com/articles/rAnaYvn http://www.tuicool.com/articles/Y73aYn (contrast stub and mock in java )http://www.cnblogs.com/TankXiao/archiv 阅读全文

posted @ 2016-04-13 14:27 szllq2000 阅读(496) 评论(0) 推荐(0)

shell 字符串截取
摘要:截取字符串的方法一共有八种,主要为以下方法 阅读全文

posted @ 2016-04-12 10:37 szllq2000 阅读(252) 评论(0) 推荐(0)

express, mocha, supertest,istanbul
摘要:引子 有群友问到Express怎么做 单元测试/覆盖率测试,这是上篇所遗漏的,特此补上 Express Web测试 做 Express Web 测试首先要面对的问题是在哪端进行测试: 客户端的请求响应测试是黑盒,需要预启动站点,且无法附加覆盖率测试 服务端的单元测试需要 Mock ,可附加覆盖率测试 阅读全文

posted @ 2016-04-08 17:06 szllq2000 阅读(810) 评论(0) 推荐(0)

Qunit 和 jsCoverage使用方法(js单元测试)
摘要:Qunit 和 jsCoverage使用方法(js单元测试) 近日在网上浏览过很多有关js单元测试相关的文档,工具,但是,针对Qunit 和 jsCoverage使用方法,缺少详细说明,对于初入前端的人来说,很难明白其中的意思,特此整理这篇文章,希望能够减少大家学习Qunit 和 jsCoverag 阅读全文

posted @ 2016-04-08 16:33 szllq2000 阅读(514) 评论(0) 推荐(0)

jsp tutorial
摘要:http://blog.csdn.net/JavaEETeacher/article/details/1932447 阅读全文

posted @ 2016-04-08 11:43 szllq2000 阅读(116) 评论(0) 推荐(0)

Unicode 和 UTF-8 是什么关系?
摘要:2015-10-14 10:08 评论: 9 收藏: 4 转载自: http://huoding.com/2015/10/13/472作者: 火丁笔记本文地址:https://linux.cn/article-6400-1.html 2015-10-14 10:08 评论: 9 收藏: 4 转载自: 阅读全文

posted @ 2016-04-08 10:17 szllq2000 阅读(265) 评论(0) 推荐(0)

wget -d --header
摘要:wget -d --header="Host:www.sina.com" http://202.108.33.84 domain differ ip 防止Wget递归下载 假设Nginx默认配置文件所在目录:/usr/local/nginx/conf/vhostwget的默认User Agent是G 阅读全文

posted @ 2016-04-07 16:51 szllq2000 阅读(7876) 评论(0) 推荐(0)

python array
摘要:python中通常情况下for循环会枚举各个元素不会访问下标,例如: 但是有时候我们会需要在便利数组的同时访问下标,这时候可以借助于enumerate函数来实现,例如: 阅读全文

posted @ 2016-04-06 17:24 szllq2000 阅读(205) 评论(0) 推荐(0)

responsive and functional programming RxJava
摘要:RxJava由于使用了多个回调,一开始理解起来可能有点难度,其实多看几遍也就明白了,它的招式套路都是一样的: 首先就是创建Observable,创建Observable有很多种方式,这里使用了Observable.create的方式;Observable.create()需要传入一个参数,这个参数其 阅读全文

posted @ 2016-04-06 09:51 szllq2000 阅读(158) 评论(0) 推荐(0)

travis ci
摘要:http://www.cnblogs.com/huang0925/archive/2013/05/30/3108370.html Travis CI的官网介绍是: A hosted continuous integration service for the open source communit 阅读全文

posted @ 2016-04-05 17:47 szllq2000 阅读(174) 评论(0) 推荐(0)

windows python easy_install ,pip. selenium
摘要:http://www.cnblogs.com/fnng/p/3157639.html 搭建平台windows 准备工具如下: unknown encoding: cp65001异常 python安装后进入命令行交互模式,输入任何代码都报unknown encoding: cp65001异常 需要将编 阅读全文

posted @ 2016-04-05 14:52 szllq2000 阅读(326) 评论(0) 推荐(0)

FW: git internal
摘要:Git 内部原理 不管你是从前面的章节直接跳到了本章,还是读完了其余各章一直到这,你都将在本章见识 Git 的内部工作原理和实现方式。我个人发现学习这些内容对于理解 Git 的用处和强大是非常重要的,不过也有人认为这些内容对于初学者来说可能难以理解且过于复杂。正因如此我把这部分内容放在最后一章,你在 阅读全文

posted @ 2016-04-03 17:50 szllq2000 阅读(626) 评论(0) 推荐(0)

js function,prototype,sub.
摘要:Ojbect 和Function 与普通函数和实例对象 1.实例对象的proto 指向构造函数的原型对象 2.实例对象的proto 指向Ojbect的原型 3.所有函数的proto 都指向Function的原型 function定义的对象有一个prototype属性,使用new生成的对象就没有这个p 阅读全文

posted @ 2016-04-01 14:51 szllq2000 阅读(261) 评论(0) 推荐(0)

php accumulation rockmongo
摘要:php -r 'echo substr(sprintf("%o",fileperms("./")),-4);' 阅读全文

posted @ 2016-04-01 10:44 szllq2000 阅读(119) 评论(0) 推荐(0)