自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

WHACKW的专栏

测试相关,尽量做到比开发与运维还要牛

  • 博客(11)
  • 资源 (8)
  • 收藏
  • 关注

转载 linux系统用遇到Another app is currently holding the yum lock问题的解决方法

问题描述】CentOs系统中使用yum安装软件,出现如下错误[root@localhost ~]# yum install gnuradio usrpLoaded plugins: fastestmirrorExisting lock /var/run/yum.pid: another copy is running as pid 15069.Another app is curr

2017-07-28 17:18:34 1389

转载 awk/grep立马刷缓存

1、grep 加入选项 --line-buffered     tail -f /opt/log/master.log |grep '^29-.*成功' --line-buffered | ./1.awk | tee re3.txt &2、 awk '{awk_scripts; fflush(); }' ; 调用 ffush();

2017-07-28 17:09:56 1639

转载 JavaScript replace()

定义和用法replace() 方法用于在字符串中用一些字符替换另一些字符,或替换一个与正则表达式匹配的子串。语法stringObject.replace(regexp/substr,replacement)参数描述regexp/substr必需。规定子字符串或要替换的模式的 RegExp 对象。请注意,如果该值是一个字

2017-07-19 13:40:23 391

原创 td内容过长table被撑开

table表格宽度固定,同时td内容过长也不会被撑开,设置如下css:table{table-layout:fixed;word-break:break-all;}overflow: hidden;white-space: nowrap;text-overflow: ellipsis;

2017-07-17 15:26:23 6538

转载 js格式化json/xml格式

//格式化代码函数,已经用原生方式写好了不需要改动,直接引用就好    var formatJson = function (json, options) {        var reg = null,                formatted = '',                pad = 0,                PADDING = '   

2017-07-17 15:01:43 1037

原创 python新类和经典类__init__

新类class Animal(object):    def __init__(self, name):        self.name = name     def saySomething(self):        print("I am " + self.name) class Dog(Animal):    def __init__(self,

2017-07-14 15:39:51 296

转载 Android各版本代号/版本号/API级别

代号版本号API/NDK级别发布时间-O8.0API level 262017-3-21牛轧糖Nougat7.1.1API level 252016-107.0API level 24

2017-07-13 16:51:23 15811

原创 golang mongodb upsert

//UpsertPhoneInterfacefunc UpsertPhoneInterface(_query, update bson.M) (errerror) {    query := func(c *mgo.Collection) error {        _, err = c.Upsert(_query, update)        return err

2017-07-13 15:01:52 2905

原创 golang mongodb Aggregate

q := []bson.M{        {"$group": bson.M{            "_id": bson.M{"sessionid":"$sessionid"},            "sessionid": bson.M{"$first":"$sessionid"},            "des": bson.M{"$first":"$de

2017-07-13 14:53:51 3332

转载 URL.createObjectURL和URL.revokeObjectURL

一.URL.createObjectURL URL.createObjectURL()方法会根据传入的参数创建一个指向该参数对象的URL. 这个URL的生命仅存在于它被创建的这个文档里. 新的对象URL指向执行的File对象或者是Blob对象. 语法: objectURL = URL.createObjectURL(blob || file); 

2017-07-04 14:31:13 595

转载 利用proxychains在终端使用socks5代理

1.proxychains安装123456git clone https://github.com/rofl0r/proxychains-ng.gitcd proxychains-ng./configuremake && make installcp ./src/proxychains.conf /etc/proxychains.confcd

2017-07-04 11:27:06 2553

android.xposed

android.xposed

2016-09-27

iOS SSL Kill

support for iOS 7

2016-09-27

jd-gui for mac

jd-gui for mac .dmg

2015-04-20

Mounty- write and read disk

Mounty,can write and read disk

2015-04-17

ADBlock for chrome mac

ADBlock for chrome mac

2015-04-17

ADBlock for safari mac

ADBlock for safari mac

2015-04-17

ExtJS实用开发指南

ExtJS实用开发指南,适于对EXTJS感兴趣且想很快上手但是又有距离者。

2011-03-29

高级Ajax服务器控件开发

高级Ajax服务器控件开发,适合想再进一步学ajax者!

2011-03-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除