Home
Wade Tester
Cancel

测试你的titaniumtestingyourtitaniumproject

refer to:  http://tonylukasavage.com/ti-mocha/ 未完成

一点点git的分支知识(moreaboutgitbranch

$ git branch -a 的结果: ( this morning, I ran a GIT command and got its result: ) sg552@youku:/sg552/workspace/m-cms$ git branch -a clean_cache * master siwei_branch remotes/origin/HEAD -> ...

Linux Trojan Proxy V2raydesktop代理翻墙梯子kali全局代理

https://github.com/Dr-Incognito/V2Ray-Desktop/releases 也许以后用得到 kali 全局代理,看这个: https://www.imangie.com/goods/643.html/comment-page-1

Git 使用sock5s代理下载github的内容gitproxysocks5

参考: https://stackoverflow.com/questions/15227130/using-a-socks-proxy-with-git-for-the-http-transport #[http]# proxy = https://127.0.0.1:1080#[https]# proxy = https://127.0.0.1:1080# 改成下面这个就可以...

Merge与base的优缺点gitmergevsrebase

看这里: http://www.jarrodspillers.com/2009/08/19/git-merge-vs-git-rebase-avoiding-rebase-hell/ Conclusion: Merge works great, but creates lots of empty merge commits when you are working on a team....

关于dns配置的测试testingyourdnsconfig

DNS 的速度直接关系到网站的打开速度.  这些日子我发现自己的域名( siwei.me ) 打开的速度比较慢,有时候还打不开. 公司负责的一个项目也出现了同样的问题.  后来发现是国内无法访问 godaddy 的域名服务器造成的.   (参考: http://www.dnsgua.com/) 所以DNS配置后,检查是否生效就很重要.  比如,我今天...

无线app自动化测试工具的比较comparisonaboutmobileappautomationtesttools

主要参考: http://www.cnblogs.com/zzzhuxf/p/3860647.html 在web 开发中,测试工具是 selenium.  通杀所有语言。还有各个语言单独的自动化测试组件。 但是都不如selenium这位大哥。 在mobile app开发中,测试工具主要有下面几种: 1. selenium for android 2. robotium 3. ap...

使用kuaidaili+proxifier来切换代理ip

1. 快代理上可以按量购买ip, 也可以包月包周 2. 快代理上有  普通ip, 隧道, VPN等等 3. proxifier 切换全局ip 可以实现多个IP替换 以上。

Linux Grep的模式和使用方法 Patterns

查看某个日志中的数字  dddd - dddddd ms 这样的模式。 cat cms_production_2013-02-20.log | grep 'in [0-9]\{4,6\}ms' find ' in xxxms' logs. 多模式查询  grep -e 条件1 -e 条件2   . -r (在当前目录下查询 两个条件的字符串) 反...

Windows Proxifier的安装和使用:进行全局代理的设置globalproxychainproxyloadbalancing

参考: https://blog.csdn.net/sinat_36306474/article/details/79798881 太强大了。 安装特别简单。 随便找个下载,安装,然后输入序列号即可。 在序列号的界面, 用户名随便填。  JCZBX-A3N3F-9DWY5-327V5-DKUXXLPZLA-FW4R4-NV52E-Q9RYW-PH3ZY 2023-2-23 更新:...

Rails中如何测试privatemethodhowtotestprivatemethodsinrails

modify your spec_helper.rb and add the code below: # for testing the private method. # EXAMPLE: # describe_private User do # describe "about the role-permission" do # it "should ..." ...

Github的顶级项目topprojectsongithub

https://github.com/search?l=&p=1&q=stars:%22%3E+500%22&ref=advsearch&type=Repositories

Svn到git的转换(convertingsvntogit)

1. sudo apt-get install git-svn   (make sure you have the 'git svn' installed )  2. First you have to create a file that maps your Subversion commit author names to Git commiter...

运行单元测试angularseedinangular

refer to: https://github.com/angular/angular-seed 1. install npm : http://nodejs.org/download/直接下载就可以了(苹果) 2. 安装 karma sudo npm install -g karma 3. 参考angular-seed的测试

Linux 让ssh保持不断线(自动重连)keepalive不掉线ssh_config

参考: https://www.cnblogs.com/chloneda/p/ssh-connect.html server端: vim /etc/ssh/ssh_config 增加下面2行 ServerAliveInterval 10ServerAliveCountMax 999 即可。 (10秒钟心跳一次) sudo service ssh restart client端: vim ...

Hacker Libssh漏洞2018

在安装了老版本的第三方包 libssh 的机器上可以使用。 ldconfig -p | grep libssh  就可以得知本机是否安装。 运行:$ python3 connect.py baji.sweetysoft.com 2222 'df -kh' #!/usr/bin/env python3 import sys import paramiko import socket...

建立gitolitesettingupgitoliteserver

gitosis 是比较古老的的GIT server。 我今天早上弄了一下,发现官方的文档很不好用啊亲!自己之前成功的搭建过,今天居然不行。搜索了一下,发现官方承认他们文档欠缺,而且网上的声音也认为它失效很久了(long-defunct ) 。大家都用 gitolite 来搭建GIT 服务。而且GITOLITE的GITHUB关注度是 4000+, GITOSIS 400。 所以,我打算用git...

Runseleniuminubuntuserverubuntuserver中运行selenium

看来遇到这个问题的人还不少。 之前我只在 centos 上跑过 selenium, 那个centos 版本自动待了xwindows. 而ubuntu server 是不带的。所以google了一下。 参考这个文章:  http://www.alittlemadness.com/2008/03/05/running-selenium-headless/ 1.  apt-g...

建立个简单的gitservergitosisgitosissettingupagitserverwithoutcomplexauthorization

注意: Gitosis 已经过时了,貌似不再维护。建议使用 gitolite. ( gitosis is long-defunct , let's use gitolite instead ) . 所以我安装到倒数第二步的时候就放弃了。 参考: http://engineeredweb.com/blog/10/2/building-your-own-git-server/ 如果每个核心...

Rubyseleniumgemselenium Webdriver复制过来的文档)

 官方文档挂了,所以我就复制过来了。看起来很有效。( copied from other site because it seems that we can't access its official site from China mainland )  Introduction The Ruby bindings for Selenium/WebDriver...